Hello,
if I play an internet radio station on my chromecast (not a local mp3 file), no cover will be displayed. I would like to set the cover manually (PNG file in the file system), is that possible and if so how?
Image Chromecast_Audio1_Kitchen_Image "Cover" { channel="chromecast:audio:Chromecast_Audio1_Kitchen:image" }
rule "play an mp3 file or radiostream ..."
when
Item Chromecast_Audio1_Kitchen_Trigger changed
then
try {
Chromecast_Audio1_Kitchen_playuri.sendCommand("http://br-br1-franken.cast.addradio.de/br/br1/franken/mp3/56/stream.mp3")
}
catch(Throwable t) {
logError("Chromecast_Audio1_Kitchen", "Error " + t.toString())
}
Chromecast_Audio1_Kitchen_Remote.sendCommand(PLAY)
// here I would like to set the picture of the radio station!
Chromecast_Audio1_Kitchen_Image.postUpdate("radiostaion.png") // ?????
end
2018-10-21 19:24:27.144 [WARN ] [rthome.model.script.actions.BusEvent] - Cannot convert 'radiostaion.png' to a state type which item 'Chromecast_Audio1_Kitchen_Image' accepts: [RawType, UnDefType].