kaaholst / android-squeezer

Remote control for your Logitech Media Server ("Squeezeserver" etc) and players.
Apache License 2.0
75 stars 15 forks source link

Album Artwork Goes Missing in Squeezer for Android #749

Open Hyde-TDS opened 2 years ago

Hyde-TDS commented 2 years ago

Hi

Just recently, last couple of weeks I'm having a really strange issue with Squeezer for Android in that for some of my players it has stopped displaying the album artwork. Two of Squeezebox Duets at the moment but is has also done this on a couple of Classics too.

I'm on the latest version of LMS running on a Windows 10 'server'. Squeezer is version 2.2.7

The album artwork appears on the Duets handsets and in LMS if I view this via a browser.

Uninstalling/reinstalling Squeezer has had no effect, save to say an odd thing where the album artwork appears for all players for a short period and then randomly stops.

I have a thread on https://forums.slimdevices.com/showthread.php?115825-Android-Squeezer-App-Artwork-disappeared

But can't find a solution. Can anyone here help please?

kaaholst commented 2 years ago

Hi,

Thanks for posting.

I've read the thread you linked. I would love to help, but I'm not able to tell what's causing the issue. It seems you have already tried a number of things to track down the root cause.

You could try these:

  1. Check the server log might help, as Michael suggested.
  2. Check settings / storage on your, to see if there is enough free space.
  3. Go to an album which has artwork on the LMS web interface, and click the artwork. Note the URL, it will look something like: http://192.168.0.33:9000//02f43848/cover Enter that URL in the browser on your phone.

I think the server log is your best bet, since you have tried on another phone, and you are able to momentarily display the artwork.

Hyde-TDS commented 2 years ago

I think I might have found the source of the issue, but not an answer for the symptoms I experienced...

Tonight a set of speakers attached to one of the duets started to make horrible noises, a cross between the nose feedback makes and trying to connect speaker wires whilst a live source is outputting to the speaker. I had to pull the audio out leads to stop the noise. I then tried to reboot the duet receiver. It would go through slow red flash, green and as soon as it went white it would die.

I repeated this a few times and then the receiver gave up the ghost. I've found another PSU and rebooted the receiver. Once again the artwork for all units disappeared. I noticed that the playlist only contained 10 songs and removing one did not result in it being replaced by another random track until I manually went through the home music menu options and selected my usual random song play option. After which the album art was restored for all players.

So I think the route cause was the gradual failure of the PSU for this receiver. But why it manifested itself in the way that it did is beyond me???

Jocker666z commented 2 years ago

I'm digging up this issue a bit. Same symptom, no image in squeezer but it is visible in a browser.

On my rpi (squeezelite player with home-made interface), I can download the image without any problem with this command: curl -sL http://USER:PASS@192.168.4.2:9000/music/current/cover.jpg?player=b8:28:eb:db:f5:82 > cover.jpg URL in LMS browser of same image http://192.168.4.2:9000/music/-94143053857264/cover_96x96_p.png

But no image in squeezer.

I specify that: the cover appears for the audio files in database on the LMS server, and does not appear for the files out of database (whereas it well visible and available with curl or wget).

kaaholst commented 2 years ago

Hi and thanks for the feedback.

Just to make sure, as I'm not able to read it from the message. It is the device (e.g. phone) which is running Squeezer, which must be able to download the cover art. I don't know if you are able to use curl on that device, but you can run a browser on the device, and enter the URL you specified.

Hyde-TDS commented 2 years ago

It was indeed Squeezer on my phone that wouldn't display the album art, but it was resolved when I managed to get all the physical players reconnected to my music source. But why this issue manifested itself because one player had a psu fault, I don't know.

All is now good again with my system, save I now have 2 duet receivers with power issues. I'll be taking them to my friendly TV repair man who has a way with volt meters and soldering irons! 😎

Jocker666z commented 2 years ago

Hi and thanks for the feedback.

Just to make sure, as I'm not able to read it from the message. It is the device (e.g. phone) which is running Squeezer, which must be able to download the cover art. I don't know if you are able to use curl on that device, but you can run a browser on the device, and enter the URL you specified.

Test ok: image open on my phone with browser It seems to me that the error is really related to the absence of files in the database

Hyde-TDS commented 2 years ago

You could well be right. I can't replicate, so happy to close this issue.

kaaholst commented 2 years ago

Test ok: image open on my phone with browser It seems to me that the error is really related to the absence of files in the database

@Jocker666z Not really sure what you mean with files not in the database. Could you elaborate?

Jocker666z commented 2 years ago

Not really sure what you mean with files not in the database. Could you elaborate?

In LMS the folder with the music files that do not display the covers, were added as non-music folder, therefore not analyze the audioscan of LMS.

It is however possible to play these files, and in this case the covers are not displayed with squeezer.

Cover ID and audio files ID outside the database are indicated with a prefix "-", example: "-94143053857264".

kaaholst commented 2 years ago

@Jocker666z I need to understand the use case, so more questions!

  1. Added as a non-music folder, what does that mean?
  2. Why don't you add it as a music folder?
  3. How can you play the files from the folder which are not a music folder?
  4. Is it the album art for the currently playing song (Now Playing screen) we are talking about?
Jocker666z commented 2 years ago

Added as a non-music folder, what does that mean? & How can you play the files from the folder which are not a music folder?

Like this : cap

--

Why don't you add it as a music folder?

Because I need the directory for many things, and I don't want the autoscan to be running all the time.

--

Is it the album art for the currently playing song (Now Playing screen) we are talking about? Yes

kaaholst commented 2 years ago

@Jocker666z Thanks for the quick reply :+1:

I will try a similar setup, to investigate if we can do something about the cover art for those items.