Spotify: user Liked Songs collection playable (#160452)

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
This commit is contained in:
Vasily G.
2026-01-09 17:48:39 +01:00
committed by GitHub
co-authored by Joost Lekkerkerker
parent f79eef150e
commit 5f7dc49215
5 changed files with 36 additions and 10 deletions
@@ -47,7 +47,7 @@
'media_content_id': 'spotify://01j5tx5a0ff6g5v0qjx6hbc94t/current_user_saved_tracks',
'media_content_type': 'spotify://current_user_saved_tracks',
'thumbnail': None,
'title': 'Tracks',
'title': 'Liked songs',
}),
dict({
'can_expand': True,
@@ -497,7 +497,7 @@
# name: test_browsing[current_user_saved_tracks-current_user_saved_tracks]
dict({
'can_expand': True,
'can_play': False,
'can_play': True,
'can_search': False,
'children': list([
dict({
@@ -529,7 +529,7 @@
'media_content_type': 'spotify://current_user_saved_tracks',
'not_shown': 0,
'thumbnail': None,
'title': 'Tracks',
'title': 'Liked songs',
})
# ---
# name: test_browsing[current_user_top_artists-current_user_top_artists]
@@ -461,6 +461,11 @@ async def test_play_media_in_queue(
"spotify:episode:3oRoMXsP2NRzm51lldj1RO",
{"uris": ["spotify:episode:3oRoMXsP2NRzm51lldj1RO"]},
),
(
"spotify://current_user_saved_tracks",
"spotify:user:1112264111:collection",
{"context_uri": "spotify:user:1112264111:collection"},
),
],
)
async def test_play_media(