Save Playlist from HTTP interface?

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
tvtalkshowshigh
Blank Cone
Blank Cone
Posts: 95
Joined: 13 Jun 2005 12:36
Location: UK

Save Playlist from HTTP interface?

Postby tvtalkshowshigh » 24 Aug 2006 17:26

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.

Voyageur
New Cone
New Cone
Posts: 5
Joined: 31 Aug 2006 11:20
Location: France
Contact:

Postby Voyageur » 31 Aug 2006 11:45

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 ;)

tvtalkshowshigh
Blank Cone
Blank Cone
Posts: 95
Joined: 13 Jun 2005 12:36
Location: UK

Postby tvtalkshowshigh » 31 Aug 2006 20:01

i assume it probably wouldn't even be that difficult because the function already exists in vlc.

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 31 Aug 2006 23:56

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.
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

Voyageur
New Cone
New Cone
Posts: 5
Joined: 31 Aug 2006 11:20
Location: France
Contact:

Postby Voyageur » 01 Sep 2006 00:29

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 ;)
Voyageur

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 01 Sep 2006 10:27

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.
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

tvtalkshowshigh
Blank Cone
Blank Cone
Posts: 95
Joined: 13 Jun 2005 12:36
Location: UK

Postby tvtalkshowshigh » 01 Sep 2006 10:50

hehe. thanks dionoea. you had me a little confused for a minute there... ;)

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 01 Sep 2006 23:35

ok, well that option doesn't exist yet. It should be pretty easy to add if you really need it though.
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

tvtalkshowshigh
Blank Cone
Blank Cone
Posts: 95
Joined: 13 Jun 2005 12:36
Location: UK

Postby tvtalkshowshigh » 02 Sep 2006 19:27

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.

Voyageur
New Cone
New Cone
Posts: 5
Joined: 31 Aug 2006 11:20
Location: France
Contact:

Postby Voyageur » 04 Sep 2006 00:12

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 ;)
Voyageur

tvtalkshowshigh
Blank Cone
Blank Cone
Posts: 95
Joined: 13 Jun 2005 12:36
Location: UK

Postby tvtalkshowshigh » 04 Sep 2006 00:15

agreed. it's definitely low priority.

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 04 Sep 2006 00:26

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).
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

tvtalkshowshigh
Blank Cone
Blank Cone
Posts: 95
Joined: 13 Jun 2005 12:36
Location: UK

Postby tvtalkshowshigh » 04 Sep 2006 00:29

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.

koopa
New Cone
New Cone
Posts: 1
Joined: 24 Feb 2011 13:16

Re: Save Playlist from HTTP interface?

Postby koopa » 24 Feb 2011 13:26

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.


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 1 guest