View Full Version : .qtl script for Shoutcast stream
dj001
6th March 2012, 17:32
I need a .qtl script that works for all Shoutcast streams. This one worked with my old streamhost, but will not work with my new streamhost:
<?xml version="1.0"?>
<?quicktime type="application/x-quicktime-media-link"?>
<embed
autoplay="true"
controller="true"
type="video/quicktime"
quitwhendone="false"
loop="false"
src="http://myURL:myPORT/listen.pls"
/>
i'm surprised a link to a pls file instead of what is basically another playlist file even works (i know it probably should but a lot of players don't handle things nicely).
i'd just go with src="http://myURL:myPORT/" and give the actual url of the stream instead of trying to get things to go through another level.
then again, i cannot remember if you're on a v1 or a v2 DNAS, so you'd need to apply /stream/xxx/ if necessary.
-daz
dj001
6th March 2012, 20:01
I removed /listen.pls from the .qtl script, and it still doesn't work.
What do you mean by apply /stream/xxx/ if necessary?
the /stream/xxx/ part is how to access a stream in a v2 dnas where xxx is the streamid if it's the v2 DNAS you're using.
as for not working, is the DNAS even acknowledging anything of the connection attempt. that's the only thing which i can suggest.
-daz
dj001
6th March 2012, 20:22
QuickTime is activated and this message spits out: Error -2048. Couldn't open the file myfile.qtl because it is not a file that QuickTime understands. It worked perfectly with my previous streamhost.
well if that's what quicktime is reporting then clearly something must be wrong or something with quicktime has changed. however i really don't know as i don't have access to quicktime currently to even attempt to try it out myself. though if that's the error then it points at quicktime over being the dnas i'd have thought.
-daz
dj001
11th March 2012, 08:05
For some reason I cannot fathom, the qtl script must be on the same domain as the page with the listen-link button. This was not required with the old streamhost.
DrO
11th March 2012, 18:15
k, well i might look to add in native qtl support to the v2 dnas to complement the pls, m3u, asx and xspf (coming in the next drop) playlists already supported. since there's more qtl usage than i thought was the case from doing some other work i've had to do recently.
-daz
vBulletin® v3.8.6, Copyright ©2000-2013, Jelsoft Enterprises Ltd.