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.
16 status.xml or status.json
18 < Get VLC status information, current item info and meta.
19 < Get VLC version, and http api version
21 > add <mrl> to playlist and start playback:
22 ?command=in_play&input=<mrl>
24 > add <mrl> to playlist:
25 ?command=in_enqueue&input=<mrl>
27 > play playlist item <id>. If <id> is omitted, play last active item:
28 ?command=pl_play&id=<id>
30 > 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:
31 ?command=pl_pause&id=<id>
33 > resume playback if paused, else do nothing
34 ?command=pl_forceresume
36 > pause playback, do nothing if already paused
37 ?command=pl_forcepause
45 > jump to previous item:
48 > delete item <id> from playlist:
49 ?command=pl_delete&id=<id>
50 NOTA BENE: pl_delete is completly UNSUPPORTED
56 ?command=audiodelay&val=<delayinseconds>
59 ?command=subdelay&val=<delayinseconds>
61 > set playback rate. must be > 0
62 ?command=rate&val=<newplaybackrate>
64 > sort playlist using sort mode <val> and order <id>:
65 ?command=pl_sort&id=<id>&val=<val>
66 If id=0 then items will be sorted in normal order, if id=1 they will be
67 sorted in reverse order
68 A non exhaustive list of sort modes:
75 > toggle random playback:
84 > toggle enable service discovery module <val>:
85 ?command=pl_sd&val=<val>
95 > set volume level to <val> (can be absolute integer, percent or +/- relative value):
96 ?command=volume&val=<val>
97 Allowed values are of the form:
98 +<int>, -<int>, <int> or <int>%
101 ?command=seek&val=<val>
102 Allowed values are of the form:
103 [+ or -][<int><H or h>:][<int><M or m or '>:][<int><nothing or S or s or ">]
105 (value between [ ] are optional, value between < > are mandatory)
107 1000 -> seek to the 1000th second
108 +1H:2M -> seek 1 hour and 2 minutes forward
109 -10% -> seek 10% back
113 < get the full playlist tree
118 > get <dir>'s filelist
122 < get the full list of VLM elements
126 < execute VLM command <cmd>
128 > get the error message from <cmd>
132 >command=preamp&val=<val in dB>
133 sets the preamp value, must be >=-20 and <=20
135 >command=equalizer&band=<band>&val=<gain in dB, must be >=-20 and <=20)
137 <Displays the equalizer band gains.
138 Band 0: 60 Hz, 1: 170 Hz, 2: 310 Hz, 3: 600 Hz, 4: 1 kHz,
139 5: 3 kHz, 6: 6 kHz, 7: 12 kHz , 8: 14 kHz , 9: 16 kHz