Update of /cvsroot/freevo/freevo/WIP/Wigren/Webradio
In directory sc8-pr-cvs1:/tmp/cvs-serv22295/Webradio

Added Files:
        README stations.dtd stations.fxd 
Log Message:
Added some pre-alpha stuff on a reworked, to-be-much-better webradio plugin.


--- NEW FILE: README ---
Here is some random work-in-progress stuff related to upcoming improved
support for Webradio!
The only reason I put it in CVS _this_ early is so I can access it from
work if I happen to come up with a GREAT idea at work. At the lunch-
break of course! *g*

To be written: a TODO file :)

Move along people, nothing to see yet..

--- NEW FILE: stations.dtd ---
<!-- IMPORTANT: This is not the final version!!! -->

<!--                    freevo                                     -->
<!ELEMENT  freevo       (webradio*)                                  >

<!--                    webradio                                   -->
<!ELEMENT  webradio     (station+)                                   >

<!--                    station                                    -->
<!ELEMENT  station      (module?, info, streams)                     >
<!ATTLIST  station
             name       CDATA                              #REQUIRED
             type       CDATA                              #IMPLIED  >

<!--                    module                                     -->
<!ELEMENT  module       (param+)                                     >
<!ATTLIST  module
             name       CDATA                              #REQUIRED >

<!--                    param                                      -->
<!ELEMENT  param        (#PCDATA)                                    >
<!ATTLIST  param
             name       CDATA                              #REQUIRED >

<!--                    info                                       -->
<!ELEMENT  info         (desc*, genre*, lang?, homepage?, location?) >

<!--                    desc                                       -->
<!ELEMENT  desc         (#PCDATA)                                    >
<!ATTLIST  desc
             lang       CDATA                              #REQUIRED >

<!--                    genre                                      -->
<!ELEMENT  genre        (#PCDATA)                                    >

<!--                    homepage                                   -->
<!ELEMENT  homepage     (#PCDATA)                                    >

<!--                    location                                   -->
<!ELEMENT  location     (#PCDATA)                                    >

<!--                    streams                                    -->
<!ELEMENT  streams      (stream+)                                    >

<!--                    stream                                     -->
<!ELEMENT  stream       (url)                                        >
<!ATTLIST  stream
             codec      (MP3|WMA)                          #REQUIRED
             kbps       CDATA                              #IMPLIED
             br         CDATA                              #IMPLIED
             ch         CDATA                              #IMPLIED  >

<!--                    url                                        -->
<!ELEMENT  url          (include?, exclude?, start?)                 >
<!ATTLIST  url
             type       (media | asx | m3u | pls)        #REQUIRED
             href       CDATA                              #REQUIRED >

<!--                    include                                    -->
<!ELEMENT  include      (#PCDATA)                                    >

<!--                    exclude                                    -->
<!ELEMENT  exclude      (#PCDATA)                                    >

<!--                    start                                      -->
<!ELEMENT  start        (#PCDATA)                                    >


--- NEW FILE: stations.fxd ---
<?xml version="1.0" ?>

<!-- This is a proposal to work out the ultimate fileformat for webradio stations -->

<freevo>

  <webradio>

    <station name="Spraydio Visby" type="music">
      <module name="spraydio">
        <param name="room">visby</param>
      </module>
      <info>
        <desc lang="en">
          Pop non-stop!
        </desc>
        <genre>Pop</genre>
        <homepage>http://www.spraydio.com/web/visby/room.jsp</homepage>
        <location>se</location>
      </info>
      <streams>
        <stream codec="WMA" kbps="64" br="44100" ch="2">
          <url type="media" href="mms://wms03.nordicwebradio.com/visby" />
        </stream>
      </streams>
    </station>
  
    <station name="NRK P1" location="no" type="generic">
      <info>
        <desc lang="en">
          Norvegian family channel
        </desc>
        <genre>News</genre>
        <genre>Music</genre>
        <genre>Talk</genre>
        <lang>no</lang>
        <homepage>http://www.nrk.no/p1</homepage>
        <location>no</location>
      </info>
      <streams>
        <stream codec="MP3" kbps="128" br="44100" ch="2">
          <url type="m3u" href="http://media.hiof.no/streams/m3u/nrk-p1-128.m3u"; />
        </stream>
        <stream codec="WMA" kbps="48" br="32000" ch="2">
          <url type="asx" href="http://www6.nrk.no/nettradio/nrk_p1_hoy.asx"; />
        </stream>
        <stream codec="MP3" kbps="56" br="22050" ch="2">
          <url type="m3u" href="http://media.hiof.no/streams/m3u/nrk-p1-56.m3u"; />
            <include>http://.*\.mp3</include>
            <exclude>.*jingle.*</exclude>
          </url>
        </stream>
        <stream codec="WMA" kbps="16" br="16000" ch="1">
          <url type="asx" href="http://www6.nrk.no/nettradio/nrk_p1_lav.asx";>
            <exclude>.*/intro\.(wma|asf)</exclude>
            <start>32</start>
          </url>
        </stream>
        <stream codec="MP3" kbps="24" br="8000" ch="2">
          <url type="m3u" href="http://media.hiof.no/streams/m3u/nrk-p1-24.m3u"; />
        </stream>
      </streams>
    </station>
  
    <station name="Rant Radio" type="music">
      <module name="shoutcast" />
      <info>
        <desc lang="en">
          Canadian EBM channel. Broadcasting on the net since 1998.
        </desc>
        <desc lang="sv">
          Kanadensisk EBM-kanal. S�nder p� n�tet sedan 1998.
        </desc>
        <genre>Electronic</genre>
        <genre>Industrial</genre>
        <genre>Dance</genre>
        <genre>Politics</genre>
        <lang>en</lang>
        <homepage>http://www.rantradio.com</homepage>
        <location>ca</location>
      </info>
      <streams>
        <stream codec="MP3" kbps="128" br="44100" ch="2">
          <url type="pls" href="http://www.rantradio.com/128kstreams.pls"; />
        </stream>
        <stream codec="MP3" kbps="24" br="22050" ch="2">
          <url type="pls" href="http://www.rantradio.com/24kstreams.pls"; />
        </stream>
      </streams>
    </station>

  </webradio>

</freevo>




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

Reply via email to