Can someone with a recent LMS 8.3 try the URL below (replace lmsip with your LMS IP address and remove the spaces) to see if this image loads?
It fails on my LMS 8.2.1 but I won't try to work out why if it works on 8.3
http: / / lmsip :9000/imageproxy/https%3A%2F%2Flastfm.freetls.fastly.net%2Fi%2Fu%2F _%2Fae981d1739c22d2b0caaff89a0f35ee7.jpg/image_50x50_o
My guess is that one of the underlying graphics packages does not like it - but LMS 8.3 may well have updated versions and not have a problem.
Edit:
It should show a small album cover. If it shows the LMS radio mast then there is a problem.
Results 1 to 10 of 10
Thread: Image decoding problem
-
2022-06-26, 07:26 #1
- Join Date
- Apr 2005
- Location
- UK/London
- Posts
- 5,817
Image decoding problem
Last edited by Paul Webster; 2022-06-26 at 07:31.
Paul Webster
Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, ABC Australia and CBC/Radio-Canada
and, via the extra "Radio Now Playing" plugin lots more - see https://forums.slimdevices.com/showt...Playing-plugin
-
2022-06-26, 07:35 #2LMS server/study player - LMS 8.3.0 Pi4B 4GB/NanoSound ONE case/pCP 8.1.0 - 75K library, playlists & LMS cache on Sata SSD (ntfs)
Lounge - Pi2/pCP 8.1.0 > HiFiBerry DIGI+ > Topping E30 > AVI DM5
Dining Room - Echo Show 8
Garage - Squeezebox Touch > Edifier
Spares - 1xSB Touch, 1xSB3, 4xRPi, 1xDAC32, 1xCORE32
-
2022-06-26, 08:56 #3
- Join Date
- Apr 2005
- Location
- UK/London
- Posts
- 5,817
Odd thing ... I turned on debug for imageproxy ... and tried the same URL again and it worked.
Paul Webster
Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, ABC Australia and CBC/Radio-Canada
and, via the extra "Radio Now Playing" plugin lots more - see https://forums.slimdevices.com/showt...Playing-plugin
-
2022-06-26, 09:14 #4
- Join Date
- Apr 2005
- Location
- UK/London
- Posts
- 5,817
Just had one ... LMS says there was a 404 (not found) error - but I checked the same external URL a few seconds later and it returned the image as expected.
Code:[22-06-26 17:10:35.7380] Slim::Web::Graphics::artworkRequest (83) Artwork request: imageproxy/https://lastfm.freetls.fastly.net/i/u/_/407d43f41a8b1041ede1553b01aaf632.jpg/image_270x270_m.jpg [22-06-26 17:10:35.7387] Slim::Web::Graphics::artworkRequest (123) Resize specification: 270x270_m.jpg [22-06-26 17:10:35.7392] Slim::Web::ImageProxy::getImage (110) Get artwork for URL: imageproxy/https://lastfm.freetls.fastly.net/i/u/_/407d43f41a8b1041ede1553b01aaf632.jpg/image_270x270_m.jpg [22-06-26 17:10:35.7452] Slim::Web::ImageProxy::__ANON__ (151) Found URL to get artwork: https://lastfm.freetls.fastly.net/i/u/_/407d43f41a8b1041ede1553b01aaf632.jpg [22-06-26 17:10:42.1457] Slim::Web::ImageProxy::_gotArtworkError (250) Server returned error: 404 Not Found [22-06-26 17:10:42.1463] Slim::Web::ImageProxy::_gotArtworkError (257) Artwork not found, returning 404: https://lastfm.freetls.fastly.net/i/u/_/407d43f41a8b1041ede1553b01aaf632.jpg [22-06-26 17:10:42.1475] Slim::Utils::Misc::msg (1341) Warning: [17:10:42.1470] Loading image from /usr/local/slimserver/HTML/Default/html/images/radio.png
Paul Webster
Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, ABC Australia and CBC/Radio-Canada
and, via the extra "Radio Now Playing" plugin lots more - see https://forums.slimdevices.com/showt...Playing-plugin
-
2022-06-26, 10:02 #5
If I use the URL as you give it (but with my server name and no spaces) I get the radio mast image.
However, if I replace the hexadecimal encodings in the URL you gave with the actual chars — ie,
Code:http://myservername:9000/imageproxy/https://lastfm.freetls.fastly.net/i/u/_/ae981d1739c22d2b0caaff89a0f35ee7.jpg/image_50x50_o
So it would seem something somewhere isn't handling the hexadecimal encoded chars.Duet x 3, via various hi-fi. LMS running on Raspberry Pi OS (Debian 10) + OMV on a Pi4 (4GB RAM) in an Argon Neo case.
-
2022-06-26, 11:20 #6
- Join Date
- Apr 2005
- Location
- UK/London
- Posts
- 5,817
I don't think the problem is with the percent-encoding.
LMS happily converts it back to the original when it reaches out to the remote site to get the data - at least that is what the logs show and also the fact that the images usually work shows that it encoded correctly.Paul Webster
Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, ABC Australia and CBC/Radio-Canada
and, via the extra "Radio Now Playing" plugin lots more - see https://forums.slimdevices.com/showt...Playing-plugin
-
2022-06-26, 11:40 #7
- Join Date
- Jun 2017
- Posts
- 757
I get the album cover. Vivaldi browser on Linux Mint. Last Tuesday's build of 8.3 on Raspberry Pi OS.
Usually running latest beta LMS nightly on Raspberry Pi OS with virtual players (Squeezelite and Airplay bridge). Occasionally using SB Radio, Boom or Classic.
-
2022-06-26, 12:25 #8
-
2022-06-26, 12:47 #9
- Join Date
- Jan 2010
- Location
- Hertfordshire
- Posts
- 9,275
-
2022-06-26, 14:09 #10
- Join Date
- Apr 2005
- Location
- UK/London
- Posts
- 5,817
It is small and blurry because it is the 50x50 image that is used in "What was that tune?".
If you remove the stuff from the end of the URL you should get the full image.
However, it works here most (> 90%) of the time.
I'll do some more digging during next week.Paul Webster
Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, ABC Australia and CBC/Radio-Canada
and, via the extra "Radio Now Playing" plugin lots more - see https://forums.slimdevices.com/showt...Playing-plugin