diff options
author | Christoph Heinrich <christoph.heinrich@student.tugraz.at> | 2023-02-11 21:08:38 +0100 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2023-07-06 18:17:45 +0000 |
commit | f266eadf1eae920d645477b9658c6847aca47ff5 (patch) | |
tree | 20ecfe5810a91a40771b432676b4d6c4bf08786b /DOCS/man/options.rst | |
parent | 9ad14e08863463accdf88cf9e9818e5ee0fd1d23 (diff) | |
download | mpv-f266eadf1eae920d645477b9658c6847aca47ff5.tar.bz2 mpv-f266eadf1eae920d645477b9658c6847aca47ff5.tar.xz |
demux_playlist: add option to control recursive directory loading
Directories were always loaded recursively, which can be slow
(e.g. one of the subdirectories is a mounting point to a slow device)
and can unexpectedly expand into a massive playlist.
Due to the problems described in 503dada42f1ea1007768da0dc6a41b67cdf89400,
this defaults to recursive loading.
ref. https://github.com/mpv-player/mpv/issues/9652
Diffstat (limited to 'DOCS/man/options.rst')
-rw-r--r-- | DOCS/man/options.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index da163b9d88..ecb2c77383 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -3945,6 +3945,13 @@ Demuxer libarchive opens all volumes anyway when playing the main file, even though mpv iterated no archive entries yet. +``--directory-mode=<recursive|lazy|ignore>`` + When opening a directory, open subdirectories recursively, lazily or not at + all (default: recursive). + + Values other then ``recursive`` can lead to problems with resuming playlists + (`RESUMING PLAYBACK`_) and possibly other things. + Input ----- |