Moving playlist items through HTTP interface

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
gummbahla
New Cone
New Cone
Posts: 1
Joined: 06 Aug 2011 15:02

Moving playlist items through HTTP interface

Postby gummbahla » 06 Aug 2011 15:09

I'm currently working on an improved version of the HTTP interface for VLC. One of the things I wanted to include in this interface, is the possibility to move playlist items to another position.
Although http://wiki.videolan.org/Documentation: ... _Interface provides me with the possibility of using playlist_move function, I get the following error when using it:

"oldhttp error: moving using indexes is obsolete. We need to update this function"

Is there any workaround, or solution to this problem? The only workaround I could think of, is to empty the playlist completely and insert the tracks in their new order. Of course, this won't be pretty (playback will stop etc.), so a better solution is more than welcome.

Anybody?

Rémi Denis-Courmont
Developer
Developer
Posts: 15324
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Moving playlist items through HTTP interface

Postby Rémi Denis-Courmont » 07 Aug 2011 09:15

I don't think there is any solution other than fix the C back-end.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Moving playlist items through HTTP interface

Postby Jean-Baptiste Kempf » 07 Aug 2011 13:39

I'm currently working on an improved version of the HTTP interface for VLC.
Before doing anything, please USE vlc 1.2.0-git and the improved HTTP interface!
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

jcduss
New Cone
New Cone
Posts: 2
Joined: 08 Oct 2011 14:27

Re: Moving playlist items through HTTP interface

Postby jcduss » 08 Oct 2011 15:01

Hello,

I believe the move function disappeared from the HTTP interface (the old, pure HTML one, as the new flash interface never offered it AFAIK) at some point between version 0.8.2 and 0.9.

I do use the move functionality successfully with version 0.8.1 (/?control=move&psz_pos=<old ID>&psz_newpos=<new ID>), but looking at the HTTP interface layout of version 0.9.1 the form 'Move the item number ... to ...' is simply not displayed...

Waiting for a re-implementation and looking forward to using this feature again in an up-to-date version of VLC.

Cheers

Rémi Denis-Courmont
Developer
Developer
Posts: 15324
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Moving playlist items through HTTP interface

Postby Rémi Denis-Courmont » 08 Oct 2011 17:06

There is no, and there never was a Flash interface.

And don't expect any help with a version as old and buggy as 0.8.x. You're on your own.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

jcduss
New Cone
New Cone
Posts: 2
Joined: 08 Oct 2011 14:27

Re: Moving playlist items through HTTP interface

Postby jcduss » 17 Oct 2011 11:56

There is no, and there never was a Flash interface.
Sorry, I meant the "ajax-like" interface (that is the black/white one with a slider for the timeline and automatically refreshed elements), as opposed to the old static one.
And don't expect any help with a version as old and buggy as 0.8.x. You're on your own.
Sure, no one can reasonably expect support for such an old version. But fact is that, at least speaking of HTTP interface, version 0.8.1 is one of the (few) versions providing actually working functionalities (like moving items or deleting the item being currently played). So for my needs, not so buggy at all.

Thanks anyway.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 84 guests