Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tracks list is empty #3501

Open
1 task done
Maxmystere opened this issue Jan 26, 2025 · 10 comments
Open
1 task done

Tracks list is empty #3501

Maxmystere opened this issue Jan 26, 2025 · 10 comments
Assignees

Comments

@Maxmystere
Copy link

Maxmystere commented Jan 26, 2025

What version of Music Assistant has the issue?

2.3.6

Have you tried everything in the Troubleshooting FAQ and reviewed the Open and Closed Issues and Discussions to resolve this yourself?

  • Yes

The problem

Whenever I try to add a Subsonic Music provider (LMS) it will sync successfuly but when viewing the Tracks tab there won't be any songs, viewing the tracks inside an artist/album will work

(sorry for the FR screenshots)

Album view :
Image

Tracks view :
Image

How to reproduce

Install Music Assistant from the Home Assistant Addons
Sync Subsonic Music Provider
...

Music Providers

Open Subsonic

Player Providers

Home Assistant

Full log output

Server Logs
2025-01-25 23:47:35.437 INFO (MainThread) [music_assistant] Starting Music Assistant Server (497a332f9c6e44008588c9ce4032f74e) version 2.3.6 - HA add-on: True - Safe mode: False
2025-01-25 23:47:35.440 INFO (MainThread) [music_assistant.cache] Initializing cache controller...
2025-01-25 23:47:52.877 INFO (MainThread) [music_assistant.music] Using a sync interval of 720 minutes.
2025-01-25 23:47:52.966 INFO (MainThread) [music_assistant.streams] Detected ffmpeg version 6.1.1 with libsoxr support
2025-01-25 23:47:52.966 INFO (MainThread) [music_assistant.streams] Starting server on  0.0.0.0:8097 - base url: http://192.168.1.84:8097
2025-01-25 23:47:52.968 INFO (MainThread) [music_assistant.webserver] Starting server on  172.30.32.1:8095 - base url: http://172.30.32.1:8095
2025-01-25 23:47:53.388 INFO (MainThread) [music_assistant] Loaded metadata provider MusicBrainz
2025-01-25 23:47:53.388 INFO (MainThread) [music_assistant] Loaded player provider Playergroup
2025-01-25 23:47:53.388 INFO (MainThread) [music_assistant] Loaded metadata provider fanart.tv
2025-01-25 23:47:53.388 INFO (MainThread) [music_assistant] Loaded metadata provider The Audio DB
2025-01-25 23:47:53.388 INFO (MainThread) [music_assistant] Loaded music provider Music Assistant
2025-01-25 23:49:22.338 INFO (MainThread) [music_assistant] Loaded music provider Open Subsonic Media Server Library
2025-01-25 23:52:46.928 WARNING (MainThread) [music_assistant.webserver] Disconnected: Received non-Text message.
2025-01-26 00:21:30.804 INFO (MainThread) [music_assistant.opensubsonic] Unable to find an artist ID for album 'Dusty Shelves' with ID 'al-4518'.
2025-01-26 00:24:15.117 INFO (MainThread) [music_assistant.opensubsonic] Unable to find an artist ID for album 'Rick And Morty Remix' with ID 'al-33'.
2025-01-26 00:25:03.017 INFO (MainThread) [music_assistant.opensubsonic] Unable to find an artist ID for album '[standalone recordings]' with ID 'al-6406'.
2025-01-26 00:26:13.813 INFO (MainThread) [music_assistant.opensubsonic] Unable to find an artist ID for album '[standalone recordings]' with ID 'al-1042'.
2025-01-26 00:27:41.102 INFO (MainThread) [music_assistant.opensubsonic] Unable to find an artist ID for album 'Soirée' with ID 'al-219'.
2025-01-26 00:27:52.498 INFO (MainThread) [music_assistant.opensubsonic] Unable to find an artist ID for album 'Braabant 538' with ID 'al-164'.
2025-01-26 00:32:09.494 INFO (MainThread) [music_assistant.opensubsonic] Unable to find an artist ID for album 'ccMixter' with ID 'al-644'.
2025-01-26 00:32:15.086 INFO (MainThread) [music_assistant.opensubsonic] Unable to find an artist ID for album 'Virus Teckno' with ID 'al-66'.
2025-01-26 00:32:31.424 INFO (MainThread) [music_assistant.opensubsonic] Unable to find an artist ID for album 'Newgrounds Audio Portal - http://www.newgrounds.com/audio' with ID 'al-444'.
2025-01-26 00:35:33.890 INFO (MainThread) [music_assistant.opensubsonic] Unable to find an artist ID for album 'Monument Valley 2 (Original Game Soundtrack)' with ID 'al-3566'.
2025-01-26 00:35:48.995 INFO (MainThread) [music_assistant.opensubsonic] Unable to find an artist ID for album 'D-Mode Verano 2006' with ID 'al-228'.
2025-01-26 00:37:50.495 WARNING (MainThread) [music_assistant.music] Sync task for Open Subsonic Media Server Library completed with errors

