Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Permanent Mounts and fallbacks

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
renders



Joined: 07 Apr 2009
Posts: 6

PostPosted: Tue Apr 07, 2009 5:39 pm    Post subject: Permanent Mounts and fallbacks Reply with quote

Hi all.. I can't seem to figure this out.

I use simplecast as a source.

I want to create a fallback for the mount. I have added the following to the icecast.xml file

<mount>
<mount-name>/listen-32.mp3</mount-name>
<fallback-mount>no-streaming-32.mp3</fallback>
<fallback-overide>1</fallback-override>
<fallback-when-full>1</fallback-when-full>
<intro>intro-32.mp3</intro>
<public>1</public>
</mount>

The intro works fine and the stream works fine but when I shutdown simplecast, the player stops. No fallback occurs

I noticed that the mount disappears from the status screen when the source is stopped. Can the mount be made permanent?

Any suggestions?

Thanks

Rob
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Apr 07, 2009 8:22 pm    Post subject: Reply with quote

Whenever there is an issue of something not working, the first thing you should do is increase the log level (if not high enough already) and check the error log. The only thing we can tell from the xml is that the mountpoint for the fallback does not begin with a /. We don't know if the mountpoint is available or not.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
renders



Joined: 07 Apr 2009
Posts: 6

PostPosted: Tue Apr 07, 2009 9:38 pm    Post subject: Reply with quote

The fallback mount is actually a no streaming available mp3 file located in the webroot.

Should the mount disappear from the status screen if it is manually entered into the icecast.xml file?

Thanks for your help.

Rob
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Apr 07, 2009 9:50 pm    Post subject: Reply with quote

depends if the file is actually available, it's not possible for us to say whether it is or not, just from the xml

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
renders



Joined: 07 Apr 2009
Posts: 6

PostPosted: Wed Apr 08, 2009 6:36 pm    Post subject: Reply with quote

Basically, I want to have a fallback mount to a local mp3 file always running.. Can someone suggest the syntax of how to do this?

Thanks

Rob
Back to top
View user's profile Send private message
renders



Joined: 07 Apr 2009
Posts: 6

PostPosted: Wed Apr 08, 2009 7:05 pm    Post subject: Reply with quote

SOLUTION:
The fallback mount needs to be located before the other mounts within the icecast.xml file.

Thanks for the help..

Rob
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber