twitch-clip-download

This commit is contained in:
cronekorkn 2023-04-04 11:06:21 +02:00
parent 6a90f605cc
commit d451a70db8
Signed by: cronekorkn
SSH key fingerprint: SHA256:v0410ZKfuO1QHdgKBsdQNF64xmTxOF8osF1LIqwTcVw
3 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,7 @@
directories = {
'/var/lib/twitch-clips': {},
}
pkg_pip = {
'twitch-dl': {},
}

View file

@ -0,0 +1,28 @@
defaults = {
'backup': {
'paths': {
'/var/lib/twitch-clips',
},
},
'systemd-timers': {
f'twitch-clip-download': {
'command': '/usr/local/bin/twitch-dl clips cronekorkn_ --download --all',
'when': 'daily',
'persistent': True,
'working_dir': '/var/lib/twitch-clips',
'after': {
'network-online.target',
},
},
},
'zfs': {
'datasets': {
'tank/twitch-clips': {
'mountpoint': '/var/lib/twitch-clips',
'needed_by': {
'svc_systemd:twitch-clip-download.timer',
},
},
},
},
}

View file

@ -30,6 +30,7 @@
'steam-chat-logger',
'steam-chat-viewer',
'systemd-swap',
'twitch-clip-download',
'raspberrymatic-cert',
'tasmota-charge',
'wireguard',
@ -153,6 +154,9 @@
'max': 70,
},
},
'twitch-clip-download': {
'channel_name': 'cronekorkn_',
},
'vm': {
'cores': 16,
'threads': 32,