Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 10 of 10
  1. #1
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    5,817

    Image decoding problem

    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.
    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

  2. #2
    Senior Member kidstypike's Avatar
    Join Date
    Feb 2007
    Location
    Brindle
    Posts
    5,296
    Quote Originally Posted by Paul Webster View Post
    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.
    LMS radio mast.

    Name:  image.jpg
Views: 79
Size:  2.0 KB
    LMS 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

  3. #3
    Senior Member
    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

  4. #4
    Senior Member
    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
    Next step, I assume, is to turn on LMS HTTP tracing but that will be a lot noisier.
    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

  5. #5
    Senior Member SpiderJon's Avatar
    Join Date
    Dec 2008
    Location
    Cardiff, Wales, UK
    Posts
    281
    Quote Originally Posted by Paul Webster View Post
    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.

    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
    Ś I get the album cover.

    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.

  6. #6
    Senior Member
    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

  7. #7
    Senior Member
    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.

    Name:  lms_image2022-06-26.jpg
Views: 61
Size:  2.0 KB
    Usually running latest beta LMS nightly on Raspberry Pi OS with virtual players (Squeezelite and Airplay bridge). Occasionally using SB Radio, Boom or Classic.

  8. #8
    Senior Member SpiderJon's Avatar
    Join Date
    Dec 2008
    Location
    Cardiff, Wales, UK
    Posts
    281
    Quote Originally Posted by Paul Webster View Post
    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.
    Ah well, it was just a thought.

    Hope you can sort out the issue.
    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.

  9. #9
    Senior Member
    Join Date
    Jan 2010
    Location
    Hertfordshire
    Posts
    9,275
    Quote Originally Posted by Paul Webster View Post
    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.
    I get a small blurry album cover using opera mini and LMS 8.3 latest.Name:  Screenshot_20220626-204633.jpg
Views: 56
Size:  16.5 KB

    Sent from my Pixel 3a using Tapatalk

  10. #10
    Senior Member
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •