Page 1 of 1

Select video using web interface

Posted: 22 Apr 2022 22:27
by MSemz
I tried to play and pause VLC from browser using 127.0.0.1/requests/status.xml?command=pl_play
and it works fine
I wanted to change the running video using ?command=pl_play&id=0 and id=1 and id = 2, all of them running the same video which is the first one in the playlist

So How to select which video in playlist to play ?

Re: Select video using web interface

Posted: 21 Jun 2022 17:20
by jackspm
You need to know the id of the track on the playlist.
using 127.0.0.1/requests/playlist.xml will list your playlist along with their corresponding id.
then using 127.0.0.1/requests/status.xml?command=pl_play&id=x, where x is the id number.
hope this help.