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 

<fallback-mount>

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



Joined: 28 Jan 2007
Posts: 12
Location: Moscow, Russia

PostPosted: Wed Nov 07, 2007 6:23 pm    Post subject: <fallback-mount> Reply with quote

When using fallback-mount with a file, looks like Icecast 2.3.1 on Fedora Core 6 is trying to read filename defined in mount-name instead of fallback-mount.

My webroot is /usr/share/icecast/web. I have a file named /usr/share/icecast/web/children.mp3. My mount section is defined as the following:

Code:
<mount>
<mount-name>/children</mount-name>
<password>XXXXXXXX</password>
<stream-description>MoeRadio.ru: free radio hosting in Russia</stream-description>
<fallback-mount>children.mp3</fallback-mount>
<fallback-override>1</fallback-override>
</mount>

Error.log gives this:

Code:
INFO fserve/fserve_client_create checking for file /children (/usr/share/icecast/web/children)
WARN fserve/fserve_client_create req for file "/usr/share/icecast/web/children" No such file or directory

So I decide to rename the file children.mp3 to /usr/share/icecast/web/children, and it works perfectly!

Isn't it not as it is supposed to be, or am not reading the documentation properly?
Back to top
View user's profile Send private message Visit poster's website
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Wed Nov 07, 2007 6:37 pm    Post subject: Reply with quote

Your fallback mount (like all mountpoint references) needs to begin with a / which it didn't, so icecast was trying to access a file in webroot named children which didn't exist and gave you that error.

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



Joined: 28 Jan 2007
Posts: 12
Location: Moscow, Russia

PostPosted: Wed Nov 07, 2007 7:30 pm    Post subject: Reply with quote

Cool, Karl, thanks!

<fallback-mount>/children.mp3</fallback-mount> works!
Back to top
View user's profile Send private message Visit poster's website
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