Add library add/remove feedbackTokens for songs returned by search, get_playlist, get_library_songs (#68)
This commit is contained in:
parent
cfdb040652
commit
ecb3b205b2
6 changed files with 39 additions and 12 deletions
|
|
@ -214,7 +214,7 @@ class LibraryMixin:
|
|||
songs = []
|
||||
for content in results:
|
||||
data = content['musicShelfRenderer']['contents']
|
||||
menu_entries = [[-1] + MENU_SERVICE + ['feedbackEndpoint', 'feedbackToken']]
|
||||
menu_entries = [[-1] + MENU_SERVICE + FEEDBACK_TOKEN]
|
||||
songlist = parse_playlist_items(data, menu_entries)
|
||||
for song in songlist:
|
||||
song['played'] = nav(content['musicShelfRenderer'], TITLE_TEXT)
|
||||
|
|
|
|||
Loading…
Reference in a new issue