diff --git a/ansible/inventory/group_vars/desktop.yml b/ansible/inventory/group_vars/desktop.yml index e40ed45..85f839d 100644 --- a/ansible/inventory/group_vars/desktop.yml +++ b/ansible/inventory/group_vars/desktop.yml @@ -170,6 +170,10 @@ desktop_common_dotfiles: src: .config/opencode/ dest: .config/opencode/ mode: preserve + - name: MPV config + src: .config/mpv/ + dest: .config/mpv/ + mode: preserve - name: Udiskie config src: .config/udiskie/ dest: .config/udiskie/ diff --git a/dotfiles/desktop/.config/mpv/input.conf b/dotfiles/desktop/.config/mpv/input.conf new file mode 100644 index 0000000..e2decee --- /dev/null +++ b/dotfiles/desktop/.config/mpv/input.conf @@ -0,0 +1,14 @@ +# Toggle fullscreen +f fullscreen + +# Toggle pause +Space cycle pause + +# Sottotitoli - delay +z add sub-delay -0.5 + +# Sottotitoli + delay +x add sub-delay +0.5 + +# Ciclo sottotitoli +j cycle sub diff --git a/dotfiles/desktop/.config/mpv/mpv.conf b/dotfiles/desktop/.config/mpv/mpv.conf new file mode 100644 index 0000000..65a438e --- /dev/null +++ b/dotfiles/desktop/.config/mpv/mpv.conf @@ -0,0 +1,16 @@ +# Formato video/audio - miglior qualità fino a 720p +ytdl-format=bestvideo[height<=?720]+bestaudio/best + +# Sottotitoli +sub-visibility=yes +slang=it,en + +# Download automatico sottotitoli (SRT) +ytdl-raw-options=write-subs=,write-auto-subs=,convert-subs=srt + +# Layout e stile +sub-pos=100 +sub-font-size=48 + +# Output +terminal=yes