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 

An Ices/EZStream Question

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





PostPosted: Sun Jul 16, 2006 4:33 am    Post subject: An Ices/EZStream Question Reply with quote

I am looking to setup a playlist in EZStream or Ices that plays only once, and does not repeat. In my limited experience, both these applications endlessy repeat a playlist. Is there a way to make them play only once, or redirect back to a fallback mount once the playlist is over?

If Ices or EZStream can't do this, can someone suggest a source client that does?

Thanks for your time,
Jason@Proton Radio

update: Doesn't look like EZStream can do this, Ices2 CAN do this, but I need to be able to stream MP3-- Ices's doesnt seem to have a way to do this, if we script the playlist/file then what command can the Perl script give to stop playback?
Back to top
Anonymous
Guest





PostPosted: Tue Sep 12, 2006 3:41 am    Post subject: Reply with quote

I can think of a way to do this from a purely theoretical standpoint.

Simply run EZStream with the playlist, and configure a fallback mountpoint for when the stream gets killed. Next, cron a perl script that checks (somehow) what's being played by EZStream, if it matches the first file in the playlist, then simply cat icecast.pid > kill.
Back to top
Anonymous
Guest





PostPosted: Tue Sep 12, 2006 6:20 am    Post subject: Reply with quote

Hmm, I'd not want an abrupt cut of the stream but rather it just end after the song is over. My guess is we'll have to do this with scripting with Ices. I'm amazed there isn't a more developed piece of software to do this that wouldn't require us to know Perl or other scripting software to get the job done :/
Back to top
Anonymous
Guest





PostPosted: Mon Sep 18, 2006 8:09 pm    Post subject: Reply with quote

i changed two lines in ezstream.c an now ezstream doesn't repeat the playlist:

Code:

// LINE 663

      while (1) { //   <- remove this line
         if (!strrcmp(pezConfig->fileName, ".m3u")) {
            streamPlaylist(shout, pezConfig->fileName);
         }
         else {
            streamFile(shout, pezConfig->fileName);
         }
      }    //   <- remove this line



and compile it Wink
Back to top
Anonymous
Guest





PostPosted: Mon Sep 18, 2006 8:10 pm    Post subject: Reply with quote

Wow thanks.
Back to top
Anonymous
Guest





PostPosted: Mon Jun 23, 2008 3:04 pm    Post subject: Reply with quote

can You tell me, how to do that with ices for mp3?

Regards!
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Source Clients 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