Layout refactor
Also included provisioning for htpc host
This commit is contained in:
parent
f90702c7b8
commit
970f7489fb
103 changed files with 782 additions and 893 deletions
14
templates/mpv/config.j2
Normal file
14
templates/mpv/config.j2
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
# {{ ansible_managed }}
|
||||
#
|
||||
gpu-api=opengl
|
||||
vo=gpu
|
||||
hwdec=vaapi
|
||||
|
||||
audio-samplerate=128000
|
||||
audio-format=s64
|
||||
volume=100
|
||||
|
||||
keep-open=yes # do not close the window on exit
|
||||
keepaspect-window=no # add black bars if window aspect and video aspect mismatch
|
||||
|
||||
sub-auto=fuzzy # load all subs containing the media filename
|
||||
25
templates/mpv/input.j2
Normal file
25
templates/mpv/input.j2
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
# {{ ansible_managed }}
|
||||
#
|
||||
# See /usr/share/doc/mpv/input.conf for more options.
|
||||
#
|
||||
## Seek units are in seconds, but note that these are limited by keyframes.
|
||||
RIGHT seek 5
|
||||
LEFT seek -5
|
||||
SHIFT+RIGHT seek 60
|
||||
SHIFT+LEFT seek -60
|
||||
|
||||
UP add ao-volume 2
|
||||
DOWN add ao-volume -2
|
||||
m cycle ao-mute
|
||||
|
||||
PGUP add chapter 1 # skip to next chapter
|
||||
PGDWN add chapter -1 # skip to previous chapter
|
||||
|
||||
q quit
|
||||
|
||||
j cycle sub # cycle through subtitles
|
||||
- cycle audio # switch audio track
|
||||
|
||||
f cycle fullscreen # toggle fullscreen
|
||||
s screenshot # take a screenshot
|
||||
S screenshot video # ...without subtitles
|
||||
Loading…
Add table
Add a link
Reference in a new issue