owncloud / music

:notes: Music app for ownCloud
GNU Affero General Public License v3.0
563 stars 197 forks source link

No tracks listed in any of the synced albums #1131

Closed r3dpl4te closed 6 months ago

r3dpl4te commented 6 months ago

Hi, I originally reported this bug to Symfonium forum, a music player for e.g. subsonic servers, as implemented in Music App for Nextcloud.

The main problem is that there are no tracks listed in any of the albums synced.

If I click on the Artists name I can find the tracks available. Please see screenshots below.

I'll link to the forum if it's ok: https://support.symfonium.app/t/no-tracks-listed-in-any-of-the-synced-albums/3512/2 Quote from @Tolriq : "The logs are strange, the server returns the same data multiple times, they probably miss a sort leading to random result. "

In compatibility mode it works like a charme, but for bigger databases I guess it could be lead into problems with no fast syncing.


Information:


Below screenshots image

image

Thank you very much If you need anything more, just let me know. Besides that it works just great♥️ Kind regards Wood

paulijar commented 6 months ago

We were discussing this issue elsewhere with @Tolriq. If I understood it correctly, the root cause for this is because Nextcloud Music uses the musicFolderId argument in a way which is not strictly wrong but maybe a bit surprising and untypical, and Symfonium wasn't prepared for this. I believe that @Tolriq was planning to make a change on the Symfonium client and this shouldn't need changes on Nextcloud Music.

Tolriq commented 6 months ago

Version 9.0 have a workaround yes, and the issue is not much the values but the fact that there's 2 identical folders that returns the same data. Since you are OS compatible and return the server type it's possible to detect and workaround so if no other apps did complain I guess there's nothing to change (My workaround is based on your comment that if you properly support folders one day you'll use positive values and no duplicates)

paulijar commented 6 months ago

Apparently Symfonium v9.0 is already released so could you give it a try @r3dpl4te?

r3dpl4te commented 6 months ago

Hi! I could indeed and run through the changelogs. Thank you very much @Tolriq & @paulijar , looks like the workaorund/fix, that comes with 9.00 b12584 works 👍 :)

Regards, redplate

Edit: I see :) https://github.com/opensubsonic/open-subsonic-api/pull/84#issuecomment-1947312239 👍

paulijar commented 6 months ago

Great, thanks for the verification!