Old 7th January 2011, 20:32   #1
dj001
Senior Member
 
dj001's Avatar
 
Join Date: Mar 2005
Location: Who's asking?
Posts: 449
pls redirect

I am trying to redirect a pls file to a php (which rotates several prerolls, then launches my stream). The php, which I named index.php, works perfectly, but this pls:
code:
[playlist]
NumberOfEntries=1
File1=http://mysite.com/launch/

launches Winamp fine, but I get an "error syncing to stream" message.

(BTW, my webhost supports phps, but does not support htaccess files which cause php files to be seen as pls files.)
dj001 is offline   Reply With Quote
Old 9th January 2011, 11:29   #2
DrO
 
Join Date: Sep 2003
Posts: 27,873
Winamp doesn't know what 'http://mysite.com/launch/' is and so it'll just attempt to try to open it as an mp3 stream (assuming default settings) which leads to the 'error syncing to stream'. you'd need to have the redirect indicated as being a pls in some form (might be able to have a htaccess rule to map say 'http://mysite.com/launch/playlist.pls' to the php script in that way. either way with the current streamurl Winamp just won't attempt to load it as a playlist unless it has .pls on the end.

-daz
DrO is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Discussions

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