[Icecast] Pathing syntax for icecast.xml in Windows

that Jack Elliott thatjackelliott at kpov.org
Sat May 30 16:30:55 UTC 2015


Hi,

Icecast.xml shows a sample path to a mountpoint fallback file as

<fallback-mount>/example2.ogg</fallback-mount>

Under Windows, will this next work?

<fallback-mount>"C:\Users\username\Desktop\foldername\subfoldername\fallback.mp3"</fallback-mount>

Also, the usage of a fallback mount is only shown in the sample 
icecast.xml under a commented-out section, about 3/4 of the way down:

    <!-- Normal mounts -->
     <!--
     <mount type="normal">
<mount-name>/example-complex.ogg</mount-name>

         <username>otherkpovsource</username>
         <password>hackmemore</password>

         <max-listeners>10</max-listeners>
<dump-file>/tmp/dump-example1.ogg</dump-file>
         <burst-size>65536</burst-size>
<fallback-mount>/example2.ogg</fallback-mount>
<fallback-override>1</fallback-override>
<fallback-when-full>1</fallback-when-full>
         <intro>/example_intro.ogg</intro>
         <hidden>1</hidden>
         <public>1</public>
         <authentication type="htpasswd">
                 <option name="filename" value="myauth"/>
                 <option name="allow_duplicate_users" value="0"/>
         </authentication>
         <http-headers>
                 <header name="Access-Control-Allow-Origin" 
value="http://webplayer.example.org" />
                 <header name="baz" value="quux" />
         </http-headers>
     </mount>
     -->

Can I use the fallback mountpoint syntax up at the top where my normal 
mount is defined? I.e.,

<!-- set the mountpoint for a shoutcast source to use, the default if not
          specified is /stream but you can change it here if an 
alternative is
          wanted or an extension is required -->
<shoutcast-mount>/mymount</shoutcast-mount>
<fallback-mount>"C:\Users\username\Desktop\foldername\subfoldername\fallback.mp3"</fallback-mount>
<fallback-override>1</fallback-override>
<fallback-when-full>1</fallback-when-full>

-- 
Jack Elliott
Producer, The Point Wednesday
Host, The Sunday Classics
KPOV 88.9 High Desert Radio
kpov.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xiph.org/pipermail/icecast/attachments/20150530/42e3fa25/attachment.htm>


More information about the Icecast mailing list