Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 6 of 6
  1. #1
    Senior Member
    Join Date
    Sep 2006
    Posts
    200

    Retrieving Cover Art over TCPIP

    When I retrieve the cover art using thumb.jpg, sometimes I get back the thumbnail image (100x100) and sometimes I get back the full sized image

    This happens with both my own code or with internet explorer making the access.

    The IE request looks like :

    http://192.168.1.207:9000/music/1500/thumb.jpg

    Once it locks onto the bigger image it always seems to stay there.

    Since it is ranmdom like that I guess I should assume it is a bug and hop over to Bugzilla town.

    Any one have any additional info ?
    Last edited by barrygordon; 2007-10-25 at 22:39.

  2. #2
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,312

    Retrieving Cover Art over TCPIP

    > When I retrieve the cover art using thumb.jpg, sometimes I get back the
    > thumbnail image (100x100) and sometimes I get back the full sized
    > image


    thumb.jpg is imho legacy. Please use cover_XxY.jpg instead if you want
    smaller artwork. Please see the "Server side resizing" part of that doc:
    http://wiki.slimdevices.com/index.cgi?AlbumArtwork

    --

    Michael

    -----------------------------------------------------------------
    http://www.herger.net/SlimCD - your SlimServer on a CD
    http://www.herger.net/slim - AlbumReview, Biography, MusicInfoSCR

  3. #3
    Senior Member
    Join Date
    Sep 2006
    Posts
    200
    Thanks Michael, that solved the problem. Perhaps you would be as kind as to answer another question.

    It seems that the driver for the http request for cover art is trackID. I am looking at an application (first level music selection) where I have albumID not trackId. Is there any way to request cover art based on albumid or do I first have to get the trackid of a song on that album? if the latter bummer, after all album art is really album centric!

  4. #4
    NOT a Slim Devices Employee kdf's Avatar
    Join Date
    Apr 2005
    Posts
    9,493

    Retrieving Cover Art over TCPIP

    On 26-Oct-07, at 6:27 PM, barrygordon wrote:

    >
    > It seems that the driver for the http request for cover art is
    > trackID.
    > I am looking at an application (first level music selection) where I
    > have albumID not trackId.


    There is a member of the album object, artwork, that holds the ID of
    the track used for cover art. Usually this is track 1.
    if you are following CLI standards, it's the 'j' tag that returns the
    artwork_track_id for the album query.
    Unfortunately, I'm not sure how you would do this directly over tcpip.
    -kdf

  5. #5
    Senior Member
    Join Date
    Sep 2006
    Posts
    200
    I hear you and will check it out, but in the CLI documentation they indicate that the tag j is a 1 or 0 indicating if there is cover art available. Let you know what I find. Thanks.

  6. #6
    Senior Member
    Join Date
    Sep 2006
    Posts
    200
    KDF, Thanks, I was reading the wrong piece of the API. It is there and just what I needed.

Posting Permissions

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