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>
49 NOTA BENE: pl_delete is completly UNSUPPORTED
55 ?command=audiodelay&val=<delayinseconds>
58 ?command=subdelay&val=<delayinseconds>
60 > set playback rate. must be > 0
61 ?command=rate&val=<newplaybackrate>
63 > sort playlist using sort mode <val> and order <id>:
64 ?command=pl_sort&id=<id>&val=<val>
65 If id=0 then items will be sorted in normal order, if id=1 they will be
66 sorted in reverse order
67 A non exhaustive list of sort modes:
74 > toggle random playback:
83 > toggle enable service discovery module <val>:
84 ?command=pl_sd&val=<val>
94 > set volume level to <val> (can be absolute integer, percent or +/- relative value):
95 ?command=volume&val=<val>
96 Allowed values are of the form:
97 +<int>, -<int>, <int> or <int>%
100 ?command=seek&val=<val>
101 Allowed values are of the form:
102 [+ or -][<int><H or h>:][<int><M or m or '>:][<int><nothing or S or s or ">]
104 (value between [ ] are optional, value between < > are mandatory)
106 1000 -> seek to the 1000th second
107 +1H:2M -> seek 1 hour and 2 minutes forward
108 -10% -> seek 10% back
112 < get the full playlist tree
117 > get <dir>'s filelist
121 < get the full list of VLM elements
125 < execute VLM command <cmd>
127 > get the error message from <cmd>
131 >command=preamp&val=<val in dB>
132 sets the preamp value, must be >=-20 and <=20
134 >command=equalizer&band=<band>&val=<gain in dB, must be >=-20 and <=20)
136 <Displays the equalizer band gains.
137 Band 0: 60 Hz, 1: 170 Hz, 2: 310 Hz, 3: 600 Hz, 4: 1 kHz,
138 5: 3 kHz, 6: 6 kHz, 7: 12 kHz , 8: 14 kHz , 9: 16 kHz