Seven and a half years after suggesting these changes, I have finally implemented them as part of a plugin. It includes parsing of SHOUTcast ICY StreamTitle and looking up missing cover art
It is in my Radio Now Playing plugin that is available via the LMS 3rd-party plugin list https://forums.slimdevices.com/showthread.php?115201-Announce-Radio-Now-Playing-plugin The parsing is done by regex and is held in a configuration file which makes it relatively easy to adapt for other stations if needed. But given that no-one else in the last 7 years has asked for this capability then I suspect it is just my big itch that was finally scratched. The regex looks something like this Code: -------------------- StreamTitle=\'(?<progtitle>.*?): (?<artist>.*?)(?: - (?<title>.*?))?\'(?:;|$)(?:StreamUrl=\'(?<cover>.*)\'(?:;|$))? -------------------- which, if given StreamTitle=Happy Hour: The Beatles - When I'm 64;StreamUrl=https://lastfm.freetls.fastly.net/i/u/770x0/56c8ae3f99db414db15270f6adcc0f5b.gif#56c8ae3f99db414db15270f6adcc0f5b; will return: progtitle=Happy Hour artist=The Beatles title=When I'm 64 cover=https://lastfm.freetls.fastly.net/i/u/770x0/56c8ae3f99db414db15270f6adcc0f5b.gif#56c8ae3f99db414db15270f6adcc0f5b The regex is a bit more complicated than you might think it needs to be because it has to return sensible things when there is no song artist/title (implying a spoken link). Paul Webster http://dabdig.blogspot.com author of \"now playing\" plugins covering radio france (fip etc), planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, abc australia and cbc/radio-canada and, via the extra \"radio now playing\" plugin, allzic radio, caroline flashback, cesky rozhlas, frequence3, jukeradio, klassikradio.de, linn radio, mother earth, naim radio, nova.fr, radioblues flac, radio espace, radio swiss, rte ireland, somehow jazz, supla finland ------------------------------------------------------------------------ Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105 View this thread: http://forums.slimdevices.com/showthread.php?t=101728 _______________________________________________ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta