Home of the Squeezebox™ & Transporter® network music players.
Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13
  1. #11
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    19,746

    content-type of images from cache (proxy)

    > No, that extension is not added by my code. All I do is query LMS
    > through the following query "songinfo 0 10 url:%s tags:cfldatgrK". What


    Ok, found it. It does indeed defeault to .png if the original file's
    extension isn't known or defined. I changed this behavior to only return
    an extension if it was known from the source file. I hope that works for
    you?

    https://github.com/Logitech/slimserv...4e379eb39d6d8e

    > I can extract the deezer link in the artwork url returned by LMS, but I
    > also think that the best solution now is to trust "content-type"
    > returned by LMS and not the extension of the file, so in that case, I'd
    > add a.jpg extension before sending that to AppleTV, rather continuing to
    > let it dealign with the confusing .png and content-type=image/png but
    > file is jpeg ...


    I'm sorry for the hassle... Could you please give my latest change a try
    anyway? I know it won't solve the problem for you and your users, as
    they likely won't update right away. But I'd be glad to have some
    positive feedback anyway.

    Thanks!

    --

    Michael

  2. #12
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    19,746
    Ouch... scratch that: this seems to break Squeezeplay... I'll have to revert that change...
    Michael

    http://www.herger.net/slim-plugins - MusicArtistInfo, MusicInfoSCR

  3. #13
    Senior Member
    Join Date
    May 2008
    Location
    Canada
    Posts
    3,204
    Quote Originally Posted by mherger View Post
    Ouch... scratch that: this seems to break Squeezeplay... I'll have to revert that change...
    Don't worry too much for my plugin as, per our previous discussion, I have a workaround
    LMS 7.7, 7.8 and 7.9 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBoxOne, XBMC, Foobar2000, ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2, , Pi B3, B2, Pi B+, 2xPi A+, Odroid-C1, Odroid-C2, Cubie2, Yamaha WX-010, AppleTV 4, Airport Express

Posting Permissions

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