Here's a question for Max...

I'm using NowPlaying successfully to feed current metadata in the form
"<artist> - <title>" to NiceCast for broadcasting. 

This info displays on a player, of course, but on our website we have a
little AmpTracker "Now Playing" widget that displays the current artist
and title (plus album and artwork if it can find them on Amazon) to
visitors looking at the programme schedule. 

However the widget is a bit picky about what it does when it encounters
certain characters. For example:

If it sees a colon (:) anywhere in the string it throws ALL the
metadata away. The visitor sees "stream unavailable"!
If it sees a comma, it deletes anything after the comma.
If it sees more than one dash it deletes the second dash and everything
following.

Of course we cannot change the widget, so I want to change the metadata
instead. This is not sensible to do in the source music files, so
ideally I would like the NowPlaying plugin to make a couple of
substitutions on the data as it goes through. Is this possible?

I would at least like to:
- Convert ":" in the file to ";" in the output;
- Convert "," in the file to " " (space) in the output.

Is this possible?

(Ideally the ability to include a substitution table would be great, of
course, but I am sure it would be an unconscionable amount of work.)

Thanks!

Best,
--Richard E


-- 
relen

Radio Riel - Real radio; your reality
http://www.radioriel.org/ 
(partially) powered by Slim Devices
------------------------------------------------------------------------
relen's Profile: http://forums.slimdevices.com/member.php?userid=30
View this thread: http://forums.slimdevices.com/showthread.php?t=46013

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/plugins

Reply via email to