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 

Intro not working

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





PostPosted: Mon Aug 28, 2006 8:02 am    Post subject: Intro not working Reply with quote

Hi guys. I've been beating my head against a wall for a while on this one and am now forced to post to see if I can get help. I've got the intro tag in my icecast.xml file and I have the .mp3 file that matches the stream type, bitrate, sample rate, etc in a subdirectory off my webroot directory. I can play the mp3 file using the icecast webserver via the url just fine, but it never actually plays at the beginning of a stream. I'm using the Win32 2.3.1 version. The mount that is trying to play the intro file is the /tfr one.

Here's my icecast.xml:

<icecast>

<limits>
<clients>20</clients>
<sources>5</sources>
<threadpool>5</threadpool>
<queue-size>102400</queue-size>
<client-timeout>20</client-timeout>
<header-timeout>15</header-timeout>
<source-timeout>10</source-timeout>
<burst-on-connect>1</burst-on-connect>
<burst-size>65535</burst-size>
</limits>

<authentication>
<source-password>qqq<source-password>
<relay-password>rrr</relay-password>
<admin-user>admin</admin-user>
<admin-password>sss</admin-password>
</authentication>

<listen-socket>
<port>8666</port>
<bind-address>xxx.xxx.xxx.xxx</bind-address>
</listen-socket>
<listen-socket>
<port>8666</port>
<bind-address>yyy.yyy.yyy.yyy</bind-address>
</listen-socket>

<mount>
<mount-name>/tfr</mount-name>
<password>ttt</password>
<max-listeners>10</max-listeners>
<fallback-mount>/radio128</fallback-mount>
<fallback-override>1</fallback-override>
<intro>/tfr/tfr.mp3</intro>
</mount>

<mount>
<mount-name>/tfr24</mount-name>
<password>uuu</password>
<max-listeners>10</max-listeners>
<fallback-mount>/radio24</fallback-mount>
<fallback-override>1</fallback-override>
</mount>

<logging>
<accesslog>access.log</accesslog>
<errorlog>error.log</errorlog>
<loglevel>3</loglevel>
</logging>

<security>
<chroot>0</chroot>
<!--
<changeowner>
<user>nobody</user>
<group>nogroup</group>
</changeowner>
-->
</security>

<paths>
<basedir>./</basedir>
<logdir>./logs</logdir>
<webroot>./web</webroot>
<adminroot>./admin</adminroot>
<alias source="/" dest="/status.xsl"/>
</paths>

</icecast>

Here's my error log which says nothing about the intro file at all:

[2006-08-28 00:57:09] INFO main/main.c Icecast 2.3.1 server started
[2006-08-28 00:57:09] INFO yp/yp.c YP update thread started
[2006-08-28 00:57:09] INFO auth/auth.c Authentication thread started
[2006-08-28 00:57:14] INFO connection/connection.c Source logging in at mountpoint "/tfr24"
[2006-08-28 00:57:19] INFO fserve/fserve.c checking for file /tfr (.//web/tfr)
[2006-08-28 00:57:19] WARN fserve/fserve.c found requested file but there is no handler for it: .//web/tfr
[2006-08-28 00:57:21] INFO connection/connection.c Source logging in at mountpoint "/radio128"
[2006-08-28 00:57:21] INFO connection/connection.c Source logging in at mountpoint "/radio320"
[2006-08-28 00:57:21] INFO connection/connection.c Source logging in at mountpoint "/radio24"
[2006-08-28 00:57:25] WARN source/source.c Disconnecting source due to socket timeout
[2006-08-28 00:57:25] INFO source/source.c Source "/tfr24" exiting
[2006-08-28 00:57:25] INFO source/source.c passing 0 listeners to "/radio24"
[2006-08-28 00:57:29] INFO source/source.c listener count on /radio128 now 1
[2006-08-28 00:57:42] INFO connection/connection.c Source logging in at mountpoint "/tfr24"
[2006-08-28 00:57:42] INFO source/source.c passing 0 listeners to "/tfr24"
[2006-08-28 00:57:51] WARN source/source.c Disconnecting source due to socket timeout
[2006-08-28 00:57:51] INFO source/source.c Source "/radio24" exiting
[2006-08-28 00:58:02] INFO admin/admin.c Received admin command metadata on mount "/radio128"
[2006-08-28 00:58:02] INFO admin/admin.c Metadata on mountpoint /radio128 changed to "Rowling, J.K. - Track08"
[2006-08-28 00:58:02] INFO admin/admin.c Received admin command metadata on mount "/radio320"
[2006-08-28 00:58:02] INFO admin/admin.c Metadata on mountpoint /radio320 changed to "Rowling, J.K. - Track08"
[2006-08-28 00:58:03] WARN admin/admin.c Admin command metadata on non-existent source /radio24
[2006-08-28 00:58:04] INFO admin/admin.c Received admin command metadata on mount "/tfr24"
[2006-08-28 00:58:04] INFO admin/admin.c Metadata on mountpoint /tfr24 changed to "Rowling, J.K. - Track08"
[2006-08-28 00:58:32] INFO connection/connection.c Source logging in at mountpoint "/radio24"
[2006-08-28 00:58:44] INFO source/source.c listener count on /radio128 now 2
[2006-08-28 00:58:50] INFO source/source.c listener count on /radio128 now 1
[2006-08-28 00:58:53] INFO source/source.c Source "/radio24" exiting
[2006-08-28 00:58:53] INFO source/source.c Source "/radio320" exiting
[2006-08-28 00:58:53] INFO source/source.c Source "/tfr24" exiting
[2006-08-28 00:58:53] INFO source/source.c Source "/radio128" exiting
[2006-08-28 00:58:53] INFO main/main.c Shutting down
[2006-08-28 00:58:53] INFO fserve/fserve.c file serving thread stopped
[2006-08-28 00:58:53] INFO slave/slave.c Slave thread shutdown complete
[2006-08-28 00:58:53] INFO auth/auth.c Authenication thread shutting down
[2006-08-28 00:58:53] INFO auth/auth.c Auth thread has terminated
[2006-08-28 00:58:53] INFO yp/yp.c YP thread down
[2006-08-28 00:58:54] INFO stats/stats.c stats thread finished


Thanks for any help!
pace
Back to top
Anonymous
Guest





PostPosted: Tue Aug 29, 2006 1:47 am    Post subject: Reply with quote

Just FYI here, I moved that icecast.xml file over to a freshly compiled icecast on a Fedora Core 2 linux server. I changed a few things like the basedir and set it to run chrooted. Same problem. No intro. All other streaming is working fine.


pace
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Aug 29, 2006 10:19 pm    Post subject: Reply with quote

You may need to have log level set to 4 to see all message but if
http://host:port/tfr/tfr.mp3 works then the intro should be working

karl.
Back to top
View user's profile Send private message Send e-mail 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