View Full Version : Streaming a link list
Y2KVOLT
1st June 2000, 05:39
Hey all - i thought i read somewhere that i could "http://ip http://forums.winamp.com/ubb/tongue.gifort/content/mp3.filename" and Shoutcast would stream it to the client - is this true - the syntax may be incorrect - but you see what im wanting to do?
<a href="...1.mp3
<a href="...2.mp3
...
any ideas guys???
thanks....
JavaJones
1st June 2000, 23:12
From my understanding this is correct. I have tested this (on demand content) and already run into several problems, about which I will soon be making a features request post. Problem #1: it seems that only one person at a time can stream a song. I am unsure yet whether once content is requested, another user could tune in and hear it. #2: certain characters in the name will not be recognized such as a dash "-" parenthesis "(" etc. I'm not even sure spaces are recognized. Now since I have most of my MP3's named by artist - song title (and sometimes with album title as well, depending), I'd have to rename all my MP3's to get this to work. Lastly it does not support directories (according to them to make it less likely to be hacked and allow malicious access to your computer). Therefore you have to have all your Mp3's in the Content directory inside your Shoutcast directory, and not in any subdirectories, otherwise it won't work. My idea is for you to allow a playlist to be specified instead of a specific Mp3, so that you wouldn't even need the intermediate step of a web page with all mp3's listed for on demand, but rather one link that would point to a playlist on the server machine from which a user could then choose and it would select the appropriate Mp3 from wherever it was. Users could still not specify directories *directly* thus (I think) preserving some of that security they're looking out for, while at the same time giving the server much more flexibility by not having to have all Mp3's in one directory (my Mp3 archive is heavily directory dependant for sorting) and also not having to make web based listings of songs. I'm not sure how feasable that is, or what the real security risk is. Possibly a hacker could make a playlist locally that pointed to your machine and specific directories and could from there cause damage, I don't know. At any rate yes, in the current system assuming you have all your mp3's in the \content\ directory inside your shoutcast server directory and that all the names don't use special characters, you can then make an HTML list with the name of each mp3 prefaced with http://ipaddress:port/content/ and users should be able to click on a link and hear the song, assuming no other user is doing so at that time. Keep in mind all this is from my own experimentation with this particular feature as it is one I am also extremely interested in. I hope this is helpful, and I'd appreciate any other comments on the subject.
- JavaJones
Melville
2nd June 2000, 18:58
Hi, got mine goning, after a some hairloss http://forums.winamp.com/ubb/smile.gif
Well this is how I got mine to work. I too all my mp3 files and dumpt it in the content folder, not in any sub-folders. So ../content/filename-of-mp3.mp3 with spaces and all. Then I created a html page with the artist and then the song with a link looking like this - http://www.mcc.org.za:8000/content/02%20-%20Parallel%20Universe.pls - the %20 replaces the spaces in IE5, dont know about netscape yet. The main thing is to change the .mp3 to .pls thats it, have a look. at http://www.mcc.org.za/test/test1.html - Mail me if you want more info and if I can help - support@mcc.org.za - GOOD LUCK !!! http://forums.winamp.com/ubb/smile.gif
GSM_Debauch
4th September 2000, 20:18
There has got to be a way to use sub-folders in content doesn't there? I have over 2 gigs of mp3s and I want them all available for "on demand" use but how the hell do I do that unless I dump them all in the content folder? Is there a way to tell the server which folder to look in for the on demand stuff? Thanx,
debauch
kids@the-pool.net
Hudson FAS
9th September 2000, 21:40
Hey, why don't use links (unixes or Windows)?
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by GSM_Debauch:
There has got to be a way to use sub-folders in content doesn't there? I have over 2 gigs of mp3s and I want them all available for "on demand" use but how the hell do I do that unless I dump them all in the content folder? Is there a way to tell the server which folder to look in for the on demand stuff? Thanx,
debauch
kids@the-pool.net<HR></BLOCKQUOTE>
GSM_Debauch
14th September 2000, 07:05
I've found a solution for on demand streaming with the use of sub folders and directories. ShoutCast is not required for this but the ability to run ASP scripts is. Check out a working example at http://www.babyjesus.net . The pls file sent to Winamp is created on the fly just like in ShoutCast's content directory. If you would like to find out more on how this works email me at kids@the-pool.net .
-->debauch<--
vBulletin® v3.8.6, Copyright ©2000-2013, Jelsoft Enterprises Ltd.