Added continue watching and clean up config
Signed-off-by: Marko Korhonen <marko.korhonen@reekynet.com>
This commit is contained in:
parent
3b4ca4aa71
commit
ebd0b50115
1 changed files with 16 additions and 25 deletions
|
@ -13,18 +13,6 @@ gpu-context=wayland
|
||||||
ao=alsa
|
ao=alsa
|
||||||
{%@@ endif @@%}
|
{%@@ endif @@%}
|
||||||
|
|
||||||
# Interpolation
|
|
||||||
#profile=gpu-hq
|
|
||||||
#scale=ewa_lanczossharp
|
|
||||||
#cscale=ewa_lanczossharp
|
|
||||||
#dscale=mitchell
|
|
||||||
#video-sync=display-resample
|
|
||||||
#interpolation=yes
|
|
||||||
#tscale=box
|
|
||||||
#tscale-window=sphinx
|
|
||||||
#tscale-radius=1.0
|
|
||||||
#tscale-clamp=0.0
|
|
||||||
|
|
||||||
#############
|
#############
|
||||||
# Audio #
|
# Audio #
|
||||||
#############
|
#############
|
||||||
|
@ -43,6 +31,9 @@ input-ipc-server=/tmp/mpvsocket
|
||||||
# set youtube-dl max res to 1080
|
# set youtube-dl max res to 1080
|
||||||
ytdl-format=bestvideo[height<=1080]+bestaudio/best[height<=1080]
|
ytdl-format=bestvideo[height<=1080]+bestaudio/best[height<=1080]
|
||||||
|
|
||||||
|
# continue watching
|
||||||
|
save-position-on-quit
|
||||||
|
|
||||||
#############
|
#############
|
||||||
# Languages #
|
# Languages #
|
||||||
#############
|
#############
|
||||||
|
@ -70,9 +61,7 @@ sub-shadow-offset=1
|
||||||
sub-shadow-color="#33000000"
|
sub-shadow-color="#33000000"
|
||||||
sub-spacing=0.5
|
sub-spacing=0.5
|
||||||
|
|
||||||
#############
|
# OSD customizations
|
||||||
# OSD / OSC #
|
|
||||||
#############
|
|
||||||
osd-font="Overpass"
|
osd-font="Overpass"
|
||||||
osd-font-size=30
|
osd-font-size=30
|
||||||
osd-color="#ffffffff" # ARGB format
|
osd-color="#ffffffff" # ARGB format
|
||||||
|
@ -84,19 +73,16 @@ osd-bar-w=60 # width of " " "
|
||||||
osd-shadow-color="#11000000"
|
osd-shadow-color="#11000000"
|
||||||
osd-fractions
|
osd-fractions
|
||||||
|
|
||||||
###################################
|
# Protocol specific configuration
|
||||||
# Protocol Specific Configuration #
|
|
||||||
###################################
|
|
||||||
|
|
||||||
|
|
||||||
[protocol.https]
|
[protocol.https]
|
||||||
cache=yes
|
cache=yes
|
||||||
user-agent='Mozilla/5.0 (X11; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0'
|
user-agent='Mozilla/5.0 (X11; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0'
|
||||||
|
|
||||||
[protocol.http]
|
[protocol.http]
|
||||||
cache=yes
|
cache=yes
|
||||||
user-agent='Mozilla/5.0 (X11; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0'
|
user-agent='Mozilla/5.0 (X11; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0'
|
||||||
|
|
||||||
|
# Some settings for gifs
|
||||||
[extension.gif]
|
[extension.gif]
|
||||||
cache=no
|
cache=no
|
||||||
no-pause
|
no-pause
|
||||||
|
@ -107,14 +93,19 @@ cache=no
|
||||||
no-pause
|
no-pause
|
||||||
loop-file=yes
|
loop-file=yes
|
||||||
|
|
||||||
# Profile for 4k videos
|
# Profiles for different qualities
|
||||||
|
[360p]
|
||||||
|
ytdl-format="bestvideo[height<=360]+bestaudio/best[height<=360]"
|
||||||
|
[480p]
|
||||||
|
ytdl-format="bestvideo[height<=480]+bestaudio/best[height<=480]"
|
||||||
|
[720p]
|
||||||
|
ytdl-format="bestvideo[height<=720]+bestaudio/best[height<=720]"
|
||||||
[4k]
|
[4k]
|
||||||
ytdl-format="bestvideo[height<=2160]+bestaudio/best[height<=2160]"
|
ytdl-format="bestvideo[height<=2160]+bestaudio/best[height<=2160]"
|
||||||
|
|
||||||
[best]
|
[best]
|
||||||
ytdl-format="bestvideo+bestaudio"
|
ytdl-format="bestvideo+bestaudio"
|
||||||
|
|
||||||
# Use vulkan and hwdec
|
# Vulkan hwdec profile
|
||||||
[vulkan]
|
[vulkan]
|
||||||
gpu-api=vulkan
|
gpu-api=vulkan
|
||||||
gpu-context=waylandvk
|
gpu-context=waylandvk
|
||||||
|
|
Loading…
Reference in a new issue