Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/akornor/playlistor
/ functions
Functions
131 in github.com/akornor/playlistor
⨍
Functions
131
◇
Types & classes
27
↓ 19 callers
Method
_make_request
( self, method, endpoint, base_path=None, params=None, payload=None )
main/client.py:77
↓ 10 callers
Function
get_secret
(name, default=None)
playlistor/base_settings.py:7
↓ 5 callers
Method
search_track
( self, query: str, limit: int = 10, storefront: str = None )
main/services.py:198
↓ 5 callers
Method
to_dict
Convert to dictionary, useful for serialization
main/data_models.py:34
↓ 4 callers
Function
isSpotifyPlaylistURL
(url)
main/static/js/main.js:190
↓ 4 callers
Function
resetButton
()
main/static/js/main.js:209
↓ 3 callers
Function
pairwise_max
Find maximum similarity score between elements of two lists
main/matching.py:5
↓ 3 callers
Function
parse_track_name
Parse a track title into main title and featured artists. Returns: dict: Contains 'title' and 'featured_artists' keys
main/utils.py:143
↓ 3 callers
Method
raw_to_track
(self, raw: dict)
main/services.py:138
↓ 3 callers
Method
search
https://developer.apple.com/library/content/documentation/NetworkingInternetWeb/Conceptual/AppleMusicWebServicesReference/Searchforresources.html#//ap
main/client.py:129
↓ 3 callers
Method
test
https://api.music.apple.com/v1/test https://developer.apple.com/documentation/applemusicapi/getting_keys_and_creating_tokens
main/client.py:382
↓ 3 callers
Function
track_similarity
(track1, track2)
main/matching.py:37
↓ 3 callers
Method
user_playlist_create
Params: `name` <str> `description` <str> `track_ids` <list(<str>, ...)> # TODO: Example(s) of
main/client.py:215
↓ 2 callers
Method
_build_tracks
(self, track_ids, track_type=TRACK_TYPE_SONGS)
main/client.py:124
↓ 2 callers
Method
_get_auth_headers
(self)
main/client.py:43
↓ 2 callers
Function
generate_auth_token
()
main/utils.py:93
↓ 2 callers
Function
get_redis_client
()
main/utils.py:86
↓ 2 callers
Function
get_spotify_client
()
main/utils.py:64
↓ 2 callers
Function
grouper
(n, iterable)
main/utils.py:74
↓ 2 callers
Function
incr_playlist_counter
()
main/counters.py:6
↓ 2 callers
Function
isAppleMusicPlaylistURL
(url)
main/static/js/main.js:194
↓ 2 callers
Function
isSupportedPlaylistURL
(url)
main/static/js/main.js:198
↓ 2 callers
Function
raiseForStatus
(response)
main/static/js/main.js:237
↓ 2 callers
Method
raw_to_track
(self, raw: dict)
main/services.py:234
↓ 2 callers
Function
requests_retry_session
( retries=3, backoff_factor=1, status_forcelist=(429, 500, 502, 503, 504), session=None, )
main/utils.py:43
↓ 2 callers
Function
search_with_quality_fallbacks
(service, source_track)
main/tasks.py:64
↓ 2 callers
Function
strip_qs
(url)
main/utils.py:109
↓ 2 callers
Function
validate_playlist_url
(pattern, url, platform)
main/utils.py:184
↓ 1 callers
Method
_build_track
https://developer.apple.com/documentation/applemusicapi/libraryplaylistrequesttrack
main/client.py:120
↓ 1 callers
Method
_generate_developer_token
(self, team_id, key_id, private_key)
main/client.py:55
↓ 1 callers
Method
_request_method
(self, method)
main/client.py:68
↓ 1 callers
Function
album_similarity
(album1, album2)
main/matching.py:44
↓ 1 callers
Function
aliased_string_similarity
(s1, s2)
main/matching.py:33
↓ 1 callers
Function
are_tracks_same
(track1, track2, threshold=0.7)
main/matching.py:92
↓ 1 callers
Function
artists_similarity
(artists1, artists2)
main/matching.py:39
↓ 1 callers
Function
check_config
()
main/utils.py:114
↓ 1 callers
Method
create_playlist
( self, name: str, description: str = None, track_ids: List[str] = None )
main/services.py:116
↓ 1 callers
Method
create_playlist
( self, name: str, description: str = None, track_ids: List[str] = None )
main/services.py:212
↓ 1 callers
Function
displaySpinner
()
main/static/js/main.js:213
↓ 1 callers
Function
expandURL
(shortenedURL)
main/static/js/main.js:242
↓ 1 callers
Function
extract_apple_music_playlist_info
(url)
main/utils.py:36
↓ 1 callers
Function
extract_spotify_playlist_id
(url)
main/utils.py:29
↓ 1 callers
Function
find_best_match
(source_track, search_results)
main/tasks.py:52
↓ 1 callers
Function
getDestinationPlatform
(url)
main/static/js/main.js:219
↓ 1 callers
Function
get_applemusic_client
()
main/utils.py:68
↓ 1 callers
Function
get_from_file_if_exists
(path: str)
playlistor/base_settings.py:11
↓ 1 callers
Method
get_playlist
Fetch Apple Music playlist data
main/services.py:49
↓ 1 callers
Method
get_playlist
(self, playlist_id: str, storefront: str = None)
main/services.py:169
↓ 1 callers
Function
get_playlist_count
()
main/counters.py:10
↓ 1 callers
Method
get_songs_by_isrc
https://developer.apple.com/documentation/applemusicapi/get_multiple_catalog_songs_by_isrc
main/client.py:166
↓ 1 callers
Function
get_version
()
main/utils.py:177
↓ 1 callers
Function
is_valid_url
main/static/js/main.js:176
↓ 1 callers
Function
length_similarity
(length_sec_1, length_sec_2)
main/matching.py:47
↓ 1 callers
Function
main
()
manage.py:6
↓ 1 callers
Function
maybeExpandURL
(url)
main/static/js/main.js:229
↓ 1 callers
Function
monthDiff
(d1, d2)
main/static/js/main.js:182
↓ 1 callers
Method
next
https://developer.apple.com/library/content/documentation/NetworkingInternetWeb/Conceptual/AppleMusicWebServicesReference/RelationshipsandPagination.h
main/client.py:109
↓ 1 callers
Function
onError
(progressBarElement, progressBarMessageElement, excMessage)
main/static/js/main.js:111
↓ 1 callers
Function
resetProgressBar
()
main/static/js/main.js:203
↓ 1 callers
Method
search_track_by_isrc
( self, isrc: str, limit: int = 10, storefront: str = None )
main/services.py:206
↓ 1 callers
Method
user_playlist_add_tracks
https://developer.apple.com/documentation/applemusicapi/add_tracks_to_library_playlist
main/client.py:272
↓ 1 callers
Function
validate_apple_music_playlist_url
(url)
main/utils.py:191
↓ 1 callers
Function
validate_spotify_playlist_url
(url)
main/utils.py:195
Method
__call__
(self, request)
main/middleware.py:8
Method
__init__
(self, get_response)
main/middleware.py:5
Method
__init__
( self, team_id, key_id, private_key, access_token=None, base_
main/client.py:24
Method
__init__
(self, access_token: Optional[str] = None)
main/services.py:44
Method
__init__
(self)
main/services.py:166
Method
__init__
(self, http_status, code, msg, reason=None, headers=None)
main/exceptions.py:2
Method
__str__
(self)
main/services.py:160
Method
__str__
(self)
main/services.py:245
Method
__str__
(self)
main/exceptions.py:13
Method
__str__
(self)
main/models.py:13
Method
__str__
(self)
main/models.py:35
Method
access_token
(self)
main/client.py:99
Method
add_arguments
(self, parser)
main/management/commands/delete_stale_playlists.py:8
Function
add_subscriber
(request)
main/views.py:87
Function
ads_txt
(request)
main/views.py:97
Method
albums
Return album as list for compatibility with similarity functions
main/data_models.py:30
Function
before_send
(event, hint)
playlistor/prod_settings.py:11
Function
cache_with_key
(keyfunc, timeout)
main/cache.py:6
Function
callback
(request)
main/views.py:29
Method
create_playlist
Create a new playlist and return its ID
main/services.py:35
Function
decorator
(func)
main/cache.py:7
Function
default_context
(request)
main/context_processors.py:6
Function
expand
(request)
main/views.py:74
Function
func_with_caching
(*args, **kwargs)
main/cache.py:9
Function
generate_applemusic_playlist
(self, url, access_token)
main/tasks.py:158
Function
generate_spotify_playlist
(self, url)
main/tasks.py:98
Method
get_genre
https://developer.apple.com/library/content/documentation/NetworkingInternetWeb/Conceptual/AppleMusicWebServicesReference/GetaSingleGenres.html#//appl
main/client.py:195
Method
get_genres
https://developer.apple.com/library/content/documentation/NetworkingInternetWeb/Conceptual/AppleMusicWebServicesReference/GetMultipleGenres.html#//app
main/client.py:206
Method
get_playlist
https://developer.apple.com/library/content/documentation/NetworkingInternetWeb/Conceptual/AppleMusicWebServicesReference/GetaSinglePlaylist.html#//ap
main/client.py:175
Method
get_playlist
Fetch playlist data and return as unified Playlist object
main/services.py:19
Method
get_playlists
https://developer.apple.com/library/content/documentation/NetworkingInternetWeb/Conceptual/AppleMusicWebServicesReference/GetMultiplePlaylists.html#//
main/client.py:186
Method
get_song
https://developer.apple.com/documentation/applemusicapi/get_a_catalog_song
main/client.py:146
Method
get_songs
https://developer.apple.com/documentation/applemusicapi/get_multiple_catalog_songs_by_id
main/client.py:157
Method
handle
(self, *args, **options)
main/management/commands/runworker.py:14
Method
handle
(self, *args, **options)
main/management/commands/delete_stale_playlists.py:13
Function
index
(request)
main/views.py:123
Method
length
Duration in seconds
main/data_models.py:25
next →
1–100 of 131, ranked by callers