requests/status.xml?command=pl_play&id
Posted: 20 Jun 2019 14:05
I have two questions to this command:
I'm creating out of a database a XSPF playlist for the VLC and – same order and filter – a HTML page with thumbnails. I have now added an icon to the page where I want, that a click on it causes that the VLC jumps to that movie.
So the hyperlink in the HTML looks like:
Basically it works, but there are two problems:
There is an offset of 3 between the ID and the position in the play list, the command above will jump to position 97, if I want to jump to movie 100 I have to call 103. If this is a constant value, it would not be a problem to add simply 3 to 'my' ID to convert it for the hyper link, but somehow it's not plausible.
The more annoying issue is: Each time I click on such an icon the status is shown in the current window. Under HTML I can change the target for this window, but the main page loses it's focus.
How can I suppress the response from the VLC
I'm creating out of a database a XSPF playlist for the VLC and – same order and filter – a HTML page with thumbnails. I have now added an icon to the page where I want, that a click on it causes that the VLC jumps to that movie.
So the hyperlink in the HTML looks like:
Code: Select all
http://xxx.xxx.xxx.xx:8080/requests/status.xml?command=pl_play&id=100
There is an offset of 3 between the ID and the position in the play list, the command above will jump to position 97, if I want to jump to movie 100 I have to call 103. If this is a constant value, it would not be a problem to add simply 3 to 'my' ID to convert it for the hyper link, but somehow it's not plausible.
The more annoying issue is: Each time I click on such an icon the status is shown in the current window. Under HTML I can change the target for this window, but the main page loses it's focus.
How can I suppress the response from the VLC