Prev Previous Post   Next Post Next
Old 17th May 2011, 02:58   #1
hackerdork
Forum King
 
hackerdork's Avatar
 
Join Date: Feb 2006
Location: Earth Circa sometime.
Posts: 3,297
sc_trans, playlist with remote URL?

I remember reading something in beta drop5 that sc_trans2 could or would support remote url's in the playlist. Now running drop40 I do not see that this is an option.
there are applications like SAM broadcaster that do this very thing in your playlist you can point to a remote URL of a mp3 . not that SAM and sc_trans need to be exactly the same since SAM is over $300 and bloated for what it does

Two methods documented for remote scripts
code:


/music/foo.mp3
#!/bin/perl /home/user/songfromDB.pl
/music/bar.mp3

...snip..

#!php call track script
#!php call commercial script



assuming songfromDB.pl returns c:\barfoo.mp3 1, then barfoo.mp3 is played NEXT?


It would be awesome if you could point to url using something like
#!URL http://www.archive.org/download/Isci...22009_64kb.mp3
or
#!curl get
#!php get http://www.archive.org/download/Isci...22009_64kb.mp3

or even having
#playlist
c:\music\foo.mp3
http://www.archive.org/download/Isci...22009_64kb.mp3
c:\music\bar.mp3
#and so on.

More , sorry. This doesn't seem to be documented well at all .
#!php call track script
#!php call commercial scrip
I assume this would really translate to #!php c:\scripts\php\trackscript.php or similar??

if it returns c:\music\foobar.mp3 1 , I assume this coming soon would tell sc_trans that c:\music\foobar.mp3 is really NEXT, whereas foobar.mp3 3, the coming soon is 3 tracks later ??

feedback is greatly needed.

~ According to the ship's log we're down to our last 3000 vomit bags.It'll never be enough.
search the forums! don't PM me on how-to, or ask me to setup you system. you do it so you learn.
hackerdork is offline   Reply With Quote
 
Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Technical Support

Tags
php, playlist, remote, trans, url

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump