music-assistant / hass-music-assistant

Turn your Home Assistant instance into a jukebox, hassle free streaming of your favorite media to Home Assistant media players.
Apache License 2.0
1.31k stars 48 forks source link

Tidal - playlists do not auto populate #1428

Closed oneofthemany closed 1 year ago

oneofthemany commented 1 year ago

What version of Music Assistant has the issue?

2.0.0b63

The problem

Unless you manually refresh playlists, they do not populate

How to reproduce

Create Tidal Music Provider > Access Playlists > empty

Relevant log output

2023-08-02 12:04:36.664 INFO (MainThread) [music_assistant] Starting Music Assistant Server (43e3c1c93182490890b7f8e9f191223c) version 2.0.0b63 - uvloop: False 2023-08-02 12:04:36.706 INFO (MainThread) [music_assistant.webserver] Starting server on 0.0.0.0:8095 - base url: http://192.168.1.1:8095 2023-08-02 12:04:36.871 INFO (MainThread) [music_assistant.music] Setting up the sync interval to 180 minutes. 2023-08-02 12:04:37.025 INFO (MainThread) [music_assistant.streams] Detected ffmpeg version 5.1.3 with libsoxr support 2023-08-02 12:04:37.026 INFO (MainThread) [music_assistant.streams] Starting server on 0.0.0.0:8096 - base url: http://192.168.1.1:8096 2023-08-02 12:04:37.560 INFO (MainThread) [music_assistant] Loaded player provider SONOS 2023-08-02 12:04:37.561 INFO (MainThread) [music_assistant] Loaded music provider URL 2023-08-02 12:04:37.563 INFO (MainThread) [music_assistant] Loaded player provider Universal Group Player 2023-08-02 12:04:37.564 INFO (MainThread) [music_assistant] Loaded metadata provider MusicBrainz Metadata provider 2023-08-02 12:04:37.564 INFO (MainThread) [music_assistant] Loaded metadata provider fanart.tv Metadata provider 2023-08-02 12:04:37.565 INFO (MainThread) [music_assistant] Loaded metadata provider TheAudioDB Metadata provider 2023-08-02 12:04:37.566 INFO (MainThread) [music_assistant] Loaded player provider UPnP/DLNA Player provider 2023-08-02 12:04:37.573 INFO (MainThread) [music_assistant.music] Sync task for URL completed 2023-08-02 12:04:37.582 INFO (MainThread) [music_assistant.providers.slimproto] Started SLIMProto server on port 3483 2023-08-02 12:04:37.583 INFO (MainThread) [music_assistant.providers.slimproto.cli] Registering jsonrpc endpoints on the webserver 2023-08-02 12:04:37.588 INFO (MainThread) [music_assistant] Loaded player provider Chromecast 2023-08-02 12:04:37.599 INFO (MainThread) [music_assistant.providers.slimproto.cli] Starting (telnet) CLI on port 9090 2023-08-02 12:04:37.610 INFO (MainThread) [music_assistant] Loaded player provider Slimproto 2023-08-02 12:04:37.620 ERROR (MainThread) [music_assistant.webserver] [547692953552] Error handling message: CommandMessage(message_id=30, command='music/artists/get_artist', args={'item_id': '1', 'provider_instance_id_or_domain': 'library'}) Traceback (most recent call last): File "/usr/local/lib/python3.11/site-packages/music_assistant/server/controllers/webserver.py", line 372, in _run_handler result = await result ^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/music_assistant/server/controllers/media/base.py", line 165, in get library_item = await self.get_library_item_by_prov_id( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/music_assistant/server/controllers/media/base.py", line 303, in get_library_item_by_prov_id return await self.get_library_item(item_id) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/music_assistant/server/controllers/media/base.py", line 292, in get_library_item raise MediaNotFoundError(f"{self.media_type.value} not found in library: {db_id}") music_assistant.common.models.errors.MediaNotFoundError: artist not found in library: 1 2023-08-02 12:04:37.768 INFO (MainThread) [music_assistant.players] Player registered: b2fe7f85-1797-44f8-957f-1747cf58a76f/Quadrophonic 2023-08-02 12:04:37.927 INFO (MainThread) [music_assistant.players] Player registered: c94acc21-d7ce-4a0d-bca4-1d2167f03302/Elena Broadcast 2023-08-02 12:04:38.088 INFO (MainThread) [music_assistant.players] Player registered: 7af6343c-8e4a-4d96-a6d6-cf971853cc0e/Home 2023-08-02 12:04:38.259 INFO (MainThread) [music_assistant.players] Player registered: c7c621ce-aa0b-44b1-8317-60cd92af9eba/Living Room Speaker 2023-08-02 12:04:38.426 INFO (MainThread) [music_assistant.players] Player registered: e62fde05-9013-ae07-21a8-832b81cbfae0/Speaker - Desk 2023-08-02 12:04:38.569 INFO (MainThread) [music_assistant] Loaded player provider Airplay 2023-08-02 12:04:38.590 INFO (MainThread) [music_assistant.players] Player registered: 4150f58d-0b98-4083-9c78-68df23829d32/Stereo Kitchen Pair 2023-08-02 12:04:38.754 INFO (MainThread) [music_assistant.players] Player registered: 7462796e-c3bf-4e19-925d-7d9f6508b938/Alarm Group 2023-08-02 12:04:38.907 INFO (MainThread) [music_assistant.players] Player registered: 1c16f7cc-add3-c994-ba77-ff709a72817c/Speaker - Master Bedroom 2023-08-02 12:04:38.981 INFO (MainThread) [music_assistant.players] Player registered: f65e5e5f-b6da-0b86-303c-87e3383e3888/Speaker - Elena's Room 2023-08-02 12:05:34.973 INFO (MainThread) [music_assistant] Loaded music provider Tidal 2023-08-02 12:05:39.001 WARNING (ThreadPoolExecutor-0_1) [tidalapi.request] HTTP error on 404 2023-08-02 12:05:39.003 WARNING (MainThread) [music_assistant.providers.tidal] Skipping sync of item tidal://track/279205265: album://279205262 not found on provider tidal 2023-08-02 12:06:00.942 INFO (MainThread) [music_assistant.metadata] Unable to get musicbrainz ID for artist Various Artists

