summaryrefslogtreecommitdiffstats
path: root/geschichte.toml
blob: 3edf8a38a426e62475775e6b1f0eb02433c9a91d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
[base]
backend = "vlc_rc"
inputdev = "/dev/input/by-path/pci-0000:00:14.0-usb-0:1:1.0-event-kbd"

[backendconfig]
addr = "localhost:8888"

# see /usr/include/linux/input-event-codes.h
[keymap]
play = 207
stop = 128
pause = 119
volup = 115
voldown = 114
next = 407
prev = 412

[[playlist]]
name = "red"
source = "/mnt/geschichten/red"
program = "linear"
# KEY_RED
keycode = 398
extra = { num_play = "1" }

[[playlist]]
name = "green"
source = "/mnt/geschichten/green"
program = "linear"
# KEY_GREEN
keycode = 399
extra = { num_play = "3" }

[[playlist]]
name = "yellow"
source = "/mnt/geschichten/yellow"
program = "shuffle"
# KEY_YELLOW
keycode = 400
extra = { num_play = "3" }

[[playlist]]
name = "blue"
source = "/mnt/geschichten/blue"
program = "random"
# KEY_BLUE
keycode = 401
extra = { num_play = "2" }