Per Wigren <[EMAIL PROTECTED]> writes:
> <?xml version="1.0" ?>
> <freevo>
>
> <webradio>
>
> <station name="Spraydio Visby" type="music" module="spraydio:visby">
A more xml-ish syntax would be:
<station name="Spraydio Visby" type=music">
<module name="spraydio">
<param name="something">visby</param>
</module>
..
If the spraydio-module needs to parse a html-page, I think the
url should be included in the xml to make it easier/possible to
generalize the modules.
<station name="NRK P1" type="generic">
<description lang="en">
<genres>
<genre>News</genre>
<genre>Music</genre>
<genre>Talk</genre>
</genres>
<lang>no</lang>
<homepage>http://www.nrk.no</homepage>
Norwegian family channel
</description>
<streams>
<stream codec="MP3" kbps="128" br="44100" ch="2">
<url type="m3u">http://media.hiof.no/streams/m3u/nrk-p1-128.m3u</url>
</stream>
<stream codec="WMA" kbps="48" br="32000" ch="2">
<url type="asx">http://www6.nrk.no/nettradio/nrk_p1_hoy.asx</url>
</stream>
<stream codec="MP3" kbps="56" br="22050" ch="2">
<url type="m3u">http://media.hiof.no/streams/m3u/nrk-p1-56.m3u</url>
</stream>
<stream codec="WMA" kbps="16" br="16000" ch="1">
<url type="asx">http://www6.nrk.no/nettradio/nrk_p1_lav.asx</url>
</stream>
<stream codec="MP3" kbps="24" br="8000" ch="2">
<url type="m3u">http://media.hiof.no/streams/m3u/nrk-p1-24.m3u</url>
</stream>
<streams>
</station>
I think the genres and the lang is part of the station description. I
put the homepage inside to provoke some feedback :-)
The <genres> surrounding the <genre>s is mostly a visual thing.
(However, this makes lang="en" useless)
Likewise for <streams>
Since type is a required attribute inside url, it is _maybe_ better to
make tags of m3u, asx etc
--
Eirik Meland
-------------------------------------------------------
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