Page 1 of 1

Save Playlist from HTTP interface?

Posted: 24 Aug 2006 17:26
by tvtalkshowshigh
Is it possible to save a playlist from the http interface?

We'd like to use VLC to stream to a digital sinage network, controlling our streaming server via remotely. We'd like to have a default playlist that the server loads on boot, and to be able to change that playlist from the http interface. Obviously that playlist would need to be saved in case of a server reboot.

any thoughts?

thanks,
mark.

Posted: 31 Aug 2006 11:45
by Voyageur
I'd be quite interested too if there is such an option. It would be much easier for me than editing the command line for my streaming server each time I change the music ;)

Posted: 31 Aug 2006 20:01
by tvtalkshowshigh
i assume it probably wouldn't even be that difficult because the function already exists in vlc.

Posted: 31 Aug 2006 23:56
by dionoea
Sure it's possible :) If you know how to do it using the wxWidgets interface's "Stream output" dialog, you should be able to do it easily using the new http interface.

Posted: 01 Sep 2006 00:29
by Voyageur
vlc can be set to output a playlist (m3u) file?

The wxWidgets interface fonction I was referring about is Playlist/Manage/Save the Playlist option (ie save the list of files, not the sound output itself).

Sorry if we got you confused ;)

Posted: 01 Sep 2006 10:27
by dionoea
Woops, i need to get some sleep. I though that you wanted to save video files with the http interface, not playlists :) I don't know if that's possible yet ... i'll have to check when i get back from work.

Posted: 01 Sep 2006 10:50
by tvtalkshowshigh
hehe. thanks dionoea. you had me a little confused for a minute there... ;)

Posted: 01 Sep 2006 23:35
by dionoea
ok, well that option doesn't exist yet. It should be pretty easy to add if you really need it though.

Posted: 02 Sep 2006 19:27
by tvtalkshowshigh
i think it'd be a worthwhile feature to add, and i know it'd make my life much simpler! so if someone can find the time to do it that'd be great.

thanks,
mark.

Posted: 04 Sep 2006 00:12
by Voyageur
Same for me!
But if we are only 2 that need this, I can wait for someone to find time to solve this level-{low urgency} item on the todo list ;)

Posted: 04 Sep 2006 00:15
by tvtalkshowshigh
agreed. it's definitely low priority.

Posted: 04 Sep 2006 00:26
by dionoea
Just a quick work arround if you really need it:
you can use a slightly modified version of the code from /requests/playlist.xml to display a .m3u compliant text playlist and then save that somewhere on the disk using wget or curl (or whatever).

Posted: 04 Sep 2006 00:29
by tvtalkshowshigh
in fact, that may be better in some instances because of the ease of automation. the server could be set to download said xml file at a defined interval and then the user doesn't even have to click "save".

thanks dionoea.

mark.

Re: Save Playlist from HTTP interface?

Posted: 24 Feb 2011 13:26
by koopa
Hi,... I've been tring to do the same thing (save a playlist from HTTP interface). After testing most options, the that gave me best results was: to use the HTTP interface you must have vlc.exe open, then after you have your playlist on VLC http interface you must go to the program and "save a playlist to reproduce" (crtl + Y) and that's it. Then close VLC.exe and refresh(F5) http interface then open the playlist you just saved and refresh again http interface. Then your playlist on http interface should show.