Hej, od aktualizacji systemu do 0.111.6 mam problem ze spotify. Po aktualizacji usunąłem integrację i ponownie dodałem, zgodnie z instrukcją.
Bramka AIS podłączona przez HDMI do monitora, aplikacja spotify na bramce działa, słychać muzykę, na innych urządzeniach w aplikacji spotify widoczne urządzenie ai-speaker.com. Można sterować z telefonu, tabletu itp.
Problem zaczyna się gdy korzystam z zakładki Audio dostępnej w Asystencie domowym. Muzyka jest wyszukiwana, wyświetlają się moje playlisty oraz ulubione utwory. Jednak niczego nie można odtworzyć. Brak dźwięku, ai-speaker.com znika z aplikacji spotify na innych urządzeniach. W logach pojawia się błąd:
Logger: homeassistant.core
Source: components/ais_spotify_service/__init__.py:332
First occurred: 15:47:15 (3 occurrences)
Last logged: 15:48:17
Error executing service: <ServiceCall ais_spotify_service.select_search_uri (c:b552531798d640f2a60d3716f6a940c8): id=0>
Error executing service: <ServiceCall ais_spotify_service.select_search_uri (c:a98b01f1cf9d4b0c89e8018c88c01e0e): id=1>
Error executing service: <ServiceCall ais_spotify_service.select_search_uri (c:92ecd99c9b6a45eca782b261e67f86bb): id=8>
Traceback (most recent call last):
File "/data/data/pl.sviete.dom/files/usr/lib/python3.7/site-packages/spotipy/client.py", line 137, in _internal_call
r.raise_for_status()
File "/data/data/pl.sviete.dom/files/usr/lib/python3.7/site-packages/requests/models.py", line 941, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://api.spotify.com/v1/playlists/46lyJh9GYmWsHez3EsvmAx
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/data/data/pl.sviete.dom/files/usr/lib/python3.7/site-packages/homeassistant/core.py", line 1297, in catch_exceptions
await coro_or_task
File "/data/data/pl.sviete.dom/files/usr/lib/python3.7/site-packages/homeassistant/core.py", line 1320, in _execute_service
await self._hass.async_add_executor_job(handler.func, service_call)
File "/data/data/pl.sviete.dom/files/usr/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/data/data/pl.sviete.dom/files/usr/lib/python3.7/site-packages/homeassistant/components/ais_spotify_service/__init__.py", line 123, in select_search_uri
data.select_search_uri(call)
File "/data/data/pl.sviete.dom/files/usr/lib/python3.7/site-packages/homeassistant/components/ais_spotify_service/__init__.py", line 587, in select_search_uri
self.hass.loop,
File "/data/data/pl.sviete.dom/files/usr/lib/python3.7/concurrent/futures/_base.py", line 435, in result
return self.__get_result()
File "/data/data/pl.sviete.dom/files/usr/lib/python3.7/concurrent/futures/_base.py", line 384, in __get_result
raise self._exception
File "/data/data/pl.sviete.dom/files/usr/lib/python3.7/site-packages/homeassistant/components/ais_spotify_service/__init__.py", line 332, in async_get_tracks_list
response = self._spotify.user_playlist(item_owner_id, item_uri)
File "/data/data/pl.sviete.dom/files/usr/lib/python3.7/site-packages/spotipy/client.py", line 440, in user_playlist
return self.playlist(playlist_id, fields=fields, market=market)
File "/data/data/pl.sviete.dom/files/usr/lib/python3.7/site-packages/spotipy/client.py", line 391, in playlist
return self._get("playlists/%s" % (plid), fields=fields, market=market)
File "/data/data/pl.sviete.dom/files/usr/lib/python3.7/site-packages/spotipy/client.py", line 164, in _get
return self._internal_call('GET', url, payload, kwargs)
File "/data/data/pl.sviete.dom/files/usr/lib/python3.7/site-packages/spotipy/client.py", line 145, in _internal_call
headers=r.headers)
spotipy.client.SpotifyException: http status: 404, code:-1 - https://api.spotify.com/v1/playlists/46lyJh9GYmWsHez3EsvmAx:
Not found.
wchodząc pod adres: https://api.spotify.com/v1/playlists/46lyJh9GYmWsHez3EsvmAx
jest:
"error": {
"status": 401,
"message": "No token provided"
}
}