mirror of
https://github.com/home-assistant/core.git
synced 2026-09-24 07:25:52 -05:00
Spotify: user Liked Songs collection playable (#160452)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
This commit is contained in:
co-authored by
Joost Lekkerkerker
parent
f79eef150e
commit
5f7dc49215
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user