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 

On-Demand Streaming of an Entire Directory

 
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: Sun May 07, 2006 2:44 am    Post subject: On-Demand Streaming of an Entire Directory Reply with quote

Hello,

Perhaps this is a newbie question.

I've recently installed Icecast and have been playing around with it. It works great. My primary reason for using it is to be in conjunction with my newly purchased Philips Streamium MC-i200. The Streamium has its own software (PC Link), but it can not wake (alarm) to PC Link. It can however, wake to a stream.

This is my goal: to have the Streamium wake me up in the morning by connecting to my Icecast server and play a predefined series of songs on-demand (as an example, all the songs within a particular directory, or all the songs that I have in a playlist).

I've tested the Streamium's connectivity to my Icecast server and played a single file on demand. I've had it wake to this single file as well. These both work perfectly. The problem though, is that the Streamium does not support playlist files in streaming mode (argh).

I must mention that I do not want to run a source client 24/7 (why have something running all the time that I will only listen to for 1/2 hour a day). Nor do I want to have a timer start/stop a source client at a predefined time (syncing the two would be a nightmare as well - what if I change the time I wake up).

What I would like is the capability to point my Streamium to a URL such as:

http://myserver:8000/ArtistName/AlbumName/

and have it stream the entire directory. Alternatively:

http://myserver:8000/ParsePlayList.xsl?PlayList=playlist.pls

to serverside parse the playlist and begin streaming the files to me.

On a standard web server, I'd just write a CGI/PHP script to do this (parse the directory/playlist and pump out the files as one long file). As a test, I concatenated a few MP3s together and pointed my Streamium to it. It worked fine (it even re-interpreted the ID3 tags as they came down in the stream). So far as I can tell, this option doesn't exist on an Icecast server.

Thanks for the help in advance!

- George
Back to top
Anonymous
Guest





PostPosted: Sun May 14, 2006 3:24 pm    Post subject: Reply with quote

Any thoughts or ideas anybody? Hate to be a bother, but I still haven't found a solution on my own. Thanks!

- George
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sun May 14, 2006 7:32 pm    Post subject: Reply with quote

It's possible to use the url-based listener authentication module to kick off the source client. You don't need to check the auth details but the script it uses (eg php) could be used to kick off a source client. Failing that you are looking at appending the content into one file which is not advisable. There hasn't been a request to expand playlists on the icecast side.

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