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 

Can't get intro file to work

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



Joined: 07 Oct 2009
Posts: 3
Location: Budapest, Hungary

PostPosted: Wed Oct 07, 2009 3:28 pm    Post subject: Can't get intro file to work Reply with quote

I've been playing with this for three days by now without any success, but can't get the intro file feature to work at all. I'm running Icecast2 v2.3.2 on a Debian Lenny (v5) fed by some streams provided by liquidsoap.

Here is the relevant part of my config file:

<mount>
<mount-name>/synth</mount-name>
<stream-url>http://malacka/radio/synth.m3u.txt</stream-url>
<stream-description>Synth music on Malacka Radio</stream-description>
<genre>electronic</genre>
<intro>/var/lib/icecast2/WelcomeToMalackaRadio.mp3</intro>
</mount>

It anyway works, since on the web page (malacka:8000) I can see the stream-url I specified at this section. But when I connect to the stream with a listener (WinAmp), it starts playing the track currently on-air without first preceding the stream with the given intro file.

The file is coded with 44100 Hz frequency and 16 bits, and it's stereo just like most of the mp3's played by liquidsoap, and if I try to play this file with WinAmp, it plays correctly.

Any ideas? I'll soon go crazy...
Back to top
View user's profile Send private message
audiorapture



Joined: 21 Aug 2009
Posts: 60
Location: Virginia, USA

PostPosted: Wed Oct 07, 2009 7:57 pm    Post subject: Re: Can't get intro file to work Reply with quote

Nagyak wrote:

<intro>/var/lib/icecast2/WelcomeToMalackaRadio.mp3</intro>


The intro path must be relative to the webroot.
Back to top
View user's profile Send private message Visit poster's website AIM Address
Nagyak



Joined: 07 Oct 2009
Posts: 3
Location: Budapest, Hungary

PostPosted: Thu Oct 08, 2009 7:55 am    Post subject: Re: Can't get intro file to work Reply with quote

audiorapture wrote:


The intro path must be relative to the webroot.



This is it, now it works! Thanks a lot!
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