Closed moviuro closed 3 years ago
Thanks for the report. I believe that your playlist now contains at least one track (with ID 2295) which no longer exists in your library. This sort of thing is not supposed to happen as tracks are supposed to get removed from any playlists when they are removed from the library. But I guess that some unusual circumstances could still lead to this. When you view the playlist on the Music app web UI, do you see any entries with no proper name shown?
It may be difficult to find out, what has caused the situation in the first place. But I should anyway add some sanity checks to the SubsonicController so that such stray tracks wouldn't break the playlist fetching.
Yes, I did some library manipulation on disk (picard metadata edition, (re)moving files around, etc.), then used /usr/local/bin/php console.php music:scan --all
. In my playlist in the web UI I can see some items with no name, no artist, etc. The right pane "loads forever".
Okay, that probably explains it. If you remove that track 6 from the playlist (and any others like it), then it should fix your problem. I will anyway fix the Subsonic API implementation to be less fragile on such cases. But it will of course take some time before the fixed Music app release is available.
I can confirm that removing the empty files from the playlist does fix the client.
The fix for this problem has now been released in Music v1.2.0.
I can confirm my client no longer fails! Thanks :smiley:
Hi,
My client (Ultrasonic on Android) experiences some breakage due to playlists returning some
NULL
files?... Here is the nextcloud log snippet from/usr/local/www/nextcloud/data/nextcloud.log
: