Dirk Meyer wrote:

Per Wigren wrote:


This is release candidate 2. Please have a look and come up with ideas!



I like most of it. One the module stuff may be a problem.


<station name="Spraydio Visby" type="music">
<module name="spraydio">
<param name="room">visby</param>
</module>



IIRC you want to write a python module "spraydio" and call the
function "room" to get more informations, right?


Right :) It will load spraydio.py and set the listentry[num]['module'] to spraydio.WebRadioModule(room="visby") which will have methods like current() and next() which returns the current and next songs. The default listentry[num]['module'] will point to a dummy module which returns empty strings. Or something like that. I haven't thought much about the exact implementation yet..

First of all, you have to create/modify Python files to add
informations to the fxd. Maybe not a good way.

No, we don't HAVE to.. But the posibility is there..

Second: how many people
will write such modules. I guess, we will have most stations without
additional informations.


Well, true but not true, because a LOT of the stations are using Shoutcast, Icecast or other servers wich have standard ways to get the data..

// Wigren



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to