Additional information

I previously used the docker version before without any issues before migrating my HA to HAOS and migrating from MusicAssistant docker to native addon

What version of Home Assistant Core are your running

2025.1.4

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)

@OzGav
Copy link
Contributor

OzGav commented Jan 26, 2025

Can you test the beta version?

@Maxmystere
Copy link
Author

Maxmystere commented Jan 26, 2025

Same behavior

Version : 2.4.0b20

@OzGav
Copy link
Contributor

OzGav commented Jan 26, 2025

What is that little folder icon in the tracks view?

@Maxmystere
Copy link
Author

Ho keen eye, I guess my mouse was holding something when I took the screenshot so it's just the Dolphin file explorer app logo

@OzGav
Copy link
Contributor

OzGav commented Jan 26, 2025

@khers

@OzGav OzGav added the Subsonic label Jan 26, 2025
@khers
Copy link

khers commented Jan 29, 2025

This is going to take some investigating, I am going to have to compare the gonic to the lms returns for the scanning methods.

@Maxmystere
Copy link
Author

Do you want me to help you with that ? What calls should be checked ?

@khers
Copy link

khers commented Jan 30, 2025

For albums specifically I need to verify that the following end points return objects that have the same fields filled out with equivalent information:

  • getAlbumList2
  • getAlbum
  • getSong

Specifically, I am interested in the if the first two return albums with intact track lists and where the album ID is stored in the value returned by the last one. If you get to doing this please post results here and I can work on accommodating in the provider or we can ask the LMS maintainer to change the output if it is out of spec.

@Maxmystere
Copy link
Author

