Page 1 of 1

Web Interface command to move song in playlist

Posted: 04 Jun 2021 08:15
by Daniel-Mendes
I'm searching for the command to move a song in the playlist via a custom web interface that I am building.

In the github repo I found the file with all the commands but not the command to move a song in a playlist
https://github.com/videolan/vlc/tree/ma ... sts#readme

I found in a vlc doc by verghost: https://verghost.com/vlc-lua-docs/m/playlist/

That explain a command to move a song in a playlist.

You have to specify an id for the item identifier and a target for the target position, so I try the command below:

http://localhost:8080/requests/playlist ... &target=14

But it does not work.

How can I do this.

Re: Web Interface command to move song in playlist

Posted: 21 Jun 2022 17:36
by jackspm
I've tried the playlist move command and was able to get it to work. However, I believe the move function has many bugs. There is a very high chance to cause the player to crash. So at this moment, you should just forget about it. They may have fixed it in version 4. Will see when it is released.