|
|
@ -6,24 +6,35 @@ |
|
|
|
#ytdl-format=bestvideo[height<=?1080][fps<=?30][vcodec!=?vp9]+bestaudio/best |
|
|
|
#ytdl-format=bestvideo[height<=?1080][fps<=?30][vcodec!=?vp9]+bestaudio/best |
|
|
|
ytdl-format=bestvideo[height<=?720][fps<=?30][vcodec!=?vp9]+bestaudio/best |
|
|
|
ytdl-format=bestvideo[height<=?720][fps<=?30][vcodec!=?vp9]+bestaudio/best |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# In order to communicate to the Polybar's mpv module |
|
|
|
|
|
|
|
input-ipc-server=~/.cache/mpvsocket |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Enable hardware acceleration (Intel specific) |
|
|
|
# Enable hardware acceleration (Intel specific) |
|
|
|
## See: |
|
|
|
## See: |
|
|
|
## https://github.com/mpv-player/mpv/wiki/Hardware-decoding-on-Linux |
|
|
|
## https://github.com/mpv-player/mpv/wiki/Hardware-decoding-on-Linux |
|
|
|
## https://wiki.archlinux.org/index.php/Mpv#Hardware_video_acceleration |
|
|
|
## https://wiki.archlinux.org/index.php/Mpv#Hardware_video_acceleration |
|
|
|
hwdec=vaapi |
|
|
|
hwdec=vaapi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[default] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# In order to communicate to the Polybar's mpv module |
|
|
|
|
|
|
|
input-ipc-server=~/.cache/mpvsocket |
|
|
|
|
|
|
|
|
|
|
|
save-position-on-quit |
|
|
|
save-position-on-quit |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[pip] |
|
|
|
|
|
|
|
profile-desc="Floating Picture in Picture window" |
|
|
|
|
|
|
|
title="mpv-floating-window" |
|
|
|
|
|
|
|
no-osc |
|
|
|
|
|
|
|
geometry=-0-0 |
|
|
|
|
|
|
|
autofit=30% |
|
|
|
|
|
|
|
|
|
|
|
# File specific |
|
|
|
# File specific |
|
|
|
[extension.webm] |
|
|
|
[webm] |
|
|
|
|
|
|
|
profile-cond=(get('filename', ''):match('%.webm$') ~= nil) and (duration<=20) |
|
|
|
loop-file=yes |
|
|
|
loop-file=yes |
|
|
|
|
|
|
|
|
|
|
|
[extension.gifv] |
|
|
|
[gifv] |
|
|
|
|
|
|
|
profile-cond=(get('filename', ''):match('%.gifv$') ~= nil) |
|
|
|
loop-file=yes |
|
|
|
loop-file=yes |
|
|
|
|
|
|
|
|
|
|
|
[extension.gif] |
|
|
|
[gif] |
|
|
|
|
|
|
|
profile-cond=(get('filename', ''):match('%.gif$') ~= nil) |
|
|
|
loop-file=yes |
|
|
|
loop-file=yes |
|
|
|