mpv icon indicating copy to clipboard operation
mpv copied to clipboard

player: fix watch later config comments when ignoring path

Open guidocella opened this issue 1 year ago • 1 comments

With --ignore-path-in-watch-later-config, --write-filename-in-watch-later-config still writes the absolute path of files in the comment, even though the hash is calculated from the basename. Make it write the basename to avoid confusion.

Also stop writing redirect entries for parent directories with --ignore-path-in-watch-later-config, both because it's redundant, and because with this patch it would write the basename of directories in the comment, which would be wrong because their hashes are calculated from the absolute paths.

guidocella avatar Feb 13 '24 23:02 guidocella

Download the artifacts for this pull request:

Windows

github-actions[bot] avatar Feb 13 '24 23:02 github-actions[bot]