that Jack Elliott
2015-May-30 16:30 UTC
[Icecast] Pathing syntax for icecast.xml in Windows
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
reflum, On Sat, 2015-05-30 at 09:30 -0700, that Jack Elliott wrote:> 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> > [...]No. I think you misunderstanding fallbacks a bit: Those are not files but actual mounts (which may be files within the webroot). I would suggest to read docs for more info: http://icecast.org/docs/icecast-2.4.1/config-file.html#mountsettings -- Philipp. (Rah of PH2) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 490 bytes Desc: This is a digitally signed message part Url : http://lists.xiph.org/pipermail/icecast/attachments/20150531/3f227167/attachment.pgp
Jack Elliott 541 848 7021
2015-Jun-01 14:04 UTC
[Icecast] Pathing syntax for icecast.xml in Windows
Hi Philipp, Thank you. I find in the Icecast docs the following: "_A fallback mount can also state a file that is located in webroot._ This is useful for playing a pre-recorded file in the case of a stream going down. It will repeat until either the listener disconnects or a stream comes back available and takes the listeners back. As per usual, the file format should match the stream format, failing to do so may cause problems with playback." This is at http://icecast.org/docs/icecast-2.4.1/config-file.htm <http://icecast.org/docs/icecast-2.4.1/config-file.html> So it appears that one can specify a static file as the fallback. My question has to do with whether Icecast will be happy with the syntax I have proposed as the path to the file. -- that Jack Elliott 541 848 7021 Producer Wednesday Point, Host, The Sunday Classics KPOV 88.9, High Desert Radio Audio geek On 05/31/2015 05:12 AM, Philipp Schafft wrote:> reflum, > > On Sat, 2015-05-30 at 09:30 -0700, that Jack Elliott wrote: >> Hi, >> >> Icecast.xml sh"A fallback mount can also state a file that is located in webroot. This >> is useful for playing a pre-recorded file in the case of a stream going >> down. It will repeat until either the listener disconnects or a stream >> comes back available and takes the listeners back. As per usual, the >> file format should match the stream format, failing to do so may cause >> problems with playback."ows 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> >> [...] > No. > > I think you misunderstanding fallbacks a bit: Those are not files but > actual mounts (which may be files within the webroot). > > I would suggest to read docs for more info: > http://icecast.org/docs/icecast-2.4.1/config-file.html#mountsettings > > > > _______________________________________________ > Icecast mailing list > Icecast at xiph.org > http://lists.xiph.org/mailman/listinfo/icecast-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/icecast/attachments/20150601/b9675ac9/attachment.htm