Old 3rd April 2018, 14:50   #1
twitterautopost
Junior Member
 
Join Date: Jun 2014
Posts: 12
Correct format for .pls file?

Hi all,

Been ages since I've been around here!

Quick question, what is the correct format for a .pls file that has a link to 2 live streams so that, for example, if one stream is not there, it will jump to the next one? I've seen conflicting information regarding the structure for including two URL's, whihc one would be the correct one?

[playlist]
File1=http://stream.com:8000
File2=http://stream.com:8002
Title1=Station 1
Title2=Station 2
NumberOfEntries=2

OR

[playlist]
NumberOfEntries=2
Title1=Station 1
File1=http://stream.com:8000
Title2=Station 2
File2=http://stream.com:8002

?

Thanks in advance!
twitterautopost is offline   Reply With Quote
Old 5th April 2018, 17:38   #2
djSpinnerCee
Forum King
 
djSpinnerCee's Avatar
 
Join Date: Aug 2004
Location: Hollis, Queens/The Bronx, NYC
Posts: 3,504
the order is probably not important - this is how the shoutcast directory organizes a multi-stream .pls:
Quote:
[playlist]
numberofentries=2
File1=http://74.88.89.23:30007/stream/3/
Title1=(#1 - 1/100) #80s DigitalMix by djSpinnerCee NYC v2 - Sound of Vinyl #house #rap #mixtape #latin
Length1=-1
File2=http://68.174.185.245:30011/stream/3/
Title2=(#2 - 2/64) #80s DigitalMix by djSpinnerCee NYC v2 - Sound of Vinyl #house #rap #mixtape #latin
Length2=-1
Version=2
djSpinnerCee is online now   Reply With Quote
Old 5th April 2018, 17:39   #3
twitterautopost
Junior Member
 
Join Date: Jun 2014
Posts: 12
@djSpinnerCee Thank you. I ended up with something similar after doing some testing.

Appreciate your reply.
twitterautopost is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Technical Support

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