diff options
author | wm4 <wm4@nowhere> | 2015-05-09 16:21:44 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-05-09 16:48:05 +0200 |
commit | b6346cd0bafc6a56c29b9c6c56e612e32295ea98 (patch) | |
tree | 032def7d3a9f48687038994cfcd6a8cb4a5ce772 /misc | |
parent | 34ee78f2cba0510cc37162e89cbdc9d4a9514f92 (diff) | |
download | mpv-b6346cd0bafc6a56c29b9c6c56e612e32295ea98.tar.bz2 mpv-b6346cd0bafc6a56c29b9c6c56e612e32295ea98.tar.xz |
player: make resuming playlists less noisy in verbose mode
mp_find_config_file() will print the filename lookup and its result in
verbose mode. This is wanted, but gets inconvenient when it is done for
every playlist entry (for resuming).
Lookup the watch_later subdir only once and cache the result instead.
This drops the logic for loading the resume file from other locations,
which should generally be unnecessary, though might lead to confusion if
the user has mixed old and new config paths (which the user shouldn't).
Also add a mp_find_user_config_file() function for a more
straightforward and reliable way to get actual local configpaths,
instead of possibly global and unwritable locations.
Also, for symmetry, check the resume option in mp_load_playback_resume()
just like mp_check_playlist_resume() does.
Diffstat (limited to 'misc')
0 files changed, 0 insertions, 0 deletions