MCPcopy Create free account

hub / github.com/akornor/playlistor / functions

Functions131 in github.com/akornor/playlistor

↓ 19 callersMethod_make_request
( self, method, endpoint, base_path=None, params=None, payload=None )
main/client.py:77
↓ 10 callersFunctionget_secret
(name, default=None)
playlistor/base_settings.py:7
↓ 5 callersMethodsearch_track
( self, query: str, limit: int = 10, storefront: str = None )
main/services.py:198
↓ 5 callersMethodto_dict
Convert to dictionary, useful for serialization
main/data_models.py:34
↓ 4 callersFunctionisSpotifyPlaylistURL
(url)
main/static/js/main.js:190
↓ 4 callersFunctionresetButton
()
main/static/js/main.js:209
↓ 3 callersFunctionpairwise_max
Find maximum similarity score between elements of two lists
main/matching.py:5
↓ 3 callersFunctionparse_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 callersMethodraw_to_track
(self, raw: dict)
main/services.py:138
↓ 3 callersMethodsearch
https://developer.apple.com/library/content/documentation/NetworkingInternetWeb/Conceptual/AppleMusicWebServicesReference/Searchforresources.html#//ap
main/client.py:129
↓ 3 callersMethodtest
https://api.music.apple.com/v1/test https://developer.apple.com/documentation/applemusicapi/getting_keys_and_creating_tokens
main/client.py:382
↓ 3 callersFunctiontrack_similarity
(track1, track2)
main/matching.py:37
↓ 3 callersMethoduser_playlist_create
Params: `name` <str> `description` <str> `track_ids` <list(<str>, ...)> # TODO: Example(s) of
main/client.py:215
↓ 2 callersMethod_build_tracks
(self, track_ids, track_type=TRACK_TYPE_SONGS)
main/client.py:124
↓ 2 callersMethod_get_auth_headers
(self)
main/client.py:43
↓ 2 callersFunctiongenerate_auth_token
()
main/utils.py:93
↓ 2 callersFunctionget_redis_client
()
main/utils.py:86
↓ 2 callersFunctionget_spotify_client
()
main/utils.py:64
↓ 2 callersFunctiongrouper
(n, iterable)
main/utils.py:74
↓ 2 callersFunctionincr_playlist_counter
()
main/counters.py:6
↓ 2 callersFunctionisAppleMusicPlaylistURL
(url)
main/static/js/main.js:194
↓ 2 callersFunctionisSupportedPlaylistURL
(url)
main/static/js/main.js:198
↓ 2 callersFunctionraiseForStatus
(response)
main/static/js/main.js:237
↓ 2 callersMethodraw_to_track
(self, raw: dict)
main/services.py:234
↓ 2 callersFunctionrequests_retry_session
( retries=3, backoff_factor=1, status_forcelist=(429, 500, 502, 503, 504), session=None, )
main/utils.py:43
↓ 2 callersFunctionsearch_with_quality_fallbacks
(service, source_track)
main/tasks.py:64
↓ 2 callersFunctionstrip_qs
(url)
main/utils.py:109
↓ 2 callersFunctionvalidate_playlist_url
(pattern, url, platform)
main/utils.py:184
↓ 1 callersMethod_build_track
https://developer.apple.com/documentation/applemusicapi/libraryplaylistrequesttrack
main/client.py:120
↓ 1 callersMethod_generate_developer_token
(self, team_id, key_id, private_key)
main/client.py:55
↓ 1 callersMethod_request_method
(self, method)
main/client.py:68
↓ 1 callersFunctionalbum_similarity
(album1, album2)
main/matching.py:44
↓ 1 callersFunctionaliased_string_similarity
(s1, s2)
main/matching.py:33
↓ 1 callersFunctionare_tracks_same
(track1, track2, threshold=0.7)
main/matching.py:92
↓ 1 callersFunctionartists_similarity
(artists1, artists2)
main/matching.py:39
↓ 1 callersFunctioncheck_config
()
main/utils.py:114
↓ 1 callersMethodcreate_playlist
( self, name: str, description: str = None, track_ids: List[str] = None )
main/services.py:116
↓ 1 callersMethodcreate_playlist
( self, name: str, description: str = None, track_ids: List[str] = None )
main/services.py:212
↓ 1 callersFunctiondisplaySpinner
()
main/static/js/main.js:213
↓ 1 callersFunctionexpandURL
(shortenedURL)
main/static/js/main.js:242
↓ 1 callersFunctionextract_apple_music_playlist_info
(url)
main/utils.py:36
↓ 1 callersFunctionextract_spotify_playlist_id
(url)
main/utils.py:29
↓ 1 callersFunctionfind_best_match
(source_track, search_results)
main/tasks.py:52
↓ 1 callersFunctiongetDestinationPlatform
(url)
main/static/js/main.js:219
↓ 1 callersFunctionget_applemusic_client
()
main/utils.py:68
↓ 1 callersFunctionget_from_file_if_exists
(path: str)
playlistor/base_settings.py:11
↓ 1 callersMethodget_playlist
Fetch Apple Music playlist data
main/services.py:49
↓ 1 callersMethodget_playlist
(self, playlist_id: str, storefront: str = None)
main/services.py:169
↓ 1 callersFunctionget_playlist_count
()
main/counters.py:10
↓ 1 callersMethodget_songs_by_isrc
https://developer.apple.com/documentation/applemusicapi/get_multiple_catalog_songs_by_isrc
main/client.py:166
↓ 1 callersFunctionget_version
()
main/utils.py:177
↓ 1 callersFunctionis_valid_url
main/static/js/main.js:176
↓ 1 callersFunctionlength_similarity
(length_sec_1, length_sec_2)
main/matching.py:47
↓ 1 callersFunctionmain
()
manage.py:6
↓ 1 callersFunctionmaybeExpandURL
(url)
main/static/js/main.js:229
↓ 1 callersFunctionmonthDiff
(d1, d2)
main/static/js/main.js:182
↓ 1 callersMethodnext
https://developer.apple.com/library/content/documentation/NetworkingInternetWeb/Conceptual/AppleMusicWebServicesReference/RelationshipsandPagination.h
main/client.py:109
↓ 1 callersFunctiononError
(progressBarElement, progressBarMessageElement, excMessage)
main/static/js/main.js:111
↓ 1 callersFunctionresetProgressBar
()
main/static/js/main.js:203
↓ 1 callersMethodsearch_track_by_isrc
( self, isrc: str, limit: int = 10, storefront: str = None )
main/services.py:206
↓ 1 callersMethoduser_playlist_add_tracks
https://developer.apple.com/documentation/applemusicapi/add_tracks_to_library_playlist
main/client.py:272
↓ 1 callersFunctionvalidate_apple_music_playlist_url
(url)
main/utils.py:191
↓ 1 callersFunctionvalidate_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
Methodaccess_token
(self)
main/client.py:99
Methodadd_arguments
(self, parser)
main/management/commands/delete_stale_playlists.py:8
Functionadd_subscriber
(request)
main/views.py:87
Functionads_txt
(request)
main/views.py:97
Methodalbums
Return album as list for compatibility with similarity functions
main/data_models.py:30
Functionbefore_send
(event, hint)
playlistor/prod_settings.py:11
Functioncache_with_key
(keyfunc, timeout)
main/cache.py:6
Functioncallback
(request)
main/views.py:29
Methodcreate_playlist
Create a new playlist and return its ID
main/services.py:35
Functiondecorator
(func)
main/cache.py:7
Functiondefault_context
(request)
main/context_processors.py:6
Functionexpand
(request)
main/views.py:74
Functionfunc_with_caching
(*args, **kwargs)
main/cache.py:9
Functiongenerate_applemusic_playlist
(self, url, access_token)
main/tasks.py:158
Functiongenerate_spotify_playlist
(self, url)
main/tasks.py:98
Methodget_genre
https://developer.apple.com/library/content/documentation/NetworkingInternetWeb/Conceptual/AppleMusicWebServicesReference/GetaSingleGenres.html#//appl
main/client.py:195
Methodget_genres
https://developer.apple.com/library/content/documentation/NetworkingInternetWeb/Conceptual/AppleMusicWebServicesReference/GetMultipleGenres.html#//app
main/client.py:206
Methodget_playlist
https://developer.apple.com/library/content/documentation/NetworkingInternetWeb/Conceptual/AppleMusicWebServicesReference/GetaSinglePlaylist.html#//ap
main/client.py:175
Methodget_playlist
Fetch playlist data and return as unified Playlist object
main/services.py:19
Methodget_playlists
https://developer.apple.com/library/content/documentation/NetworkingInternetWeb/Conceptual/AppleMusicWebServicesReference/GetMultiplePlaylists.html#//
main/client.py:186
Methodget_song
https://developer.apple.com/documentation/applemusicapi/get_a_catalog_song
main/client.py:146
Methodget_songs
https://developer.apple.com/documentation/applemusicapi/get_multiple_catalog_songs_by_id
main/client.py:157
Methodhandle
(self, *args, **options)
main/management/commands/runworker.py:14
Methodhandle
(self, *args, **options)
main/management/commands/delete_stale_playlists.py:13
Functionindex
(request)
main/views.py:123
Methodlength
Duration in seconds
main/data_models.py:25
next →1–100 of 131, ranked by callers