Add get_library_songs, get_library_albums, get_library_artists (draft)

This commit is contained in:
sigma67 2020-05-01 00:06:01 +02:00
commit f05b7b3be7
No known key found for this signature in database
GPG key ID: 1545A01D4474BAF0
3 changed files with 89 additions and 4 deletions

View file

@ -11,6 +11,7 @@ FRAMEWORK_MUTATIONS = ['frameworkUpdates', 'entityBatchUpdate', 'mutations']
TITLE = ['title', 'runs', 0, 'text']
SUBTITLE = ['subtitle', 'runs', 0, 'text']
SUBTITLE2 = ['subtitle', 'runs', 2, 'text']
SUBTITLE3 = ['subtitle', 'runs', 4, 'text']
def parse_playlist_items(results, owned=False):
songs = []