ioBroker.spotify-premium
ioBroker.spotify-premium copied to clipboard
playlist error no playlist content / empty playlist name
Describe the bug
I am using the Spotify premium adapter for the NSPanel MediaPage but getting a lot of errors.
I assume they root cause could be the playlist error no playlist content / empty playlist name errors that occur periodically.
iobroker log:
2025-01-31 15:51:20.445 - warn: spotify-premium.0 (43450) empty playlist name 2025-01-31 15:51:22.339 - warn: spotify-premium.0 (43450) http request error not handled, please debug 2025-01-31 15:51:22.339 - warn: spotify-premium.0 (43450) Error: at sendRequest (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:260:23) at /opt/iobroker/node_modules/iobroker.spotify-premium/main.js:368:25 2025-01-31 15:51:22.340 - warn: spotify-premium.0 (43450) Error: at /opt/iobroker/node_modules/iobroker.spotify-premium/main.js:379:34 at processTicksAndRejections (node:internal/process/task_queues:95:5) 2025-01-31 15:51:22.342 - error: spotify-premium.0 (43450) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). 2025-01-31 15:51:22.342 - error: spotify-premium.0 (43450) unhandled promise rejection: undefined 2025-01-31 15:51:22.342 - error: spotify-premium.0 (43450) undefined 2025-01-31 15:51:22.623 - info: spotify-premium.0 (43450) terminating 2025-01-31 15:51:22.625 - warn: spotify-premium.0 (43450) Terminated (UNCAUGHT_EXCEPTION): Without reason 2025-01-31 15:51:22.953 - info: spotify-premium.0 (43450) terminating 2025-01-31 15:51:23.236 - error: host.iobroker Caught by controller[1]: TypeError: Cannot read properties of undefined (reading 'name') 2025-01-31 15:51:23.237 - error: host.iobroker Caught by controller[1]: at eval (eval at loadOrDefault (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:391:19), :3:12) 2025-01-31 15:51:23.237 - error: host.iobroker Caught by controller[1]: at loadOrDefault (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:392:13) 2025-01-31 15:51:23.237 - error: host.iobroker Caught by controller[1]: at refreshPlaylist (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:697:46) 2025-01-31 15:51:23.237 - error: host.iobroker Caught by controller[2]: TypeError: Cannot read properties of undefined (reading 'images') 2025-01-31 15:51:23.237 - error: host.iobroker Caught by controller[2]: at eval (eval at loadOrDefault (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:391:19), :3:12) 2025-01-31 15:51:23.237 - error: host.iobroker Caught by controller[2]: at loadOrDefault (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:392:13) 2025-01-31 15:51:23.238 - error: host.iobroker Caught by controller[2]: at refreshPlaylist (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:700:47) 2025-01-31 15:51:23.238 - error: host.iobroker Caught by controller[2]: TypeError: Cannot read properties of undefined (reading 'owner') 2025-01-31 15:51:23.238 - error: host.iobroker Caught by controller[2]: at eval (eval at loadOrDefault (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:391:19), :3:12) 2025-01-31 15:51:23.238 - error: host.iobroker Caught by controller[2]: at loadOrDefault (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:392:13) 2025-01-31 15:51:23.238 - error: host.iobroker Caught by controller[2]: at refreshPlaylist (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:702:41) 2025-01-31 15:51:23.238 - error: host.iobroker Caught by controller[3]: TypeError: Cannot read properties of undefined (reading 'tracks') 2025-01-31 15:51:23.238 - error: host.iobroker Caught by controller[3]: at eval (eval at loadOrDefault (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:391:19), :3:12) 2025-01-31 15:51:23.238 - error: host.iobroker Caught by controller[3]: at loadOrDefault (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:392:13) 2025-01-31 15:51:23.238 - error: host.iobroker Caught by controller[3]: at refreshPlaylist (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:703:44) 2025-01-31 15:51:23.239 - error: host.iobroker Caught by controller[4]: TypeError: Cannot read properties of undefined (reading 'name') 2025-01-31 15:51:23.239 - error: host.iobroker Caught by controller[4]: at eval (eval at loadOrDefault (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:391:19), :3:12) 2025-01-31 15:51:23.239 - error: host.iobroker Caught by controller[4]: at loadOrDefault (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:392:13) 2025-01-31 15:51:23.239 - error: host.iobroker Caught by controller[4]: at refreshPlaylist (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:697:46) 2025-01-31 15:51:23.239 - error: host.iobroker Caught by controller[5]: TypeError: Cannot read properties of undefined (reading 'images') 2025-01-31 15:51:23.239 - error: host.iobroker Caught by controller[5]: at eval (eval at loadOrDefault (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:391:19), :3:12) 2025-01-31 15:51:23.239 - error: host.iobroker Caught by controller[5]: at loadOrDefault (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:392:13) 2025-01-31 15:51:23.239 - error: host.iobroker Caught by controller[5]: at refreshPlaylist (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:700:47) 2025-01-31 15:51:23.239 - error: host.iobroker Caught by controller[6]: TypeError: Cannot read properties of undefined (reading 'owner') 2025-01-31 15:51:23.239 - error: host.iobroker Caught by controller[6]: at eval (eval at loadOrDefault (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:391:19), :3:12) 2025-01-31 15:51:23.240 - error: host.iobroker Caught by controller[6]: at loadOrDefault (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:392:13) 2025-01-31 15:51:23.240 - error: host.iobroker Caught by controller[6]: at refreshPlaylist (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:702:41) 2025-01-31 15:51:23.240 - error: host.iobroker Caught by controller[7]: TypeError: Cannot read properties of undefined (reading 'tracks') 2025-01-31 15:51:23.240 - error: host.iobroker Caught by controller[7]: at eval (eval at loadOrDefault (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:391:19), :3:12) 2025-01-31 15:51:23.240 - error: host.iobroker Caught by controller[7]: at loadOrDefault (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:392:13) 2025-01-31 15:51:23.240 - error: host.iobroker Caught by controller[7]: at refreshPlaylist (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:703:44) 2025-01-31 15:51:23.240 - error: host.iobroker Caught by controller[8]: TypeError: Cannot read properties of undefined (reading 'name') 2025-01-31 15:51:23.240 - error: host.iobroker Caught by controller[8]: at eval (eval at loadOrDefault (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:391:19), :3:12) 2025-01-31 15:51:23.240 - error: host.iobroker Caught by controller[8]: at loadOrDefault (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:392:13) 2025-01-31 15:51:23.240 - error: host.iobroker Caught by controller[8]: at fn (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:895:30) 2025-01-31 15:51:23.240 - error: host.iobroker Caught by controller[8]: at /opt/iobroker/node_modules/iobroker.spotify-premium/main.js:1037:25 2025-01-31 15:51:23.241 - error: host.iobroker Caught by controller[9]: TypeError: Cannot read properties of undefined (reading 'name') 2025-01-31 15:51:23.241 - error: host.iobroker Caught by controller[9]: at eval (eval at loadOrDefault (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:391:19), :3:12) 2025-01-31 15:51:23.241 - error: host.iobroker Caught by controller[9]: at loadOrDefault (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:392:13) 2025-01-31 15:51:23.241 - error: host.iobroker Caught by controller[9]: at fn (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:895:30) 2025-01-31 15:51:23.241 - error: host.iobroker Caught by controller[9]: at /opt/iobroker/node_modules/iobroker.spotify-premium/main.js:1037:25 2025-01-31 15:51:23.241 - error: host.iobroker Caught by controller[10]: TypeError: Cannot read properties of undefined (reading 'name') 2025-01-31 15:51:23.241 - error: host.iobroker Caught by controller[10]: at eval (eval at loadOrDefault (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:391:19), :3:12) 2025-01-31 15:51:23.241 - error: host.iobroker Caught by controller[10]: at loadOrDefault (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:392:13) 2025-01-31 15:51:23.241 - error: host.iobroker Caught by controller[10]: at refreshPlaylist (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:697:46) 2025-01-31 15:51:23.241 - error: host.iobroker Caught by controller[11]: TypeError: Cannot read properties of undefined (reading 'images') 2025-01-31 15:51:23.241 - error: host.iobroker Caught by controller[11]: at eval (eval at loadOrDefault (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:391:19), :3:12) 2025-01-31 15:51:23.242 - error: host.iobroker Caught by controller[11]: at loadOrDefault (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:392:13) 2025-01-31 15:51:23.242 - error: host.iobroker Caught by controller[11]: at refreshPlaylist (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:700:47) 2025-01-31 15:51:23.242 - error: host.iobroker Caught by controller[11]: TypeError: Cannot read properties of undefined (reading 'owner') 2025-01-31 15:51:23.242 - error: host.iobroker Caught by controller[11]: at eval (eval at loadOrDefault (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:391:19), :3:12) 2025-01-31 15:51:23.242 - error: host.iobroker Caught by controller[11]: at loadOrDefault (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:392:13) 2025-01-31 15:51:23.242 - error: host.iobroker Caught by controller[11]: at refreshPlaylist (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:702:41) 2025-01-31 15:51:23.242 - error: host.iobroker Caught by controller[11]: TypeError: Cannot read properties of undefined (reading 'tracks') 2025-01-31 15:51:23.242 - error: host.iobroker Caught by controller[11]: at eval (eval at loadOrDefault (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:391:19), :3:12) 2025-01-31 15:51:23.242 - error: host.iobroker Caught by controller[11]: at loadOrDefault (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:392:13) 2025-01-31 15:51:23.242 - error: host.iobroker Caught by controller[11]: at refreshPlaylist (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:703:44) 2025-01-31 15:51:23.243 - error: host.iobroker Caught by controller[12]: TypeError: Cannot read properties of undefined (reading 'name') 2025-01-31 15:51:23.243 - error: host.iobroker Caught by controller[12]: at eval (eval at loadOrDefault (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:391:19), :3:12) 2025-01-31 15:51:23.243 - error: host.iobroker Caught by controller[12]: at loadOrDefault (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:392:13) 2025-01-31 15:51:23.243 - error: host.iobroker Caught by controller[12]: at fn (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:895:30) 2025-01-31 15:51:23.243 - error: host.iobroker Caught by controller[12]: at /opt/iobroker/node_modules/iobroker.spotify-premium/main.js:1037:25 2025-01-31 15:51:23.243 - error: host.iobroker Caught by controller[13]: TypeError: Cannot read properties of undefined (reading 'name') 2025-01-31 15:51:23.243 - error: host.iobroker Caught by controller[13]: at eval (eval at loadOrDefault (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:391:19), :3:12) 2025-01-31 15:51:23.243 - error: host.iobroker Caught by controller[13]: at loadOrDefault (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:392:13) 2025-01-31 15:51:23.243 - error: host.iobroker Caught by controller[13]: at refreshPlaylist (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:697:46) 2025-01-31 15:51:23.243 - error: host.iobroker Caught by controller[14]: TypeError: Cannot read properties of undefined (reading 'images') 2025-01-31 15:51:23.244 - error: host.iobroker Caught by controller[14]: at eval (eval at loadOrDefault (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:391:19), :3:12) 2025-01-31 15:51:23.244 - error: host.iobroker Caught by controller[14]: at loadOrDefault (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:392:13) 2025-01-31 15:51:23.244 - error: host.iobroker Caught by controller[14]: at refreshPlaylist (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:700:47) 2025-01-31 15:51:23.244 - error: host.iobroker Caught by controller[14]: TypeError: Cannot read properties of undefined (reading 'owner') 2025-01-31 15:51:23.244 - error: host.iobroker Caught by controller[14]: at eval (eval at loadOrDefault (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:391:19), :3:12) 2025-01-31 15:51:23.244 - error: host.iobroker Caught by controller[14]: at loadOrDefault (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:392:13) 2025-01-31 15:51:23.244 - error: host.iobroker Caught by controller[14]: at refreshPlaylist (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:702:41) 2025-01-31 15:51:23.244 - error: host.iobroker Caught by controller[15]: TypeError: Cannot read properties of undefined (reading 'tracks') 2025-01-31 15:51:23.244 - error: host.iobroker Caught by controller[15]: at eval (eval at loadOrDefault (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:391:19), :3:12) 2025-01-31 15:51:23.244 - error: host.iobroker Caught by controller[15]: at loadOrDefault (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:392:13) 2025-01-31 15:51:23.244 - error: host.iobroker Caught by controller[15]: at refreshPlaylist (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:703:44) 2025-01-31 15:51:23.245 - error: host.iobroker Caught by controller[16]: TypeError: Cannot read properties of undefined (reading 'name') 2025-01-31 15:51:23.245 - error: host.iobroker Caught by controller[16]: at eval (eval at loadOrDefault (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:391:19), :3:12) 2025-01-31 15:51:23.245 - error: host.iobroker Caught by controller[16]: at loadOrDefault (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:392:13) 2025-01-31 15:51:23.245 - error: host.iobroker Caught by controller[16]: at refreshPlaylist (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:697:46) 2025-01-31 15:51:23.245 - error: host.iobroker Caught by controller[17]: TypeError: Cannot read properties of undefined (reading 'images') 2025-01-31 15:51:23.245 - error: host.iobroker Caught by controller[17]: at eval (eval at loadOrDefault (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:391:19), :3:12) 2025-01-31 15:51:23.245 - error: host.iobroker Caught by controller[17]: at loadOrDefault (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:392:13) 2025-01-31 15:51:23.245 - error: host.iobroker Caught by controller[17]: at refreshPlaylist (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:700:47) 2025-01-31 15:51:23.245 - error: host.iobroker Caught by controller[18]: TypeError: Cannot read properties of undefined (reading 'owner') 2025-01-31 15:51:23.245 - error: host.iobroker Caught by controller[18]: at eval (eval at loadOrDefault (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:391:19), :3:12) 2025-01-31 15:51:23.246 - error: host.iobroker Caught by controller[18]: at loadOrDefault (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:392:13) 2025-01-31 15:51:23.246 - error: host.iobroker Caught by controller[18]: at refreshPlaylist (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:702:41) 2025-01-31 15:51:23.246 - error: host.iobroker Caught by controller[19]: TypeError: Cannot read properties of undefined (reading 'tracks') 2025-01-31 15:51:23.246 - error: host.iobroker Caught by controller[19]: at eval (eval at loadOrDefault (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:391:19), :3:12) 2025-01-31 15:51:23.246 - error: host.iobroker Caught by controller[19]: at loadOrDefault (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:392:13) 2025-01-31 15:51:23.246 - error: host.iobroker Caught by controller[19]: at refreshPlaylist (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:703:44) 2025-01-31 15:51:23.246 - error: host.iobroker Caught by controller[20]: TypeError: Cannot read properties of undefined (reading 'name') 2025-01-31 15:51:23.246 - error: host.iobroker Caught by controller[20]: at eval (eval at loadOrDefault (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:391:19), :3:12) 2025-01-31 15:51:23.246 - error: host.iobroker Caught by controller[20]: at loadOrDefault (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:392:13) 2025-01-31 15:51:23.246 - error: host.iobroker Caught by controller[20]: at fn (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:895:30) 2025-01-31 15:51:23.246 - error: host.iobroker Caught by controller[20]: at /opt/iobroker/node_modules/iobroker.spotify-premium/main.js:1037:25 2025-01-31 15:51:23.247 - error: host.iobroker Caught by controller[21]: TypeError: Cannot read properties of undefined (reading 'name') 2025-01-31 15:51:23.247 - error: host.iobroker Caught by controller[21]: at eval (eval at loadOrDefault (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:391:19), :3:12) 2025-01-31 15:51:23.247 - error: host.iobroker Caught by controller[21]: at loadOrDefault (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:392:13) 2025-01-31 15:51:23.247 - error: host.iobroker Caught by controller[21]: at fn (/opt/iobroker/node_modules/iobroker.spotify-premium/main.js:895:30) 2025-01-31 15:51:23.247 - error: host.iobroker Caught by controller[21]: at /opt/iobroker/node_modules/iobroker.spotify-premium/main.js:1037:25 2025-01-31 15:51:23.247 - error: host.iobroker Caught by controller[22]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason: 2025-01-31 15:51:23.247 - error: host.iobroker Caught by controller[23]: 504 2025-01-31 15:51:23.247 - error: host.iobroker instance system.adapter.spotify-premium.0 terminated with code 6 (UNCAUGHT_EXCEPTION) 2025-01-31 15:51:23.248 - info: host.iobroker Restart adapter system.adapter.spotify-premium.0 because enabled 2025-01-31 15:51:53.828 - info: host.iobroker instance system.adapter.spotify-premium.0 in version "1.5.2" started with pid 43466 2025-01-31 15:51:58.399 - info: spotify-premium.0 (43466) starting. Version 1.5.2 in /opt/iobroker/node_modules/iobroker.spotify-premium, node: v18.20.4, js-controller: 7.0.6
Versions:
- Adapter version: 1.5.2
- JS-Controller version: 7.0.6
- Node version: v18.20.4
- NPM: 10.7.0
- Operating system: linux
Additional context
I deleted a lot of playlists to but not all, to check if it is because of a specific playlist.
I also reinstalled the adapter but with no effect.