Page 1 of 1

Moving playlist items through HTTP interface

Posted: 06 Aug 2011 15:09
by gummbahla
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?

Re: Moving playlist items through HTTP interface

Posted: 07 Aug 2011 09:15
by Rémi Denis-Courmont
I don't think there is any solution other than fix the C back-end.

Re: Moving playlist items through HTTP interface

Posted: 07 Aug 2011 13:39
by Jean-Baptiste Kempf
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!

Re: Moving playlist items through HTTP interface

Posted: 08 Oct 2011 15:01
by jcduss
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

Re: Moving playlist items through HTTP interface

Posted: 08 Oct 2011 17:06
by Rémi Denis-Courmont
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.

Re: Moving playlist items through HTTP interface

Posted: 17 Oct 2011 11:56
by jcduss
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.