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>:
27 ?command=pl_play&id=<id>
29 > toggle pause. If current state was 'stop', play item <id>:
30 ?command=pl_pause&id=<id>
38 > jump to previous item:
41 > delete item <id> from playlist:
42 ?command=pl_delete&id=<id>
47 > sort playlist using sort mode <val> and order <id>:
48 ?command=pl_sort&id=<id>&val=<val>
49 If id=0 then items will be sorted in normal order, if id=1 they will be
50 sorted in reverse order
51 A non exhaustive list of sort modes:
58 > toggle random playback:
67 > toggle enable service discovery module <val>:
68 ?command=pl_sd&val=<val>
78 > set volume level to <val> (can be absolute integer, percent or +/- relative value):
79 ?command=volume&val=<val>
80 Allowed values are of the form:
81 +<int>, -<int>, <int> or <int>%
84 ?command=seek&val=<val>
85 Allowed values are of the form:
86 [+ or -][<int><H or h>:][<int><M or m or '>:][<int><nothing or S or s or ">]
88 (value between [ ] are optional, value between < > are mandatory)
90 1000 -> seek to the 1000th second
91 +1H:2M -> seek 1 hour and 2 minutes forward
96 < get the full playlist tree
101 > get <dir>'s filelist
105 < get the full list of VLM elements
109 < execute VLM command <cmd>
111 > get the error message from <cmd>