PDA

View Full Version : on demand playlist


fluffhead
7th June 2000, 01:06
and the question is...

is there a way to stream playlists on demand? i have the on demand working just fine with individual songs, i.e. i can make a page of links in .pls format that point to files in the /content directory and everything is all nice and squishy.. now what i want to do is make a playlist (say, of a particular album) and have a link to that.

the problem seems to be that the DNAS only recognizes .mp3 files in the /content folder, and not .m3u files..

anyone have any ideas? post here or email fluffhead@hotmail.com

Xiaos
7th June 2000, 01:25
Yes, make a .pls file in notepad like this:

#EXTM3U
#EXTINF:-1,N/A - songname1.mp3 http://xxx.xxx.xxx.xxx:8000/content/songname1.mp3
#EXTINF:-1,N/A - songname2.mp3 http://xxx.xxx.xxx.xxx:8000/content/songname2.mp3

and so on...
Make a link to the .pls file on u'r site, user can either save the .pls to disk or open it (P.S. if they save it they can customize the list too, delete,move,change the order of playing on their saved version of the list)
Also note: I tried running on demand too BUT there is a slight security flaw in it so I stopped.

ICQ me for details 2756042.
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by fluffhead:
and the question is...

is there a way to stream playlists on demand? i have the on demand working just fine with individual songs, i.e. i can make a page of links in .pls format that point to files in the /content directory and everything is all nice and squishy.. now what i want to do is make a playlist (say, of a particular album) and have a link to that.

the problem seems to be that the DNAS only recognizes .mp3 files in the /content folder, and not .m3u files..

anyone have any ideas? post here or email fluffhead@hotmail.com<HR></BLOCKQUOTE>

Xiaos
7th June 2000, 01:28
Correction to the last message,

please make sure the
#EXT etc is on one line
and then start a new line for http address.

I tried to post it like that above but it turned it into a URL and put it on the same line as the #EXT.

<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Xiaos:
Yes, make a .pls file in notepad like this:

#EXTM3U
#EXTINF:-1,N/A - songname1.mp3 http://xxx.xxx.xxx.xxx:8000/content/songname1.mp3
#EXTINF:-1,N/A - songname2.mp3 http://xxx.xxx.xxx.xxx:8000/content/songname2.mp3

and so on...
Make a link to the .pls file on u'r site, user can either save the .pls to disk or open it (P.S. if they save it they can customize the list too, delete,move,change the order of playing on their saved version of the list)
Also note: I tried running on demand too BUT there is a slight security flaw in it so I stopped.

ICQ me for details 2756042.
<HR></BLOCKQUOTE>

fluffhead
7th June 2000, 02:44
i'm not a big ICQ user.. i tried to find you there but you were offline, so i'll try here..

i tried your suggestion but when i click the .pls link, i get a "invalid resource" error..

any thoughts?

Jay
7th June 2000, 04:52
That's the wrong syntax, the file is incorrect, he was describing how to build a M3U file.

a PLS file is as follows:

[playlist]
File1=http://www.yourserver.com/my.mp3
Title1=Song Title
Length1=-1
NumberOfEntries=1
Version=2

erro
13th July 2000, 14:41
someone can send me sample playlist file please?