2010-12-23, 00:02
Hi all,
Frustrated at AOL for taking SHOUTcast away from us, I took the original SHOUTcast add-on and modified it a little to work with Icecast.
URL: http://bilbo.online.bg/~assen/plugin.aud...0.1.tar.gz
A note on genres: with IceCast, each server lists one or more words as its "genre". Two approaches are possible:
- Treat each string as a whole category name; I don't like this, because "pop rock" and "rock pop" will appear as two different genres
- Split each string into words and use each word as a separate category; this way, "pop" and "rock" will appear only once, but most stations will appear in more than one genre. This is the current behaviour.
TODO:
1. Check some UTF-8 names which seem broken - this may be plugin's (i.e. my) fault, or may be broken strings from the streaming server.
2. Create a local cache for the XML file and use it when browsing the categories and servers instead of downloading the XML file each time from the network.
3. Sort radio stations by name inside a genre.
4. Write client-side search (as server-side seems unavailable with IceCast).
INSTALL
Move the "plugin.audio.icecast" directory into your "addons" directory. Restart XBMC.
DISCLAIMER
Please note, this is my first Python attempt (I'm much more into C/Perl system programming), so feel free to send your suggestions on code and functionality.
WWell,
Frustrated at AOL for taking SHOUTcast away from us, I took the original SHOUTcast add-on and modified it a little to work with Icecast.
URL: http://bilbo.online.bg/~assen/plugin.aud...0.1.tar.gz
A note on genres: with IceCast, each server lists one or more words as its "genre". Two approaches are possible:
- Treat each string as a whole category name; I don't like this, because "pop rock" and "rock pop" will appear as two different genres
- Split each string into words and use each word as a separate category; this way, "pop" and "rock" will appear only once, but most stations will appear in more than one genre. This is the current behaviour.
TODO:
1. Check some UTF-8 names which seem broken - this may be plugin's (i.e. my) fault, or may be broken strings from the streaming server.
2. Create a local cache for the XML file and use it when browsing the categories and servers instead of downloading the XML file each time from the network.
3. Sort radio stations by name inside a genre.
4. Write client-side search (as server-side seems unavailable with IceCast).
INSTALL
Move the "plugin.audio.icecast" directory into your "addons" directory. Restart XBMC.
DISCLAIMER
Please note, this is my first Python attempt (I'm much more into C/Perl system programming), so feel free to send your suggestions on code and functionality.
WWell,