getAlbumList2 is roughly the same but
here is getAlbum

 {
     "subsonic-response": {
         "openSubsonic": true,
-        "serverVersion": "8",
+        "serverVersion": "0.16.4",
         "status": "ok",
-        "type": "lms",
-        "version": "1.16.0",
+        "type": "gonic",
+        "version": "1.15.0",
         "album": {
             "artist": "Daft Punk",
             "artistId": "ar-1",
-            "coverArt": "tr-3:1738256967",
-            "created": "2025-01-30T17:09:27.000",
+            "album": "Discovery",
+            "created": "2025-01-30T17:09:27.075597966Z",
             "displayArtist": "Daft Punk",
             "duration": 226,
-            "explicitStatus": "",
             "genre": "French House",
-            "id": "al-3",
-            "isCompilation": false,
-            "mediaType": "album",
-            "musicBrainzId": "",
+            "id": "al-2",
             "name": "Discovery",
             "playCount": 0,
-            "played": "",
             "songCount": 1,
-            "sortName": "",
+            "title": "Discovery",
             "year": 2001,
-            "originalReleaseDate": {},
             "artists": [
                 {
                     "id": "ar-1",
                     "name": "Daft Punk"
                 }
             ],
-            "discTitles": [],
             "genres": [
                 {
                     "name": "French House"
                 }
             ],
-            "recordLabels": [],
             "song": [
                 {
                     "album": "Discovery",
-                    "albumId": "al-3",
+                    "albumId": "al-2",
                     "artist": "Daft Punk",
                     "artistId": "ar-1",
-                    "bitDepth": 0,
                     "bitRate": 128,
-                    "channelCount": 2,
-                    "comment": "https://music.youtube.com/watch?v=JhulBGMA7G4",
                     "contentType": "audio/mpeg",
-                    "coverArt": "tr-3:1738256967",
-                    "created": "2025-01-30T17:09:27.000",
+                    "created": "2025-01-30T17:17:07.719235326Z",
                     "discNumber": 1,
                     "displayAlbumArtist": "Daft Punk",
                     "displayArtist": "Daft Punk",
                     "duration": 226,
-                    "explicitStatus": "",
-                    "genre": "French House",
-                    "id": "tr-3",
-                    "mediaType": "song",
+                    "isDir": false,
+                    "isVideo": false,
+                    "id": "tr-1",
                     "musicBrainzId": "",
                     "path": "album/Daft Punk - Harder, Better, Faster, Stronger.mp3",
-                    "playCount": 0,
-                    "played": "",
-                    "samplingRate": 48000,
+                    "parent": "al-2",
                     "size": 3702154,
                     "suffix": "mp3",
                     "title": "Harder, Better, Faster, Stronger",
                     "track": 4,
-                    "transcodedContentType": "audio/opus",
-                    "transcodedSuffix": "opus",
                     "type": "music",
                     "year": 2001,
-                    "replayGain": {},
-                    "albumartists": [
+                    "albumArtists": [
                         {
                             "id": "ar-1",
                             "name": "Daft Punk"
@@ -84,18 +66,9 @@
                             "id": "ar-1",
                             "name": "Daft Punk"
                         }
-                    ],
-                    "contributors": [],
-                    "genres": [
-                        {
-                            "name": "French House"
-                        }
-                    ],
-                    "moods": []
+                    ]
                 }
-            ],
-            "moods": [],
-            "releaseTypes": []
+            ]
         }
     }
 }

And getSong

 {
     "subsonic-response": {
         "openSubsonic": true,
-        "serverVersion": "8",
+        "serverVersion": "0.16.4",
         "status": "ok",
-        "type": "lms",
-        "version": "1.16.0",
+        "type": "gonic",
+        "version": "1.15.0",
         "song": {
             "album": "Discovery",
-            "albumId": "al-3",
+            "albumId": "al-2",
             "artist": "Daft Punk",
             "artistId": "ar-1",
-            "bitDepth": 0,
             "bitRate": 128,
-            "channelCount": 2,
-            "comment": "https://music.youtube.com/watch?v=JhulBGMA7G4",
             "contentType": "audio/mpeg",
-            "coverArt": "tr-3:1738256967",
-            "created": "2025-01-30T17:09:27.000",
+            "created": "2025-01-30T17:17:07.719235326Z",
             "discNumber": 1,
             "displayAlbumArtist": "Daft Punk",
             "displayArtist": "Daft Punk",
             "duration": 226,
-            "explicitStatus": "",
-            "genre": "French House",
-            "id": "tr-3",
-            "mediaType": "song",
+            "isDir": false,
+            "isVideo": false,
+            "id": "tr-1",
             "musicBrainzId": "",
+            "parent": "al-2",
             "path": "album/Daft Punk - Harder, Better, Faster, Stronger.mp3",
-            "playCount": 0,
-            "played": "",
-            "samplingRate": 48000,
             "size": 3702154,
             "suffix": "mp3",
             "title": "Harder, Better, Faster, Stronger",
             "track": 4,
-            "transcodedContentType": "audio/opus",
-            "transcodedSuffix": "opus",
             "type": "music",
             "year": 2001,
-            "replayGain": {},
-            "albumartists": [
+            "albumArtists": [
                 {
                     "id": "ar-1",
                     "name": "Daft Punk"
@@ -50,14 +40,7 @@
                     "id": "ar-1",
                     "name": "Daft Punk"
                 }
-            ],
-            "contributors": [],
-            "genres": [
-                {
-                    "name": "French House"
-                }
-            ],
-            "moods": []
+            ]
         }
     }
 }

@Maxmystere
Copy link
Author

Btw if you want to test LMS they have a demo here (the password is under settings -> API Key)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants