mpv: disable playback resumption for ~/Music files
This commit is contained in:
@@ -1,10 +1,12 @@
|
|||||||
# options, profiles, etc:
|
# options, profiles, etc:
|
||||||
# - example config: <https://thewiki.moe/tutorials/mpv/>
|
# - example config: <https://thewiki.moe/tutorials/mpv/>
|
||||||
# - example config: <https://iamscum.wordpress.com/guides/videoplayback-guide/mpv-conf/>
|
# - example config: <https://iamscum.wordpress.com/guides/videoplayback-guide/mpv-conf/>
|
||||||
|
# - available options and their defaults: `mpv --list-options`
|
||||||
|
# or `man mpv`
|
||||||
# - default profiles: <https://github.com/mpv-player/mpv/blob/master/etc/builtin.conf>
|
# - default profiles: <https://github.com/mpv-player/mpv/blob/master/etc/builtin.conf>
|
||||||
# or: `mpv --profile=help`
|
# or: `mpv --profile=help`
|
||||||
# or: `mpv --show-profile=high-quality` (etc)
|
# or: `mpv --show-profile=high-quality` (etc)
|
||||||
# - available options and their defaults: `mpv --list-options`
|
# - about auto profiles: <https://mpv.io/manual/stable/#conditional-auto-profiles>
|
||||||
|
|
||||||
# write ~/.local/state/mpv/watch_later on exit, to allow resume
|
# write ~/.local/state/mpv/watch_later on exit, to allow resume
|
||||||
save-position-on-quit=yes
|
save-position-on-quit=yes
|
||||||
@@ -123,3 +125,11 @@ deband=no
|
|||||||
# `p["audio-codec"]` parameter can be found in <repo:mpv-player/mpv:player/command.c>
|
# `p["audio-codec"]` parameter can be found in <repo:mpv-player/mpv:player/command.c>
|
||||||
profile-cond=p["audio-codec"]
|
profile-cond=p["audio-codec"]
|
||||||
image-display-duration=2
|
image-display-duration=2
|
||||||
|
|
||||||
|
[music]
|
||||||
|
# never resume music files (but still resume other audio files e.g. podcasts)
|
||||||
|
profile-cond=path:find('Music/')
|
||||||
|
watch-later-options-remove=start
|
||||||
|
# XXX(2024/11/25): resume-playback option is processed early -- before auto-profiles are fully evaluated,
|
||||||
|
# but watch-later-options-remove=... or save-position-on-quit=... are processed later
|
||||||
|
# resume-playback=no
|
||||||
|
Reference in New Issue
Block a user