3 This file describes commands available through the requests/ file:
5 Lines starting with < describe what the page sends back
6 Lines starting with > describe what you can send to the page
8 All parameters need to be URL encoded.
18 < Get VLC status information, current item info and meta.
20 > add <mrl> to playlist and start playback:
21 ?command=in_play&input=<mrl>
23 > add <mrl> to playlist:
24 ?command=in_enqueue&input=<mrl>
26 > play playlist item <id>. If <id> is omitted, play last active item:
27 ?command=pl_play&id=<id>
29 > toggle pause. If current state was 'stop', play item <id>, if no <id> specified, play current item. If no current item, play 1st item in the playlist:
30 ?command=pl_pause&id=<id>
32 > resume playback if paused, else do nothing
33 ?command=pl_forceresume
35 > pause playback, do nothing if already paused
36 ?command=pl_forcepause
44 > jump to previous item:
47 > delete item <id> from playlist:
48 ?command=pl_delete&id=<id>
54 ?command=audiodelay&val=<delayinseconds>
57 ?command=subdelay&val=<delayinseconds>
59 > set playback rate. must be > 0
60 ?command=rate&val=<newplaybackrate>
62 > sort playlist using sort mode <val> and order <id>:
63 ?command=pl_sort&id=<id>&val=<val>
64 If id=0 then items will be sorted in normal order, if id=1 they will be
65 sorted in reverse order
66 A non exhaustive list of sort modes:
73 > toggle random playback:
82 > toggle enable service discovery module <val>:
83 ?command=pl_sd&val=<val>
93 > set volume level to <val> (can be absolute integer, percent or +/- relative value):
94 ?command=volume&val=<val>
95 Allowed values are of the form:
96 +<int>, -<int>, <int> or <int>%
99 ?command=seek&val=<val>
100 Allowed values are of the form:
101 [+ or -][<int><H or h>:][<int><M or m or '>:][<int><nothing or S or s or ">]
103 (value between [ ] are optional, value between < > are mandatory)
105 1000 -> seek to the 1000th second
106 +1H:2M -> seek 1 hour and 2 minutes forward
107 -10% -> seek 10% back
111 < get the full playlist tree
116 > get <dir>'s filelist
120 < get the full list of VLM elements
124 < execute VLM command <cmd>
126 > get the error message from <cmd>