Web Interface command to move song in playlist

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
Daniel-Mendes
New Cone
New Cone
Posts: 2
Joined: 04 Jun 2021 08:06

Web Interface command to move song in playlist

Postby Daniel-Mendes » 04 Jun 2021 08:15

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.

jackspm
Blank Cone
Blank Cone
Posts: 14
Joined: 10 Apr 2020 00:05

Re: Web Interface command to move song in playlist

Postby jackspm » 21 Jun 2022 17:36

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.


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 11 guests