Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 2 of 2
  1. #1
    Senior Member
    Join Date
    May 2008
    Location
    Canada
    Posts
    3,528

    Get the plugin icon/radio station coverart from CLI

    Hi - Is there a way to get the coverart/icon that is used by LMS for a given plugin from the CLI.

    More precisely, I'm heavily modifying my bridges and when I stream Radio Paradise to, e.g. Sonos, I can now support icy data, so title and artist are updated, but the coverart I'm grabbing from LMS is whatever was the most recent playing. It's fine at first as the coverart is still the default RP icon, but if I press next, RP restarts but then the coveart sent my LMS (using CLI) is whatever was playing before "next" has been pressed. I would obviously like coverart to be the RP icon, always. I've found the 'J' tag in CLI to get name of the remote title, which let me always set song titel to "radio paradise" and not the last title, but how can I do the same with coverart?
    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, GGMM E5

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

    Get the plugin icon/radio station coverart from CLI

    > Hi - Is there a way to get the coverart/icon that is used by LMS for a
    > given plugin from the CLI.


    I don't think there's a CLI command for this. That station icon usually
    is used as fallback if no track information is available.

    If you wanted to implement this in your own plugin, then you might still
    be limited to the default icon for a given protocol. Eg. most radio
    stations would still just return the default antenna or whatever:

    Slim::Player::ProtocolHandlers->iconForURL($url, $client)

    See
    https://github.com/Logitech/slimserv...r/Song.pm#L908

    --

    Michael

Posting Permissions

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