mpv: fix music auto-profile detection when mpv is invoked inside the ~/Music directory itself
This commit is contained in:
@@ -128,7 +128,7 @@ image-display-duration=2
|
||||
|
||||
[music]
|
||||
# never resume music files (but still resume other audio files e.g. podcasts)
|
||||
profile-cond=get("path", ""):find("Music/")
|
||||
profile-cond=(get("working-directory", "") .. "/" .. get("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
|
||||
|
Reference in New Issue
Block a user