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 

buildm3u for file serving

 
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: Sat Mar 11, 2006 9:58 pm    Post subject: buildm3u for file serving Reply with quote

Hello,

So, I was wondering if there was any thoughts to create an option like buildm3u for file serving?

Was attempting to create a mount to a file and alias it to its directory. Then in the mount, use the url authenticator to protect it.

<mount>
<mount-name>/song.ogg</mount-name>
<authentication type="url">
<option name="listener_add" value="http://myserv/auth/action.php"/>
<option name="listener_remove" value="http://myserv/auth/action.php"/>
</authentication>
</mount>

<paths>
<alias source="/song.ogg" dest="/dir/dir/song.ogg"/>
</paths>


I use the following to auth a stream when I have a user currently logged into my site. http://myserv:8000/admin/buildm3u?username=test&password=test2&mount=/song.ogg

but, since a fileserve mount is not a true source, this will not work for serving files.

error_log:
[2006-03-11 15:49:08] WARN admin/admin_handle_request Admin command buildm3u on non-existent source /song.ogg
65.67.62.64 - - [11/Mar/2006:15:49:08 -0600] "GET /admin/buildm3u HTTP/1.1" 400 83 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.0.3705; .NET CLR 1.1.4322)" 0

Any way to auth file server requests with passing username and password information without requiring user to type it in on the player pop-up?


Thanks for your time.
-matt
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sun Mar 12, 2006 2:04 am    Post subject: Reply with quote

can you report that on bugs.xiph.org, the buildm3u is checking for a source before returning and as you say, that doesn't work for files.

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