2023-08-02 12:06:12.317 WARNING (MainThread) [music_assistant.music] Sync task for Tidal completed with errors Traceback (most recent call last): File "/usr/local/lib/python3.11/site-packages/music_assistant/server/controllers/music.py", line 571, in run_sync await provider.sync_library(media_types) File "/usr/local/lib/python3.11/site-packages/music_assistant/server/models/music_provider.py", line 418, in sync_library library_item = await controller.add_item_to_library( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/music_assistant/server/controllers/media/tracks.py", line 172, in add_item_to_library item.metadata.images.append(item.album.image) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'append' 2023-08-02 12:06:38.375 INFO (MainThread) [music_assistant.music] Sync task for URL completed 2023-08-02 12:06:38.598 WARNING (ThreadPoolExecutor-0_2) [tidalapi.request] HTTP error on 404 2023-08-02 12:06:38.600 WARNING (MainThread) [music_assistant.providers.tidal] Skipping sync of item tidal://track/279205265: album://279205262 not found on provider tidal 2023-08-02 12:06:38.608 WARNING (MainThread) [music_assistant.music] Sync task for Tidal completed with errors Traceback (most recent call last): File "/usr/local/lib/python3.11/site-packages/music_assistant/server/controllers/music.py", line 571, in run_sync await provider.sync_library(media_types) File "/usr/local/lib/python3.11/site-packages/music_assistant/server/models/music_provider.py", line 418, in sync_library library_item = await controller.add_item_to_library( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/music_assistant/server/controllers/media/tracks.py", line 172, in add_item_to_library item.metadata.images.append(item.album.image) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'append' 2023-08-02 12:06:40.100 INFO (MainThread) [music_assistant.music] Sync task for URL completed 2023-08-02 12:06:40.361 WARNING (ThreadPoolExecutor-0_3) [tidalapi.request] HTTP error on 404 2023-08-02 12:06:40.362 WARNING (MainThread) [music_assistant.providers.tidal] Skipping sync of item tidal://track/279205265: album://279205262 not found on provider tidal 2023-08-02 12:06:40.370 WARNING (MainThread) [music_assistant.music] Sync task for Tidal completed with errors Traceback (most recent call last): File "/usr/local/lib/python3.11/site-packages/music_assistant/server/controllers/music.py", line 571, in run_sync await provider.sync_library(media_types) File "/usr/local/lib/python3.11/site-packages/music_assistant/server/models/music_provider.py", line 418, in sync_library library_item = await controller.add_item_to_library( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/music_assistant/server/controllers/media/tracks.py", line 172, in add_item_to_library item.metadata.images.append(item.album.image) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'append' 2023-08-02 12:06:42.220 INFO (MainThread) [music_assistant.music] Sync task for URL completed 2023-08-02 12:06:42.437 WARNING (ThreadPoolExecutor-0_2) [tidalapi.request] HTTP error on 404 2023-08-02 12:06:42.439 WARNING (MainThread) [music_assistant.providers.tidal] Skipping sync of item tidal://track/279205265: album://279205262 not found on provider tidal 2023-08-02 12:06:42.447 WARNING (MainThread) [music_assistant.music] Sync task for Tidal completed with errors Traceback (most recent call last): File "/usr/local/lib/python3.11/site-packages/music_assistant/server/controllers/music.py", line 571, in run_sync await provider.sync_library(media_types) File "/usr/local/lib/python3.11/site-packages/music_assistant/server/models/music_provider.py", line 418, in sync_library library_item = await controller.add_item_to_library( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/music_assistant/server/controllers/media/tracks.py", line 172, in add_item_to_library item.metadata.images.append(item.album.image) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'append' 2023-08-02 12:06:52.731 INFO (MainThread) [music_assistant.music] Sync task for URL completed 2023-08-02 12:06:53.043 INFO (MainThread) [music_assistant.music] Sync task for Tidal completed

Additional information

No response

What version of Home Assistant Core are your running

2023.7.3

What type of installation are you running?

Home Assistant Container

On what type of hardware are you running?

Linux

jozefKruszynski commented 1 year ago

Logs would be helpful. I'm unable to reproduce with a fresh sync on beta63. However, there was another small bugfix that needs to be deployed before the full sync will work.

oneofthemany commented 1 year ago

ah apologies forgot to paste in

jozefKruszynski commented 1 year ago

No worries, from the looks of it, this is already fixed in the next release and was caused by the small bugfix I mentioned in my previous comment.

OzGav commented 1 year ago

@oneofthemany Please confirm this has been fixed

oneofthemany commented 1 year ago

@oneofthemany Please confirm this has been fixed

Nope still not working:

root@rock-5b:/home/rock# podman inspect music-assistant | grep io.hass.version | awk '{print$2}' "2.0.0b67",

LOGS BEFORE MANUAL SYNC:

2023-08-03 12:42:24.418 INFO (MainThread) [music_assistant] Starting Music Assistant Server (6c71132484c94959a758da430abccb37) version 2.0.0b67 - uvloop: False
2023-08-03 12:42:24.457 INFO (MainThread) [music_assistant.webserver] Starting server on  0.0.0.0:8095 - base url: http://192.168.1.1:8095
2023-08-03 12:42:24.624 INFO (MainThread) [music_assistant.music] Setting up the sync interval to 180 minutes.
2023-08-03 12:42:24.818 INFO (MainThread) [music_assistant.streams] Detected ffmpeg version 5.1.3 with libsoxr support
2023-08-03 12:42:24.819 INFO (MainThread) [music_assistant.streams] Starting server on  0.0.0.0:8096 - base url: http://192.168.1.1:8096
2023-08-03 12:42:25.344 INFO (MainThread) [music_assistant] Loaded player provider SONOS
2023-08-03 12:42:25.345 INFO (MainThread) [music_assistant] Loaded music provider URL
2023-08-03 12:42:25.346 INFO (MainThread) [music_assistant] Loaded player provider Universal Group Player
2023-08-03 12:42:25.346 INFO (MainThread) [music_assistant] Loaded metadata provider MusicBrainz Metadata provider
2023-08-03 12:42:25.346 INFO (MainThread) [music_assistant] Loaded metadata provider fanart.tv Metadata provider
2023-08-03 12:42:25.348 INFO (MainThread) [music_assistant] Loaded metadata provider TheAudioDB Metadata provider
2023-08-03 12:42:25.348 INFO (MainThread) [music_assistant] Loaded player provider UPnP/DLNA Player provider
2023-08-03 12:42:25.348 INFO (MainThread) [music_assistant.music] Sync task for URL completed
2023-08-03 12:42:25.356 INFO (MainThread) [music_assistant.providers.slimproto] Started SLIMProto server on port 3483
2023-08-03 12:42:25.358 INFO (MainThread) [music_assistant.providers.slimproto.cli] Registering jsonrpc endpoints on the webserver
2023-08-03 12:42:25.361 INFO (MainThread) [music_assistant] Loaded player provider Chromecast
2023-08-03 12:42:25.363 INFO (MainThread) [music_assistant.providers.slimproto.cli] Starting (telnet) CLI on port 9090
2023-08-03 12:42:25.371 INFO (MainThread) [music_assistant] Loaded player provider Slimproto
2023-08-03 12:42:25.523 INFO (MainThread) [music_assistant.players] Player registered: 4150f58d-0b98-4083-9c78-68df23829d32/Stereo Kitchen Pair
2023-08-03 12:42:25.674 INFO (MainThread) [music_assistant.players] Player registered: f65e5e5f-b6da-0b86-303c-87e3383e3888/Speaker - Elena's Room
2023-08-03 12:42:25.833 INFO (MainThread) [music_assistant.players] Player registered: b2fe7f85-1797-44f8-957f-1747cf58a76f/Quadrophonic
2023-08-03 12:42:25.988 INFO (MainThread) [music_assistant.players] Player registered: 7af6343c-8e4a-4d96-a6d6-cf971853cc0e/Home
2023-08-03 12:42:26.146 INFO (MainThread) [music_assistant.players] Player registered: 7462796e-c3bf-4e19-925d-7d9f6508b938/Alarm Group
2023-08-03 12:42:26.321 INFO (MainThread) [music_assistant.players] Player registered: c94acc21-d7ce-4a0d-bca4-1d2167f03302/Elena Broadcast
2023-08-03 12:42:26.363 INFO (MainThread) [music_assistant] Loaded player provider Airplay
2023-08-03 12:42:26.480 INFO (MainThread) [music_assistant.players] Player registered: c7c621ce-aa0b-44b1-8317-60cd92af9eba/Living Room Speaker
2023-08-03 12:42:26.557 INFO (MainThread) [music_assistant.players] Player registered: 1c16f7cc-add3-c994-ba77-ff709a72817c/Speaker - Master Bedroom
2023-08-03 12:42:26.716 INFO (MainThread) [music_assistant.players] Player registered: e62fde05-9013-ae07-21a8-832b81cbfae0/Speaker - Desk
2023-08-03 12:44:00.440 INFO (MainThread) [music_assistant] Loaded music provider Tidal
2023-08-03 12:44:04.167 INFO (MainThread) [music_assistant.providers.tidal] Artist 5602309 has no available picture
2023-08-03 12:44:04.333 INFO (MainThread) [music_assistant.providers.tidal] Artist 10148975 has no available picture
2023-08-03 12:44:04.501 INFO (MainThread) [music_assistant.providers.tidal] Artist 6842078 has no available picture
2023-08-03 12:44:04.666 INFO (MainThread) [music_assistant.providers.tidal] Artist 7742458 has no available picture
2023-08-03 12:44:04.830 INFO (MainThread) [music_assistant.providers.tidal] Artist 4612855 has no available picture
2023-08-03 12:44:04.998 INFO (MainThread) [music_assistant.providers.tidal] Artist 4209779 has no available picture
2023-08-03 12:44:06.257 INFO (MainThread) [music_assistant.providers.tidal] Artist 9128943 has no available picture
2023-08-03 12:44:06.421 INFO (MainThread) [music_assistant.providers.tidal] Artist 21483385 has no available picture
2023-08-03 12:44:11.123 INFO (MainThread) [music_assistant.providers.tidal] Artist 4711517 has no available picture
2023-08-03 12:44:13.691 INFO (MainThread) [music_assistant.providers.tidal] Artist 24305530 has no available picture
2023-08-03 12:44:13.848 INFO (MainThread) [music_assistant.providers.tidal] Artist 3523859 has no available picture
2023-08-03 12:44:14.319 INFO (MainThread) [music_assistant.providers.tidal] Artist 4168019 has no available picture
2023-08-03 12:44:14.507 INFO (MainThread) [music_assistant.providers.tidal] Artist 24305543 has no available picture
2023-08-03 12:44:14.854 INFO (MainThread) [music_assistant.providers.tidal] Artist 16753222 has no available picture
2023-08-03 12:44:15.013 INFO (MainThread) [music_assistant.providers.tidal] Artist 24305547 has no available picture
2023-08-03 12:44:15.335 INFO (MainThread) [music_assistant.providers.tidal] Artist 4881713 has no available picture
2023-08-03 12:44:15.673 INFO (MainThread) [music_assistant.providers.tidal] Artist 3601844 has no available picture
2023-08-03 12:44:15.822 INFO (MainThread) [music_assistant.providers.tidal] Artist 4651462 has no available picture
2023-08-03 12:44:15.989 INFO (MainThread) [music_assistant.providers.tidal] Artist 4312572 has no available picture
2023-08-03 12:44:16.464 INFO (MainThread) [music_assistant.providers.tidal] Artist 5646014 has no available picture
2023-08-03 12:44:16.685 INFO (MainThread) [music_assistant.providers.tidal] Artist 16779877 has no available picture
2023-08-03 12:44:16.837 INFO (MainThread) [music_assistant.providers.tidal] Artist 10998959 has no available picture
2023-08-03 12:44:17.008 INFO (MainThread) [music_assistant.providers.tidal] Artist 10789149 has no available picture
2023-08-03 12:44:17.167 INFO (MainThread) [music_assistant.providers.tidal] Artist 3524404 has no available picture
2023-08-03 12:44:17.350 INFO (MainThread) [music_assistant.providers.tidal] Artist 3950489 has no available picture
2023-08-03 12:44:17.513 INFO (MainThread) [music_assistant.providers.tidal] Artist 4199956 has no available picture
2023-08-03 12:44:17.686 INFO (MainThread) [music_assistant.providers.tidal] Artist 18830 has no available picture
2023-08-03 12:44:20.609 INFO (MainThread) [music_assistant.providers.tidal] Artist 4891 has no available picture
2023-08-03 12:44:20.772 INFO (MainThread) [music_assistant.providers.tidal] Artist 3521026 has no available picture
2023-08-03 12:44:21.052 INFO (MainThread) [music_assistant.providers.tidal] Artist 5943162 has no available picture
2023-08-03 12:44:21.315 INFO (MainThread) [music_assistant.providers.tidal] Artist 3643041 has no available picture
2023-08-03 12:44:21.521 INFO (MainThread) [music_assistant.providers.tidal] Artist 8374085 has no available picture
2023-08-03 12:44:21.893 INFO (MainThread) [music_assistant.providers.tidal] Artist 17100484 has no available picture
2023-08-03 12:44:22.055 INFO (MainThread) [music_assistant.providers.tidal] Artist 3946444 has no available picture
2023-08-03 12:44:22.273 INFO (MainThread) [music_assistant.providers.tidal] Artist 3544073 has no available picture
2023-08-03 12:44:22.534 INFO (MainThread) [music_assistant.providers.tidal] Artist 4577203 has no available picture
2023-08-03 12:44:22.711 INFO (MainThread) [music_assistant.providers.tidal] Artist 4194978 has no available picture
2023-08-03 12:44:22.973 INFO (MainThread) [music_assistant.providers.tidal] Artist 8374087 has no available picture
2023-08-03 12:44:23.169 INFO (MainThread) [music_assistant.providers.tidal] Artist 8374088 has no available picture
2023-08-03 12:44:23.338 INFO (MainThread) [music_assistant.providers.tidal] Artist 8374089 has no available picture
2023-08-03 12:44:23.512 INFO (MainThread) [music_assistant.providers.tidal] Artist 3583239 has no available picture
2023-08-03 12:44:23.724 INFO (MainThread) [music_assistant.providers.tidal] Artist 7250711 has no available picture
2023-08-03 12:44:23.892 INFO (MainThread) [music_assistant.providers.tidal] Artist 5053074 has no available picture
2023-08-03 12:44:24.094 INFO (MainThread) [music_assistant.providers.tidal] Artist 3583735 has no available picture
2023-08-03 12:44:24.280 INFO (MainThread) [music_assistant.providers.tidal] Artist 3888647 has no available picture
2023-08-03 12:44:24.501 INFO (MainThread) [music_assistant.providers.tidal] Artist 8374092 has no available picture
2023-08-03 12:44:24.846 INFO (MainThread) [music_assistant.providers.tidal] Artist 4567474 has no available picture
2023-08-03 12:44:25.221 INFO (MainThread) [music_assistant.providers.tidal] Artist 4812334 has no available picture
2023-08-03 12:44:25.558 INFO (MainThread) [music_assistant.providers.tidal] Artist 4634087 has no available picture
2023-08-03 12:44:38.799 INFO (MainThread) [music_assistant.providers.tidal] Artist 10381084 has no available picture
2023-08-03 12:44:39.028 INFO (MainThread) [music_assistant.providers.tidal] Artist 8173928 has no available picture
2023-08-03 12:44:39.245 INFO (MainThread) [music_assistant.providers.tidal] Artist 8268695 has no available picture
2023-08-03 12:44:40.056 WARNING (MainThread) [music_assistant.music] Sync task for Tidal completed with errors
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/music_assistant/server/controllers/music.py", line 571, in run_sync
    await provider.sync_library(media_types)
  File "/usr/local/lib/python3.11/site-packages/music_assistant/server/models/music_provider.py", line 415, in sync_library
    self.logger.debg(
    ^^^^^^^^^^^^^^^^
AttributeError: 'Logger' object has no attribute 'debg'
2023-08-03 12:44:40.120 INFO (MainThread) [music_assistant.providers.tidal] Artist 4312572 has no available picture
2023-08-03 12:44:40.712 INFO (MainThread) [music_assistant.providers.tidal] Artist 4312572 has no available picture
2023-08-03 12:44:40.962 INFO (MainThread) [music_assistant.providers.tidal] Artist 4312572 has no available picture
2023-08-03 12:45:12.293 INFO (MainThread) [music_assistant.providers.tidal] Artist 4209779 has no available picture
2023-08-03 12:45:12.769 INFO (MainThread) [music_assistant.providers.tidal] Artist 4209779 has no available picture

LOGS AFTER MANUAL SYNC

2023-08-03 12:50:19.399 INFO (MainThread) [music_assistant.music] Sync task for URL completed
2023-08-03 12:50:30.769 INFO (MainThread) [music_assistant.music] Sync task for Tidal completed
2023-08-03 12:50:39.331 INFO (MainThread) [music_assistant.music] Sync task for URL completed
2023-08-03 12:50:39.665 INFO (MainThread) [music_assistant.music] Sync task for Tidal completed
2023-08-03 12:50:43.882 INFO (MainThread) [music_assistant.providers.tidal] Artist 24305547 has no available picture
2023-08-03 12:50:44.383 INFO (MainThread) [music_assistant.providers.tidal] Artist 24305547 has no available picture
2023-08-03 12:50:44.617 INFO (MainThread) [music_assistant.providers.tidal] Artist 24305547 has no available picture
2023-08-03 12:50:49.606 INFO (MainThread) [music_assistant.music] Sync task for URL completed
2023-08-03 12:50:49.835 WARNING (MainThread) [music_assistant.music] Sync task for Tidal completed with errors
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/music_assistant/server/controllers/music.py", line 571, in run_sync
    await provider.sync_library(media_types)
  File "/usr/local/lib/python3.11/site-packages/music_assistant/server/models/music_provider.py", line 415, in sync_library
    self.logger.debg(
    ^^^^^^^^^^^^^^^^
AttributeError: 'Logger' object has no attribute 'debg'
2023-08-03 12:50:51.842 INFO (MainThread) [music_assistant.metadata] Unable to get musicbrainz ID for artist Basic-Variation
 - using lookup-album(s): fabric presents Danilo Plessow (MCDE) (DJ Mix)/fabric presents Danilo Plessow (MCDE) (DJ Mix)
 - using lookup-track(s): Decay/Sustain/Release/Decay/Sustain/Release

2023-08-03 12:50:59.745 INFO (MainThread) [music_assistant.music] Sync task for URL completed
2023-08-03 12:50:59.910 WARNING (MainThread) [music_assistant.music] Sync task for Tidal completed with errors
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/music_assistant/server/controllers/music.py", line 571, in run_sync
    await provider.sync_library(media_types)
  File "/usr/local/lib/python3.11/site-packages/music_assistant/server/models/music_provider.py", line 415, in sync_library
    self.logger.debg(
    ^^^^^^^^^^^^^^^^
AttributeError: 'Logger' object has no attribute 'debg'
OzGav commented 1 year ago

That error is not the same as you posted before. So confirm if there is actually a noticable problem in the frontend. What you see above might just be a typo in the code actually. Does debg = debug @jozefKruszynski ??

oneofthemany commented 1 year ago

That error is not the same as you posted before. So confirm if there is actually a noticable problem in the frontend. What you see above might just be a typo in the code actually. Does debg = debug @jozefKruszynski ??

If this is directed to me, I am still having to manually sync to pull in playlists - however I have noticed that when you go to artists it auto populates tracks without having to go to specific albums for that function to happen so that seems to be fixed.

In terms of the logs, I separated the logs from before and after I manually synced to perhaps give an insight as to what was happening.

If there is another error, that is out of my control sadly

OzGav commented 1 year ago

Sync will be done on server start and then every three hours. Are you saying that the playlist doesn't get pulled down after the initial start? It is possible that typo is the problem but just trying to get all the needed info.

oneofthemany commented 1 year ago

Sync will be done on server start and then every three hours. Are you saying that the playlist doesn't get pulled down after the initial start? It is possible that typo is the problem but just trying to get all the needed info.

Yes

It would appear that there are sync issues as we also see images are not being pulled on inital sync - Artist 8374087 has no available picture, but then manually refresh brings up picture

Additionally there are discrepancies in Artists numbers from the Home Screen to the Artists Tab:

image

image

Shall I open another issue for that?

marcelveldt commented 1 year ago

The typo is causing the sync to crash. Typo fixed in next beta build

oneofthemany commented 1 year ago

The typo is causing the sync to crash. Typo fixed in next beta build

Cool let me know if you would like me to test and verify

OzGav commented 1 year ago

@oneofthemany please confirm this has been fixed

oneofthemany commented 1 year ago

@oneofthemany please confirm this has been fixed

ill test later - have work commitments :D

oneofthemany commented 1 year ago

Fixed

Many thanks