Re: [slim] Retrieving cover art via CLI
d6jg wrote: > Bear in mind the cache reference will change on a clear and rescan Yes, but that's not an issue as I'm retrieving the current coverid with the tags:c parameter and not caching it myself so it's OK for it to be mutable. philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920 View this thread: http://forums.slimdevices.com/showthread.php?t=114442 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Retrieving cover art via CLI
Paul Webster wrote: > I generally use folder.jpg for cover art ... so I just tried to retrieve > the cover art for a track that I know has no embedded artwork and the > album has a folder.jpg ... and it worked as I think you would hope. > > The correct artwork was shown even though the URL asks for cover.jpg Yes. You will find the reference to the image cache ID in the tracks table of the database. You can call it in other ways than /current/cover.jpg iirc Bear in mind the cache reference will change on a clear and rescan VB2.4[/B] STORAGE *QNAP TS419P (NFS) [B]Living Room* Joggler & Pi4/Khadas -> Onkyo TXNR686 -> Celestion F20s *Office* Joggler & Pi3 -> Denon RCD N8 -> Celestion F10s *Dining Room* SB Boom *Kitchen* UE Radio (upgraded to SB Radio) *Bedroom (Bedside)* Pi Zero+DAC ->ToppingTP21 ->AKG Headphones *Bedroom (TV) & Bathroom* SB Touch ->Denon AVR ->Mordaunt Short M10s + Kef ceiling speakers *Guest Room* Joggler > Topping Amp -> Wharfedale Modus Cubes Everything controlled by iPeng & Material on iOS d6jg's Profile: http://forums.slimdevices.com/member.php?userid=44051 View this thread: http://forums.slimdevices.com/showthread.php?t=114442 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Retrieving cover art via CLI
Great - makes life a lot easier if it can be pulled using cover.jpg always. Thanks guys. philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920 View this thread: http://forums.slimdevices.com/showthread.php?t=114442 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Retrieving cover art via CLI
I generally use folder.jpg for cover art ... so I just tried to retrieve the cover art for a track that I know has no embedded artwork and the album has a folder.jpg ... and it worked as I think you would hope. The correct artwork was shown even though the URL asks for cover.jpg Paul Webster http://dabdig.blogspot.com author of \"now playing\" plugins covering radio france (fip etc), planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, supla finland, abc australia, cbc/radio-canada and rte ireland Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105 View this thread: http://forums.slimdevices.com/showthread.php?t=114442 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Retrieving cover art via CLI
philchillbill wrote: > The documentation for the CLI states as follows: > > > > Should the file always be called cover.jpg or are other names and/or > extensions possible? I know many people use folder.jpg - does this get > mapped to cover.jpg for this call or would it remain as folder.jpg? Is a > .png extension allowed? I think the following rules apply in this order 1. Use embedded artwork in first track of album 2. Use folder.jpg if it exists 3. Use cover.jpg if it exists VB2.4[/B] STORAGE *QNAP TS419P (NFS) [B]Living Room* Joggler & Pi4/Khadas -> Onkyo TXNR686 -> Celestion F20s *Office* Joggler & Pi3 -> Denon RCD N8 -> Celestion F10s *Dining Room* SB Boom *Kitchen* UE Radio (upgraded to SB Radio) *Bedroom (Bedside)* Pi Zero+DAC ->ToppingTP21 ->AKG Headphones *Bedroom (TV) & Bathroom* SB Touch ->Denon AVR ->Mordaunt Short M10s + Kef ceiling speakers *Guest Room* Joggler > Topping Amp -> Wharfedale Modus Cubes Everything controlled by iPeng & Material on iOS d6jg's Profile: http://forums.slimdevices.com/member.php?userid=44051 View this thread: http://forums.slimdevices.com/showthread.php?t=114442 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
[slim] Retrieving cover art via CLI
The documentation for the CLI states as follows: > > The HTTP server can return cover art for songs using the track ID as > returned by the CLI functions. If no cover art exists for the given > song, the server returns special "no artwork" image. Please refer to the > Artwork Setup documentation for more details on artwork management in > Logitech Media Server. Use the following URL: > http://:/music//*cover.jpg* > where: > is the ip address or name of the server. > is the HTTP port of the server (not the same as the CLI port). > is the track ID as returned by the CLI functions. > In addition, there is a shortcut URL to return the artwork of the > currently playing song for a player: > > http://:/music/current/*cover.jpg*?player= > where: > is the ip address or name of the server. > is the HTTP port of the server (not the same as the CLI port). > is the unique identifier for the player, as above. If > omitted, the server will use a random player. > Should the file always be called cover.jpg or are other names and/or extensions possible? I know many people use folder.jpg - does this get mapped to cover.jpg for this call or would it remain as folder.jpg? Is a .png extension allowed? philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920 View this thread: http://forums.slimdevices.com/showthread.php?t=114442 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss