diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2022-05-08 01:25:10 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2022-05-08 03:21:59 +1200 |
commit | 9194c78347779616e905467e3f60b4bbeb5f6ad1 (patch) | |
tree | a9a18d8ffd2fe4c1fcb1561647199d21bced03da /mpv | |
parent | Merge branch 'release/v12.0.0' into develop (diff) | |
download | dotfiles-9194c78347779616e905467e3f60b4bbeb5f6ad1.tar.gz dotfiles-9194c78347779616e905467e3f60b4bbeb5f6ad1.zip |
Update mpv config, including screenshots
Diffstat (limited to 'mpv')
-rw-r--r-- | mpv/mpv.conf | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/mpv/mpv.conf b/mpv/mpv.conf index 5a2a05c4..d1624a79 100644 --- a/mpv/mpv.conf +++ b/mpv/mpv.conf @@ -1,2 +1,24 @@ # Don't try to show me album covers when I play FLAC no-audio-display + +# Use yt-dlp instead of youtube-dl, as the latter project appears to have been +# abandonded for some time as at 2022-05-08. +# +# * <https://github.com/ytdl-org/youtube-dl/issues/29965> +# * <https://web.archive.org/web/20220212025407/https://github.com/ytdl-org/youtube-dl/issues/29965> +# +script-opts-append="ytdl_hook-ytdl_path=yt-dlp" + +# Save screenshot images into XDG-respecting location +screenshot-directory="~/.local/share/mpv/screenshots" + +# Use PNG (lossless) for screenshots rather than the default JPEG +screenshot-format="png" + +# Keep the screenshots in directories named after the media file, with the +# screenshot filename including the media filename, the timestamp within it, +# and a numeric suffix to guarantee uniqueness. Full paths look like this: +# +# ~/.local/share/mpv/screenshots/Red Dwarf S01E01.mkv/mpv_Red Dwarf S01E01.mkv_00:08:20.461_0001.png +# +screenshot-template="%f/mpv_%f_%P_%04n" |