Closed bruvv closed 1 month ago
Just to add a note, I tried to debug this a bit more and what I did is as follows:
2024-08-01 10:50:25.107 WARNING (MainThread) [music_assistant.music] Sync task for YouTube Music completed with errors
2024-08-01 10:50:45.398 ERROR (MainThread) [music_assistant.webserver] Error handling message: music/playlists/playlist_tracks: 'NoneType' object has no attribute 'lower'
(full log):
2024-08-01 10:44:16.801 INFO (MainThread) [music_assistant] Starting Music Assistant Server (ff0721ffe4f14ae48d2c0a9009eee01b) version 2.1.0 - HA add-on: True - Safe mode: False
2024-08-01 10:44:16.826 INFO (MainThread) [music_assistant.cache] Initializing cache controller...
2024-08-01 10:44:17.359 INFO (MainThread) [music_assistant.music] Using a sync interval of 180 minutes.
2024-08-01 10:44:17.978 INFO (MainThread) [music_assistant.streams] Detected ffmpeg version 6.0.1 with libsoxr support
2024-08-01 10:44:17.979 INFO (MainThread) [music_assistant.streams] Starting server on 0.0.0.0:8097 - base url: http://10.92.69.3:8097
2024-08-01 10:44:18.007 INFO (MainThread) [music_assistant.webserver] Starting server on 172.30.32.1:8095 - base url: http://172.30.32.1:8095
2024-08-01 10:44:18.310 INFO (MainThread) [music_assistant] Loaded metadata provider TheAudioDB Metadata provider
2024-08-01 10:44:18.311 INFO (MainThread) [music_assistant] Loaded metadata provider MusicBrainz Metadata provider
2024-08-01 10:44:18.313 INFO (MainThread) [music_assistant] Loaded metadata provider fanart.tv Metadata provider
2024-08-01 10:44:18.314 INFO (MainThread) [music_assistant] Loaded music provider Music Assistant
2024-08-01 10:44:18.573 INFO (MainThread) [music_assistant.music] Sync task for Music Assistant completed
2024-08-01 10:49:22.170 INFO (MainThread) [music_assistant.webserver] Starting server on 0.0.0.0:8095 - base url: http://10.92.69.3:8095
2024-08-01 10:49:32.876 INFO (MainThread) [music_assistant] Loaded player provider Chromecast
2024-08-01 10:49:33.165 INFO (MainThread) [music_assistant.players] Player registered: 5eb78e59-e91b-3c66-11fd-68db62710713/Living room Speaker
2024-08-01 10:49:33.443 INFO (MainThread) [music_assistant.players] Player registered: 62765a34-f8a0-e79a-1174-1086ccf03f14/Bathroom speaker
2024-08-01 10:49:33.703 INFO (MainThread) [music_assistant.players] Player registered: dcd9ff84-e282-5255-1baf-cefef9a2cdf4/Bedroom speaker
2024-08-01 10:49:33.774 INFO (MainThread) [music_assistant.players] Player registered: cb23004d-cac9-4592-abc4-1baa5da0e4ca/Speakers
2024-08-01 10:49:58.194 INFO (MainThread) [music_assistant] Loaded music provider YouTube Music
2024-08-01 10:50:25.107 WARNING (MainThread) [music_assistant.music] Sync task for YouTube Music completed with errors
2024-08-01 10:50:45.398 ERROR (MainThread) [music_assistant.webserver] Error handling message: music/playlists/playlist_tracks: 'NoneType' object has no attribute 'lower'
@MarvinSchenkel
Just to add a note, I tried to debug this a bit more and what I did is as follows:
- Uninstalled addon
- Removed service
- restarted home assistant (not HA OS)
- Installed addon
- Added chromecast as player provider
- Added youtube music
- Went to my liked playlist track and it will never load and I see this in the loggin:
2024-08-01 10:50:25.107 WARNING (MainThread) [music_assistant.music] Sync task for YouTube Music completed with errors 2024-08-01 10:50:45.398 ERROR (MainThread) [music_assistant.webserver] Error handling message: music/playlists/playlist_tracks: 'NoneType' object has no attribute 'lower'
(full log):
2024-08-01 10:44:16.801 INFO (MainThread) [music_assistant] Starting Music Assistant Server (ff0721ffe4f14ae48d2c0a9009eee01b) version 2.1.0 - HA add-on: True - Safe mode: False 2024-08-01 10:44:16.826 INFO (MainThread) [music_assistant.cache] Initializing cache controller... 2024-08-01 10:44:17.359 INFO (MainThread) [music_assistant.music] Using a sync interval of 180 minutes. 2024-08-01 10:44:17.978 INFO (MainThread) [music_assistant.streams] Detected ffmpeg version 6.0.1 with libsoxr support 2024-08-01 10:44:17.979 INFO (MainThread) [music_assistant.streams] Starting server on 0.0.0.0:8097 - base url: http://10.92.69.3:8097 2024-08-01 10:44:18.007 INFO (MainThread) [music_assistant.webserver] Starting server on 172.30.32.1:8095 - base url: http://172.30.32.1:8095 2024-08-01 10:44:18.310 INFO (MainThread) [music_assistant] Loaded metadata provider TheAudioDB Metadata provider 2024-08-01 10:44:18.311 INFO (MainThread) [music_assistant] Loaded metadata provider MusicBrainz Metadata provider 2024-08-01 10:44:18.313 INFO (MainThread) [music_assistant] Loaded metadata provider fanart.tv Metadata provider 2024-08-01 10:44:18.314 INFO (MainThread) [music_assistant] Loaded music provider Music Assistant 2024-08-01 10:44:18.573 INFO (MainThread) [music_assistant.music] Sync task for Music Assistant completed 2024-08-01 10:49:22.170 INFO (MainThread) [music_assistant.webserver] Starting server on 0.0.0.0:8095 - base url: http://10.92.69.3:8095 2024-08-01 10:49:32.876 INFO (MainThread) [music_assistant] Loaded player provider Chromecast 2024-08-01 10:49:33.165 INFO (MainThread) [music_assistant.players] Player registered: 5eb78e59-e91b-3c66-11fd-68db62710713/Living room Speaker 2024-08-01 10:49:33.443 INFO (MainThread) [music_assistant.players] Player registered: 62765a34-f8a0-e79a-1174-1086ccf03f14/Bathroom speaker 2024-08-01 10:49:33.703 INFO (MainThread) [music_assistant.players] Player registered: dcd9ff84-e282-5255-1baf-cefef9a2cdf4/Bedroom speaker 2024-08-01 10:49:33.774 INFO (MainThread) [music_assistant.players] Player registered: cb23004d-cac9-4592-abc4-1baa5da0e4ca/Speakers 2024-08-01 10:49:58.194 INFO (MainThread) [music_assistant] Loaded music provider YouTube Music 2024-08-01 10:50:25.107 WARNING (MainThread) [music_assistant.music] Sync task for YouTube Music completed with errors 2024-08-01 10:50:45.398 ERROR (MainThread) [music_assistant.webserver] Error handling message: music/playlists/playlist_tracks: 'NoneType' object has no attribute 'lower'
This error could indicate there are no tracks in the playlist. Do you have any tracks in your liked playlist if you check it in the YT Music app?
Thanks for the reply. All the playlists i have have songs in them. Even my liked list.
Thanks for the reply. All the playlists i have have songs in them. Even my liked list.
Alright, can you please enable debug logging for YT Music, retry your action and send me the more detailed logs?
I tried it with the latest version of MA and this did not return so I will close this.
What version of Music Assistant has the issue?
2.1.0
What version of the Home Assistant Integration have you got installed?
2024.7.3
Have you tried everything in the Troubleshooting FAQ and reviewed the Open and Closed Issues and Discussions to resolve this yourself?
The problem
I am seeing a bunch of errors in the logging, i do not see anything weird happening in the front end tho:
How to reproduce
Connect youtube music and see the logging
Music Providers
Spotify youtube music tune-in
Player Providers
Chromecast
Full log output
music-assistant.log.log
Additional information
No response
What version of Home Assistant Core are your running
2024.7.3
What type of installation are you running?
Home Assistant OS
On what type of hardware are you running?
Generic x86-64 (e.g. Intel NUC)