I use the Spotify integration, and the media browser to play a playlist from Spotify. It seems there's an issue with displaying/loading playlists in the mediabrowser as I'm getting an error when doing so:
This seems only to happen with Playlists, as finding artists seems to work fine.
Here's the error from the log:
Logger: homeassistant.components.websocket_api.http.connection
Source: components/spotify/browse_media.py:317
integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 11:53:06 AM (1 occurrences)
Last logged: 11:53:06 AM
[140077926474816] Error handling message: Unknown error (unknown_error) Lenovo Tablet from 192.168.1.87 (Mozilla/5.0 (Linux; Android 10; Lenovo TB-X306FA Build/QP1A.190711.020; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/130.0.6723.108 Safari/537.36)
Traceback (most recent call last):
File "<string>", line 12, in __mashumaro_from_json__
File "<string>", line 3, in __mashumaro_from_dict_json__
File "/usr/local/lib/python3.12/site-packages/spotifyaio/models.py", line 378, in __pre_deserialize__
if d.get("images") is None:
^^^^^
AttributeError: 'NoneType' object has no attribute 'get'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 28, in _handle_async_response
await func(hass, connection, msg)
File "/usr/src/homeassistant/homeassistant/components/media_player/__init__.py", line 1316, in websocket_browse_media
payload = await player.async_browse_media(media_content_type, media_content_id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/sonos/media_player.py", line 837, in async_browse_media
return await media_browser.async_browse_media(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/sonos/media_browser.py", line 141, in async_browse_media
return await spotify.async_browse_media(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/spotify/browse_media.py", line 253, in async_browse_media
result = await async_browse_media_internal(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/spotify/browse_media.py", line 289, in async_browse_media_internal
response = await build_item_response(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/spotify/browse_media.py", line 317, in build_item_response
if playlists := await spotify.get_playlists_for_current_user():
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/spotifyaio/spotify.py", line 442, in get_playlists_for_current_user
return PlaylistResponse.from_json(response).items
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<string>", line 14, in __mashumaro_from_json__
mashumaro.exceptions.InvalidFieldValue: Field "items" of type list[BasePlaylist] in PlaylistResponse has invalid value [{'collaborative': False, 'description': '', 'external_urls': {'spotify': 'https://open.spotify.com/playlist/4mYuJKBvI77UYcK308mKdo'}, 'href': 'https://api.spotify.com/v1/playlists/4mYuJKBvI77UYcK308mKdo', 'id': '4mYuJKBvI77UYcK308mKdo', 'images': [{'height': None, 'url': 'https://image-cdn-ak.spotifycdn.com/image/ab67706c0000da843ce18b26e11b348c7331a6af', 'width': None}], 'name': 'Hannah Mae - Rode Draad | Discografie', 'owner': {'display_name': 'Digster Nederland', 'external_urls': {'spotify': 'https://open.spotify.com/user/digsternl'}, 'href': 'https://api.spotify.com/v1/users/digsternl', 'id': 'digsternl', 'type': 'user', 'uri': 'spotify:user:digsternl'}, 'primary_color': None, 'public': True, 'snapshot_id': 'AAAANfLxwrMlBsRih/TRahVThEU2zjXS', 'tracks': {'href': 'https://api.spotify.com/v1/playlists/4mYuJKBvI77UYcK308mKdo/tracks', 'total': 18}, 'type': 'playlist', 'uri': 'spotify:playlist:4mYuJKBvI77UYcK308mKdo'}, {'collaborative': False, 'description': 'Het Allerbeste van Beste Zangers en het nieuwe seizoen!', 'external_urls': {'spotify': 'https://open.spotify.com/playlist/1T88JcqhNm3z9ovJpAWd83'}, 'href': 'https://api.spotify.com/v1/playlists/1T88JcqhNm3z9ovJpAWd83', 'id': '1T88JcqhNm3z9ovJpAWd83', 'images': [{'height': None, 'url': 'https://image-cdn-ak.spotifycdn.com/image/ab67706c0000da844afd803eb4754b6282334022', 'width': None}], 'name': 'Beste Zangers 2024', 'owner': {'display_name': 'Cornelis Music', 'external_urls': {'spotify': 'https://open.spotify.com/user/cornelismusic.nl'}, 'href': 'https://api.spotify.com/v1/users/cornelismusic.nl', 'id': 'cornelismusic.nl', 'type': 'user', 'uri': 'spotify:user:cornelismusic.nl'}, 'primary_color': None, 'public': True, 'snapshot_id': 'AAAE/beJYN6Qv7pJYPEJmjIhJ2WRGCpX', 'tracks': {'href': 'https://api.spotify.com/v1/playlists/1T88JcqhNm3z9ovJpAWd83/tracks', 'total': 105}, 'type': 'playlist', 'uri': 'spotify:playlist:1T88JcqhNm3z9ovJpAWd83'}, {'collaborative': False, 'description': 'A curated mix of our employee's favorites. These are the beats that keep us moving, inspired, and ready for any challenge. From intense sprints to steady endurance rides, this mix has got you covered.', 'external_urls': {'spotify': 'https://open.spotify.com/playlist/61X3dJ6SEGOoezged6MrRF'}, 'href': 'https://api.spotify.com/v1/playlists/61X3dJ6SEGOoezged6MrRF', 'id': '61X3dJ6SEGOoezged6MrRF', 'images': [{'height': None, 'url': 'https://image-cdn-ak.spotifycdn.com/image/ab67706c0000da84657de87b69218dd6a70e94b6', 'width': None}], 'name': 'JOIN Cycling - Wheels in Motion Mix', 'owner': {'display_name': 'JOIN Cycling', 'external_urls': {'spotify': 'https://open.spotify.com/user/315qryfaqem2p76ge7zencoaolka'}, 'href': 'https://api.spotify.com/v1/users/315qryfaqem2p76ge7zencoaolka', 'id': '315qryfaqem2p76ge7zencoaolka', 'type': 'user', 'uri': 'spotify:user:315qryfaqem2p76ge7zencoaolka'}, 'primary_color': None, 'public': True, 'snapshot_id': 'AAAAKhK9efFni6+Rtza/2oOEIXmyvuSt', 'tracks': {'href': 'https://api.spotify.com/v1/playlists/61X3dJ6SEGOoezged6MrRF/tracks', 'total': 35}, 'type': 'playlist', 'uri': 'spotify:playlist:61X3dJ6SEGOoezged6MrRF'}, {'collaborative': False, 'description': 'Dive into the unique stories and rhythms of our cycling community with this JOIN Cycling playlist. Each track reflects the diverse personalities and journeys of our riders, blending their favourite tunes together to a colourful mix.', 'external_urls': {'spotify': 'https://open.spotify.com/playlist/0cEoerKcJDtxcXyzyhvnsU'}, 'href': 'https://api.spotify.com/v1/playlists/0cEoerKcJDtxcXyzyhvnsU', 'id': '0cEoerKcJDtxcXyzyhvnsU', 'images': [{'height': None, 'url': 'https://image-cdn-ak.spotifycdn.com/image/ab67706c0000da84241322785124858401d16fda', 'width': None}], 'name': 'JOIN Cycling - The Sound of JOINers', 'owner': {'display_name': 'JOIN Cycling', 'external_urls': {'spotify': 'https://open.spotify.com/user/315qryfaqem2p76ge7zencoaolka'}, 'href': 'https://api.spotify.com/v1/users/315qryfaqem2p76ge7zencoaolka', 'id': '315qryfaqem2p76ge7zencoaolka', 'type': 'user', 'uri': 'spotify:user:315qryfaqem2p76ge7zencoaolka'}, 'primary_color': None, 'public': True, 'snapshot_id': 'AAAASFVjNUy7/tYvvvUlt3lH30+yr7FG', 'tracks': {'href': 'https://api.spotify.com/v1/playlists/0cEoerKcJDtxcXyzyhvnsU/tracks', 'total': 65}, 'type': 'playlist', 'uri': 'spotify:playlist:0cEoerKcJDtxcXyzyhvnsU'}, {'collaborative': False, 'description': '', 'external_urls': {'spotify': 'https://open.spotify.com/playlist/3L4HDOrP0JvEzASjHnFMUz'}, 'href': 'https://api.spotify.com/v1/playlists/3L4HDOrP0JvEzASjHnFMUz', 'id': '3L4HDOrP0JvEzASjHnFMUz', 'images': [{'height': 640, 'url': 'https://mosaic.scdn.co/640/ab67616d00001e0264593914322faaf17150d522ab67616d00001e02a02fd3181c9aba5b121dfc5eab67616d00001e02c6d0448b4d3ce92a88c15edfab67616d00001e02dc3baf87ca57d3097d12287f', 'width': 640}, {'height': 300, 'url': 'https://mosaic.scdn.co/300/ab67616d00001e0264593914322faaf17150d522ab67616d00001e02a02fd3181c9aba5b121dfc5eab67616d00001e02c6d0448b4d3ce92a88c15edfab67616d00001e02dc3baf87ca57d3097d12287f', 'width': 300}, {'height': 60, 'url': 'https://mosaic.scdn.co/60/ab67616d00001e0264593914322faaf17150d522ab67616d00001e02a02fd3181c9aba5b121dfc5eab67616d00001e02c6d0448b4d3ce92a88c15edfab67616d00001e02dc3baf87ca57d3097d12287f', 'width': 60}], 'name': 'Daan & Jesse', 'owner': {'display_name': 'Martijn Russchen', 'external_urls': {'spotify': 'https://open.spotify.com/user/mrusschen'}, 'href': 'https://api.spotify.com/v1/users/mrusschen', 'id': 'mrusschen', 'type': 'user', 'uri': 'spotify:user:mrusschen'}, 'primary_color': None, 'public': True, 'snapshot_id': 'AAAADKjkeUxXlURqO6nUs+JtuFRq/PNg', 'tracks': {'href': 'https://api.spotify.com/v1/playlists/3L4HDOrP0JvEzASjHnFMUz/tracks', 'total': 7}, 'type': 'playlist', 'uri': 'spotify:playlist:3L4HDOrP0JvEzASjHnFMUz'}, None, {'collaborative': False, 'description': '', 'external_urls': {'spotify': 'https://open.spotify.com/playlist/55muWROXH8QnZ7Xpl4zA5L'}, 'href': 'https://api.spotify.com/v1/playlists/55muWROXH8QnZ7Xpl4zA5L', 'id': '55muWROXH8QnZ7Xpl4zA5L', 'images': [{'height': 640, 'url': 'https://mosaic.scdn.co/640/ab67616d00001e022e73724a2956f474e8312e0fab67616d00001e0251cd645d12dcaad1d54abffdab67616d00001e029e0288e4587d6affdf445cd9ab67616d00001e02ad1c5d0d8bd7df820549a646', 'width': 640}, {'height': 300, 'url': 'https://mosaic.scdn.co/300/ab67616d00001e022e73724a2956f474e8312e0fab67616d00001e0251cd645d12dcaad1d54abffdab67616d00001e029e0288e4587d6affdf445cd9ab67616d00001e02ad1c5d0d8bd7df820549a646', 'width': 300}, {'height': 60, 'url': 'https://mosaic.scdn.co/60/ab67616d00001e022e73724a2956f474e8312e0fab67616d00001e0251cd645d12dcaad1d54abffdab67616d00001e029e0288e4587d6affdf445cd9ab67616d00001e02ad1c5d0d8bd7df820549a646', 'width': 60}], 'name': 'Spotty disco 2023', 'owner': {'display_name': 'Gaby Hommersom', 'external_urls': {'spotify': 'https://open.spotify.com/user/gabyhommersom'}, 'href': 'https://api.spotify.com/v1/users/gabyhommersom', 'id': 'gabyhommersom', 'type': 'user', 'uri': 'spotify:user:gabyhommersom'}, 'primary_color': None, 'public': True, 'snapshot_id': 'AAAAdH1A+xKzNw5X8e5ZCRPwv76bgTJU', 'tracks': {'href': 'https://api.spotify.com/v1/playlists/55muWROXH8QnZ7Xpl4zA5L/tracks', 'total': 20}, 'type': 'playlist', 'uri': 'spotify:playlist:55muWROXH8QnZ7Xpl4zA5L'}, None, None, {'collaborative': False, 'description': 'Zwoele zomeravonden, de geur van zonnebrand, sissende worsten op de bbQ, verfrissende cocktails en zomerse muziek! Dat is het gevoel van de Q-top 500 van de Zomer. Via Spotify beluister je de 500 zonnigste hits!', 'external_urls': {'spotify': 'https://open.spotify.com/playlist/7MOcXfvcLR0mzRjFK9LHUn'}, 'href': 'https://api.spotify.com/v1/playlists/7MOcXfvcLR0mzRjFK9LHUn', 'id': '7MOcXfvcLR0mzRjFK9LHUn', 'images': [{'height': None, 'url': 'https://image-cdn-ak.spotifycdn.com/image/ab67706c0000da84dfc8a0c260254453bcad85fc', 'width': None}], 'name': 'Q-top 500 van de Zomer | editie 2024 | Qmusic', 'owner': {'display_name': 'QmusicNL', 'external_urls': {'spotify': 'https://open.spotify.com/user/qmusicnl'}, 'href': 'https://api.spotify.com/v1/users/qmusicnl', 'id': 'qmusicnl', 'type': 'user', 'uri': 'spotify:user:qmusicnl'}, 'primary_color': None, 'public': True, 'snapshot_id': 'AAAAscZnup9MYU8sdrWM04PTlWyVlo0e', 'tracks': {'href': 'https://api.spotify.com/v1/playlists/7MOcXfvcLR0mzRjFK9LHUn/tracks', 'total': 500}, 'type': 'playlist', 'uri': 'spotify:playlist:7MOcXfvcLR0mzRjFK9LHUn'}, {'collaborative': False, 'description': '', 'external_urls': {'spotify': 'https://open.spotify.com/playlist/5d2wlgsgAMGQ93o5NNFSpT'}, 'href': 'https://api.spotify.com/v1/playlists/5d2wlgsgAMGQ93o5NNFSpT', 'id': '5d2wlgsgAMGQ93o5NNFSpT', 'images': [{'height': 640, 'url': 'https://mosaic.scdn.co/640/ab67616d00001e02312554a5a0838df86b2b1359ab67616d00001e02ba98cc1a536b19f54fbf66a3ab67616d00001e02c208d60c83e8611195875e13ab67616d00001e02ef37416970812293c08e8a78', 'width': 640}, {'height': 300, 'url': 'https://mosaic.scdn.co/300/ab67616d00001e02312554a5a0838df86b2b1359ab67616d00001e02ba98cc1a536b19f54fbf66a3ab67616d00001e02c208d60c83e8611195875e13ab67616d00001e02ef37416970812293c08e8a78', 'width': 300}, {'height': 60, 'url': 'https://mosaic.scdn.co/60/ab67616d00001e02312554a5a0838df86b2b1359ab67616d00001e02ba98cc1a536b19f54fbf66a3ab67616d00001e02c208d60c83e8611195875e13ab67616d00001e02ef37416970812293c08e8a78', 'width': 60}], 'name': '', 'owner': {'display_name': 'Cozyxmasvibes', 'external_urls': {'spotify': 'https://open.spotify.com/user/0y678hq7ui0mbkuhudv1qjpf1'}, 'href': 'https://api.spotify.com/v1/users/0y678hq7ui0mbkuhudv1qjpf1', 'id': '0y678hq7ui0mbkuhudv1qjpf1', 'type': 'user', 'uri': 'spotify:user:0y678hq7ui0mbkuhudv1qjpf1'}, 'primary_color': None, 'public': True, 'snapshot_id': 'AAAAOFSMb2mCqW/xPwjcumjreBV1gjaC', 'tracks': {'href': 'https://api.spotify.com/v1/playlists/5d2wlgsgAMGQ93o5NNFSpT/tracks', 'total': 46}, 'type': 'playlist', 'uri': 'spotify:playlist:5d2wlgsgAMGQ93o5NNFSpT'}, None, None, None, None, {'collaborative': False, 'description': '', 'external_urls': {'spotify': 'https://open.spotify.com/playlist/30fvpjPlVgo2GZvVr43Yhv'}, 'href': 'https://api.spotify.com/v1/playlists/30fvpjPlVgo2GZvVr43Yhv', 'id': '30fvpjPlVgo2GZvVr43Yhv', 'images': [{'height': 640, 'url': 'https://mosaic.scdn.co/640/2aeebc0c478bfe46ad5d7622f5d8863da2c29b6fab67616d00001e023a1df2d7303fa538cab4debbab67616d00001e02a5f58c255fc49686116bf996ab67616d00001e02c730c4c7f327b1c9dc4205ef', 'width': 640}, {'height': 300, 'url': 'https://mosaic.scdn.co/300/2aeebc0c478bfe46ad5d7622f5d8863da2c29b6fab67616d00001e023a1df2d7303fa538cab4debbab67616d00001e02a5f58c255fc49686116bf996ab67616d00001e02c730c4c7f327b1c9dc4205ef', 'width': 300}, {'height': 60, 'url': 'https://mosaic.scdn.co/60/2aeebc0c478bfe46ad5d7622f5d8863da2c29b6fab67616d00001e023a1df2d7303fa538cab4debbab67616d00001e02a5f58c255fc49686116bf996ab67616d00001e02c730c4c7f327b1c9dc4205ef', 'width': 60}], 'name': 'Bruiloft', 'owner': {'display_name': 'Martijn Russchen', 'external_urls': {'spotify': 'https://open.spotify.com/user/mrusschen'}, 'href': 'https://api.spotify.com/v1/users/mrusschen', 'id': 'mrusschen', 'type': 'user', 'uri': 'spotify:user:mrusschen'}, 'primary_color': None, 'public': True, 'snapshot_id': 'AAAABgm4OIySL7NSUYbz1knz/plpCbpb', 'tracks': {'href': 'https://api.spotify.com/v1/playlists/30fvpjPlVgo2GZvVr43Yhv/tracks', 'total': 5}, 'type': 'playlist', 'uri': 'spotify:playlist:30fvpjPlVgo2GZvVr43Yhv'}, {'collaborative': False, 'description': 'Zomer muziek 2024 - Zomer vibess - Summer hits | Ook zin in de zomer ? Haal de zomer alvast in huis met de zonnigste hits! ☀️ ', 'external_urls': {'spotify': 'https://open.spotify.com/playlist/0xISh59a55dLOvopRbN2PI'}, 'href': 'https://api.spotify.com/v1/playlists/0xISh59a55dLOvopRbN2PI', 'id': '0xISh59a55dLOvopRbN2PI', 'images': [{'height': None, 'url': 'https://image-cdn-ak.spotifycdn.com/image/ab67706c0000da8408e5332cacb4270a0332ed52', 'width': None}], 'name': 'Zomer Hits 2024 ☀️ Zomerhits 2024', 'owner': {'display_name': 'Topsify Benelux', 'external_urls': {'spotify': 'https://open.spotify.com/user/playlistme.nl'}, 'href': 'https://api.spotify.com/v1/users/playlistme.nl', 'id': 'playlistme.nl', 'type': 'user', 'uri': 'spotify:user:playlistme.nl'}, 'primary_color': None, 'public': True, 'snapshot_id': 'AAANlhrihVs4BLvUUKKBNf7z9bbVW+b/', 'tracks': {'href': 'https://api.spotify.com/v1/playlists/0xISh59a55dLOvopRbN2PI/tracks', 'total': 105}, 'type': 'playlist', 'uri': 'spotify:playlist:0xISh59a55dLOvopRbN2PI'}, None, {'collaborative': False, 'description': '', 'external_urls': {'spotify': 'https://open.spotify.com/playlist/4cJAbiBE414twaeuLPLxYS'}, 'href': 'https://api.spotify.com/v1/playlists/4cJAbiBE414twaeuLPLxYS', 'id': '4cJAbiBE414twaeuLPLxYS', 'images': [{'height': 640, 'url': 'https://mosaic.scdn.co/640/ab67616d00001e0250a3147b4edd7701a876c6ceab67616d00001e0270dd4e18b9c3431ee7a9b8a1ab67616d00001e0296d28597a5ae44ab66552183ab67616d00001e02f6954c1f074f66907a8c5483', 'width': 640}, {'height': 300, 'url': 'https://mosaic.scdn.co/300/ab67616d00001e0250a3147b4edd7701a876c6ceab67616d00001e0270dd4e18b9c3431ee7a9b8a1ab67616d00001e0296d28597a5ae44ab66552183ab67616d00001e02f6954c1f074f66907a8c5483', 'width': 300}, {'height': 60, 'url': 'https://mosaic.scdn.co/60/ab67616d00001e0250a3147b4edd7701a876c6ceab67616d00001e0270dd4e18b9c3431ee7a9b8a1ab67616d00001e0296d28597a5ae44ab66552183ab67616d00001e02f6954c1f074f66907a8c5483', 'width': 60}], 'name': 'SONOS Surround', 'owner': {'display_name': 'aokman', 'external_urls': {'spotify': 'https://open.spotify.com/user/orig3n'}, 'href': 'https://api.spotify.com/v1/users/orig3n', 'id': 'orig3n', 'type': 'user', 'uri': 'spotify:user:orig3n'}, 'primary_color': None, 'public': True, 'snapshot_id': 'AAAAKEdAz6NNMfnTzZG5rYztRgCMTSe/', 'tracks': {'href': 'https://api.spotify.com/v1/playlists/4cJAbiBE414twaeuLPLxYS/tracks', 'total': 25}, 'type': 'playlist', 'uri': 'spotify:playlist:4cJAbiBE414twaeuLPLxYS'}, {'collaborative': False, 'description': 'Het jaar 2030 klinkt nog heel ver weg, maar het is dichterbij dan het moment dat het jaar 2000 begon. De jaren van 2000 tot en met 2009 noemen we de zeroes, oftewel de 00s. ', 'external_urls': {'spotify': 'https://open.spotify.com/playlist/0vaHokUs2adOZVTzPAtXa9'}, 'href': 'https://api.spotify.com/v1/playlists/0vaHokUs2adOZVTzPAtXa9', 'id': '0vaHokUs2adOZVTzPAtXa9', 'images': [{'height': None, 'url': 'https://image-cdn-ak.spotifycdn.com/image/ab67706c0000da84f4e4d42d6e6564c81c50b748', 'width': None}], 'name': 'Q-top 500 van de 00s | editie 2024 | Qmusic', 'owner': {'display_name': 'QmusicNL', 'external_urls': {'spotify': 'https://open.spotify.com/user/qmusicnl'}, 'href': 'https://api.spotify.com/v1/users/qmusicnl', 'id': 'qmusicnl', 'type': 'user', 'uri': 'spotify:user:qmusicnl'}, 'primary_color': None, 'public': True, 'snapshot_id': 'AAAAuwpkceXiqpG7v1ZeSAbcaeB3jpl0', 'tracks': {'href': 'https://api.spotify.com/v1/playlists/0vaHokUs2adOZVTzPAtXa9/tracks', 'total': 500}, 'type': 'playlist', 'uri': 'spotify:playlist:0vaHokUs2adOZVTzPAtXa9'}, None, {'collaborative': False, 'description': 'Summer vibes & summer chill hits. The best summer playlist updated weekly. Sommervibes. Sommerhits, Sommer bangers, summer chillout, Summervibes. ☀️', 'external_urls': {'spotify': 'https://open.spotify.com/playlist/2hmLDliFT9mW84XHxRUzwx'}, 'href': 'https://api.spotify.com/v1/playlists/2hmLDliFT9mW84XHxRUzwx', 'id': '2hmLDliFT9mW84XHxRUzwx', 'images': [{'height': None, 'url': 'https://image-cdn-fa.spotifycdn.com/image/ab67706c0000da848ea285215d990503fc60d5a4', 'width': None}], 'name': 'Summer Vibes 2024 🌞🌴 Chill Hits', 'owner': {'display_name': 'Lilly Era', 'external_urls': {'spotify': 'https://open.spotify.com/user/lillyera'}, 'href': 'https://api.spotify.com/v1/users/lillyera', 'id': 'lillyera', 'type': 'user', 'uri': 'spotify:user:lillyera'}, 'primary_color': None, 'public': True, 'snapshot_id': 'AAANttTUaGTm7IACVHxD3576JvPNsgxs', 'tracks': {'href': 'https://api.spotify.com/v1/playlists/2hmLDliFT9mW84XHxRUzwx/tracks', 'total': 191}, 'type': 'playlist', 'uri': 'spotify:playlist:2hmLDliFT9mW84XHxRUzwx'}, {'collaborative': False, 'description': 'Best summer music and summer songs playlist 2024. With Lost Frequencies, Miley Cyrus, Marshmello, Doja Cat, Ed Sheeran, Harry Styles, Justin Bieber, The Kid LAROI and many more. Summer 24 / Sommer 24 / Verano 24 / Été 2024 / Estate 24', 'external_urls': {'spotify': 'https://open.spotify.com/playlist/1k5MkXoZPmDR5BWs3ChnE3'}, 'href': 'https://api.spotify.com/v1/playlists/1k5MkXoZPmDR5BWs3ChnE3', 'id': '1k5MkXoZPmDR5BWs3ChnE3', 'images': [{'height': None, 'url': 'https://image-cdn-ak.spotifycdn.com/image/ab67706c0000da84a8b6c15127eefcd8036412b7', 'width': None}], 'name': 'Summer Hits 2024', 'owner': {'display_name': 'Filtr Germany', 'external_urls': {'spotify': 'https://open.spotify.com/user/playlists.germany'}, 'href': 'https://api.spotify.com/v1/users/playlists.germany', 'id': 'playlists.germany', 'type': 'user', 'uri': 'spotify:user:playlists.germany'}, 'primary_color': None, 'public': True, 'snapshot_id': 'AAAMZXEzJ1smnjUAv+NRJKEpxnynfnzo', 'tracks': {'href': 'https://api.spotify.com/v1/playlists/1k5MkXoZPmDR5BWs3ChnE3/tracks', 'total': 130}, 'type': 'playlist', 'uri': 'spotify:playlist:1k5MkXoZPmDR5BWs3ChnE3'}, None, {'collaborative': False, 'description': '', 'external_urls': {'spotify': 'https://open.spotify.com/playlist/1qq2venV17S8AkQQprv7zh'}, 'href': 'https://api.spotify.com/v1/playlists/1qq2venV17S8AkQQprv7zh', 'id': '1qq2venV17S8AkQQprv7zh', 'images': [{'height': 640, 'url': 'https://mosaic.scdn.co/640/ab67616d00001e0213b3e37318a0c247b550bccdab67616d00001e0240d040df5dd73b6e1c176f34ab67616d00001e0288e170d5ced543d191593fc8ab67616d00001e02ba5db46f4b838ef6027e6f96', 'width': 640}, {'height': 300, 'url': 'https://mosaic.scdn.co/300/ab67616d00001e0213b3e37318a0c247b550bccdab67616d00001e0240d040df5dd73b6e1c176f34ab67616d00001e0288e170d5ced543d191593fc8ab67616d00001e02ba5db46f4b838ef6027e6f96', 'width': 300}, {'height': 60, 'url': 'https://mosaic.scdn.co/60/ab67616d00001e0213b3e37318a0c247b550bccdab67616d00001e0240d040df5dd73b6e1c176f34ab67616d00001e0288e170d5ced543d191593fc8ab67616d00001e02ba5db46f4b838ef6027e6f96', 'width': 60}], 'name': 'Bruiloft ceremonie en borrel', 'owner': {'display_name': 'wendy', 'external_urls': {'spotify': 'https://open.spotify.com/user/qmt9a55t2gvz48giaoyj2ilgv'}, 'href': 'https://api.spotify.com/v1/users/qmt9a55t2gvz48giaoyj2ilgv', 'id': 'qmt9a55t2gvz48giaoyj2ilgv', 'type': 'user', 'uri': 'spotify:user:qmt9a55t2gvz48giaoyj2ilgv'}, 'primary_color': None, 'public': True, 'snapshot_id': 'AAAAaJrk3DKgeM0cJpzZK4NPvswS6oPn', 'tracks': {'href': 'https://api.spotify.com/v1/playlists/1qq2venV17S8AkQQprv7zh/tracks', 'total': 89}, 'type': 'playlist', 'uri': 'spotify:playlist:1qq2venV17S8AkQQprv7zh'}, {'collaborative': False, 'description': 'Baby Got Hack. #2021 #FiscalYear2022 #confusing', 'external_urls': {'spotify': 'https://open.spotify.com/playlist/3RqsDjVNxSqOIkwk0dotBw'}, 'href': 'https://api.spotify.com/v1/playlists/3RqsDjVNxSqOIkwk0dotBw', 'id': '3RqsDjVNxSqOIkwk0dotBw', 'images': [{'height': None, 'url': 'https://image-cdn-ak.spotifycdn.com/image/ab67706c0000da84441d2f796b3777a24e99cc79', 'width': None}], 'name': '2021 HackerOne All Hands Meeting Jams!', 'owner': {'display_name': 'Jesse Case', 'external_urls': {'spotify': 'https://open.spotify.com/user/125217136'}, 'href': 'https://api.spotify.com/v1/users/125217136', 'id': '125217136', 'type': 'user', 'uri': 'spotify:user:125217136'}, 'primary_color': None, 'public': True, 'snapshot_id': 'AAAANBO5xLygWZLMeGncqs89IDk2+dWU', 'tracks': {'href': 'https://api.spotify.com/v1/playlists/3RqsDjVNxSqOIkwk0dotBw/tracks', 'total': 30}, 'type': 'playlist', 'uri': 'spotify:playlist:3RqsDjVNxSqOIkwk0dotBw'}, None, None, None, None, None, None, None, {'collaborative': False, 'description': 'Explore the sound of GoPro through the years.', 'external_urls': {'spotify': 'https://open.spotify.com/playlist/2CDdRnbStSx9xQLyMiZ7ng'}, 'href': 'https://api.spotify.com/v1/playlists/2CDdRnbStSx9xQLyMiZ7ng', 'id': '2CDdRnbStSx9xQLyMiZ7ng', 'images': [{'height': None, 'url': 'https://image-cdn-ak.spotifycdn.com/image/ab67706c0000da84ad132acd2ead7879ca739f94', 'width': None}], 'name': 'GoPro Legacy', 'owner': {'display_name': 'GoPro', 'external_urls': {'spotify': 'https://open.spotify.com/user/u9c5xxjs8ehsxwqswjy8xfihh'}, 'href': 'https://api.spotify.com/v1/users/u9c5xxjs8ehsxwqswjy8xfihh', 'id': 'u9c5xxjs8ehsxwqswjy8xfihh', 'type': 'user', 'uri': 'spotify:user:u9c5xxjs8ehsxwqswjy8xfihh'}, 'primary_color': None, 'public': True, 'snapshot_id': 'AAAAEnx8AAXBHdKZF0IPW+EImeApw2eE', 'tracks': {'href': 'https://api.spotify.com/v1/playlists/2CDdRnbStSx9xQLyMiZ7ng/tracks', 'total': 12}, 'type': 'playlist', 'uri': 'spotify:playlist:2CDdRnbStSx9xQLyMiZ7ng'}, {'collaborative': False, 'description': 'Super old playlist', 'external_urls': {'spotify': 'https://open.spotify.com/playlist/5PUdUW37MVz0Si88M4yW1m'}, 'href': 'https://api.spotify.com/v1/playlists/5PUdUW37MVz0Si88M4yW1m', 'id': '5PUdUW37MVz0Si88M4yW1m', 'images': [{'height': None, 'url': 'https://image-cdn-ak.spotifycdn.com/image/ab67706c0000da84f5dc021c8f44651f2366ce4c', 'width': None}], 'name': 'GoPro', 'owner': {'display_name': 'Nikki S.', 'external_urls': {'spotify': 'https://open.spotify.com/user/1233666042'}, 'href': 'https://api.spotify.com/v1/users/1233666042', 'id': '1233666042', 'type': 'user', 'uri': 'spotify:user:1233666042'}, 'primary_color': None, 'public': True, 'snapshot_id': 'AAAC7xP6vjcDuQgsxp+dfl9cZ6SNUidw', 'tracks': {'href': 'https://api.spotify.com/v1/playlists/5PUdUW37MVz0Si88M4yW1m/tracks', 'total': 366}, 'type': 'playlist', 'uri': 'spotify:playlist:5PUdUW37MVz0Si88M4yW1m'}, None, None, None, {'collaborative': False, 'description': 'Dit zijn volgens jou en dj Kimberley Dekker de 25 lekkerste liedjes om je zondag mee door te brengen.', 'external_urls': {'spotify': 'https://open.spotify.com/playlist/2WBTWvgYZ5rgSNduBO9I52'}, 'href': 'https://api.spotify.com/v1/playlists/2WBTWvgYZ5rgSNduBO9I52', 'id': '2WBTWvgYZ5rgSNduBO9I52', 'images': [{'height': None, 'url': 'https://image-cdn-ak.spotifycdn.com/image/ab67706c0000da8413e3d92f2da9495dee3efe27', 'width': None}], 'name': 'Chill Met Kimberley', 'owner': {'display_name': 'Kimberley Dekker', 'external_urls': {'spotify': 'https://open.spotify.com/user/kmbrly'}, 'href': 'https://api.spotify.com/v1/users/kmbrly', 'id': 'kmbrly', 'type': 'user', 'uri': 'spotify:user:kmbrly'}, 'primary_color': None, 'public': True, 'snapshot_id': 'AAABJBHAlvkJNaj4XO5yMMAXTU4tt2aX', 'tracks': {'href': 'https://api.spotify.com/v1/playlists/2WBTWvgYZ5rgSNduBO9I52/tracks', 'total': 26}, 'type': 'playlist', 'uri': 'spotify:playlist:2WBTWvgYZ5rgSNduBO9I52'}, {'collaborative': False, 'description': 'Ideaal om op een zonnige namiddag te draaien als je lekker met een biertje in de hand op je dakterras zit/staat/ligt te flaneren. Vanouds Nederlandse topmuziek.', 'external_urls': {'spotify': 'https://open.spotify.com/playlist/66p8uuC9mNQkjfyr3IVkRf'}, 'href': 'https://api.spotify.com/v1/playlists/66p8uuC9mNQkjfyr3IVkRf', 'id': '66p8uuC9mNQkjfyr3IVkRf', 'images': [{'height': None, 'url': 'https://image-cdn-ak.spotifycdn.com/image/ab67706c0000da84a4ab9892a775392f2071f416', 'width': None}], 'name': 'Dakterras', 'owner': {'display_name': 'Bart Daemen', 'external_urls': {'spotify': 'https://open.spotify.com/user/21no4o7e3slp6tqvzfmhdcwkq'}, 'href': 'https://api.spotify.com/v1/users/21no4o7e3slp6tqvzfmhdcwkq', 'id': '21no4o7e3slp6tqvzfmhdcwkq', 'type': 'user', 'uri': 'spotify:user:21no4o7e3slp6tqvzfmhdcwkq'}, 'primary_color': None, 'public': True, 'snapshot_id': 'AAAAhptSLcWSWN4z+V2GtfN5h0RKhZng', 'tracks': {'href': 'https://api.spotify.com/v1/playlists/66p8uuC9mNQkjfyr3IVkRf/tracks', 'total': 91}, 'type': 'playlist', 'uri': 'spotify:playlist:66p8uuC9mNQkjfyr3IVkRf'}, {'collaborative': False, 'description': '', 'external_urls': {'spotify': 'https://open.spotify.com/playlist/64sY1OpVQ46UOZ2iSBJzY0'}, 'href': 'https://api.spotify.com/v1/playlists/64sY1OpVQ46UOZ2iSBJzY0', 'id': '64sY1OpVQ46UOZ2iSBJzY0', 'images': [{'height': 640, 'url': 'https://mosaic.scdn.co/640/ab67616d00001e0213d6fc35e1b59c4475883e1eab67616d00001e0261eebe860ec541258ac2873eab67616d00001e02d8a57c7e80467a53677785caab67616d00001e02f6cbaa7689d863a165c5107c', 'width': 640}, {'height': 300, 'url': 'https://mosaic.scdn.co/300/ab67616d00001e0213d6fc35e1b59c4475883e1eab67616d00001e0261eebe860ec541258ac2873eab67616d00001e02d8a57c7e80467a53677785caab67616d00001e02f6cbaa7689d863a165c5107c', 'width': 300}, {'height': 60, 'url': 'https://mosaic.scdn.co/60/ab67616d00001e0213d6fc35e1b59c4475883e1eab67616d00001e0261eebe860ec541258ac2873eab67616d00001e02d8a57c7e80467a53677785caab67616d00001e02f6cbaa7689d863a165c5107c', 'width': 60}], 'name': 'Winnaars', 'owner': {'display_name': 'Martijn Russchen', 'external_urls': {'spotify': 'https://open.spotify.com/user/mrusschen'}, 'href': 'https://api.spotify.com/v1/users/mrusschen', 'id': 'mrusschen', 'type': 'user', 'uri': 'spotify:user:mrusschen'}, 'primary_color': None, 'public': True, 'snapshot_id': 'AAAADA5gGxE5fLX+ZApcYCI8TREhE7mF', 'tracks': {'href': 'https://api.spotify.com/v1/playlists/64sY1OpVQ46UOZ2iSBJzY0/tracks', 'total': 22}, 'type': 'playlist', 'uri': 'spotify:playlist:64sY1OpVQ46UOZ2iSBJzY0'}, None, {'collaborative': False, 'description': 'Top 50 India | Top Tamil | | भारत में शीर्ष 50 | शीर्ष 50 भारत | भारत शीर्ष 50 | Top 50 hindi songs of the week | Latest Hindi Songs | Top Hindi Songs | Latest Bollywood Songs | Top 50 Hindi Songs | Top Tamil | Top Telugu | Top Punjabi | Top Marathi | Top Gujarati | Top Bengali | Top Kannada |', 'external_urls': {'spotify': 'https://open.spotify.com/playlist/2iBlLqQ3c78xI30xvX4YGM'}, 'href': 'https://api.spotify.com/v1/playlists/2iBlLqQ3c78xI30xvX4YGM', 'id': '2iBlLqQ3c78xI30xvX4YGM', 'images': [{'height': None, 'url': 'https://image-cdn-ak.spotifycdn.com/image/ab67706c0000da843da52dc71d1299934ff0261d', 'width': None}], 'name': 'India Top 50', 'owner': {'display_name': 'Playlists India', 'external_urls': {'spotify': 'https://open.spotify.com/user/chksif2maxgf1cph4cy2l3uzx'}, 'href': 'https://api.spotify.com/v1/users/chksif2maxgf1cph4cy2l3uzx', 'id': 'chksif2maxgf1cph4cy2l3uzx', 'type': 'user', 'uri': 'spotify:user:chksif2maxgf1cph4cy2l3uzx'}, 'primary_color': None, 'public': True, 'snapshot_id': 'AAAFxJE4hi8JLyRkN0TUuUEihIY6R6wT', 'tracks': {'href': 'https://api.spotify.com/v1/playlists/2iBlLqQ3c78xI30xvX4YGM/tracks', 'total': 75}, 'type': 'playlist', 'uri': 'spotify:playlist:2iBlLqQ3c78xI30xvX4YGM'}, None, {'collaborative': False, 'description': '😌 Light relaxing background music for meditation, yoga and calm studying 🧘 – A compilation of smooth meditation sounds that guarantee perfect concentration and best sleep moments. 😴 relaxation mental health snooze breathing calming sounds', 'external_urls': {'spotify': 'https://open.spotify.com/playlist/5ADGfFzKsUE4lBgkihMc8C'}, 'href': 'https://api.spotify.com/v1/playlists/5ADGfFzKsUE4lBgkihMc8C', 'id': '5ADGfFzKsUE4lBgkihMc8C', 'images': [{'height': None, 'url': 'https://image-cdn-ak.spotifycdn.com/image/ab67706c0000da846914165fc0c6bb9bd739fea0', 'width': None}], 'name': 'Mindfulness | Calm, light, relaxing background music', 'owner': {'display_name': 'Filtr Switzerland', 'external_urls': {'spotify': 'https://open.spotify.com/user/sonymusicswitzerland'}, 'href': 'https://api.spotify.com/v1/users/sonymusicswitzerland', 'id': 'sonymusicswitzerland', 'type': 'user', 'uri': 'spotify:user:sonymusicswitzerland'}, 'primary_color': None, 'public': True, 'snapshot_id': 'AAAhemzdkjPRTkJ7EHWbbW6btCZMdsiF', 'tracks': {'href': 'https://api.spotify.com/v1/playlists/5ADGfFzKsUE4lBgkihMc8C/tracks', 'total': 425}, 'type': 'playlist', 'uri': 'spotify:playlist:5ADGfFzKsUE4lBgkihMc8C'}, {'collaborative': False, 'description': 'List updated daily to find best songs and selected versions, best rock, pop, funky, blues, on best recording. 32 bits sound for check your equipment, tweeter, bass and stereo Few lists sound as good', 'external_urls': {'spotify': 'https://open.spotify.com/playlist/5I4YfYdlHWYUmExF8W9Avj'}, 'href': 'https://api.spotify.com/v1/playlists/5I4YfYdlHWYUmExF8W9Avj', 'id': '5I4YfYdlHWYUmExF8W9Avj', 'images': [{'height': None, 'url': 'https://image-cdn-fa.spotifycdn.com/image/ab67706c0000da84ed14c43b45f0cbd87cf57a42', 'width': None}], 'name': 'TEST HI FI , HI END, HI RES, HEADPHONES, AUDIOPHILE. TOP BEST RÉCORDS OF ROCK, POP, BLUES, JAZZ, ', 'owner': {'display_name': 'purodemalta', 'external_urls': {'spotify': 'https://open.spotify.com/user/miguelsanchezaguilar69'}, 'href': 'https://api.spotify.com/v1/users/miguelsanchezaguilar69', 'id': 'miguelsanchezaguilar69', 'type': 'user', 'uri': 'spotify:user:miguelsanchezaguilar69'}, 'primary_color': None, 'public': True, 'snapshot_id': 'AAAGpdwGOMdDCGNkrf+QA1KqJpAhyxQi', 'tracks': {'href': 'https://api.spotify.com/v1/playlists/5I4YfYdlHWYUmExF8W9Avj/tracks', 'total': 1604}, 'type': 'playlist', 'uri': 'spotify:playlist:5I4YfYdlHWYUmExF8W9Avj'}, {'collaborative': False, 'description': 'For more information visit <a href="https://www.facebook.com/ludovicoeinaudi">FACEBOOK</a> | <a href="https://twitter.com/LudovicoEinaud">TWITTER</a> | <a href="http://www.ludovicoeinaudi.com/">WEBSITE</a>', 'external_urls': {'spotify': 'https://open.spotify.com/playlist/41QjOoffs3nC7bKb2QvbDx'}, 'href': 'https://api.spotify.com/v1/playlists/41QjOoffs3nC7bKb2QvbDx', 'id': '41QjOoffs3nC7bKb2QvbDx', 'images': [{'height': None, 'url': 'https://image-cdn-ak.spotifycdn.com/image/ab67706c0000da848bf9adfab564bbe72bdaae68', 'width': None}], 'name': 'Ludovico Einaudi Complete Playlist', 'owner': {'display_name': 'Ludovico Einaudi', 'external_urls': {'spotify': 'https://open.spotify.com/user/einaudiofficial'}, 'href': 'https://api.spotify.com/v1/users/einaudiofficial', 'id': 'einaudiofficial', 'type': 'user', 'uri': 'spotify:user:einaudiofficial'}, 'primary_color': None, 'public': True, 'snapshot_id': 'AAACqltgMzuUb85WdqV/nMyqbFSLa9WS', 'tracks': {'href': 'https://api.spotify.com/v1/playlists/41QjOoffs3nC7bKb2QvbDx/tracks', 'total': 319}, 'type': 'playlist', 'uri': 'spotify:playlist:41QjOoffs3nC7bKb2QvbDx'}, None]
What version of Home Assistant Core has the issue?
2024.11.3
What was the last working version of Home Assistant Core?
The problem
I use the Spotify integration, and the media browser to play a playlist from Spotify. It seems there's an issue with displaying/loading playlists in the mediabrowser as I'm getting an error when doing so:
This seems only to happen with Playlists, as finding artists seems to work fine.
Here's the error from the log:
What version of Home Assistant Core has the issue?
2024.11.3
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Spotify
Link to integration documentation on our website
No response
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response