| @@ -4139,30 +4139,36 @@ Demuxer · 4138 unmodified lines |
| 4139 | all. The default is ``auto``, which behaves like ``recursive`` with | 4139 | all. The default is ``auto``, which behaves like ``recursive`` with |
| 4140 | ``--shuffle``, and like ``lazy`` otherwise. | 4140 | ``--shuffle``, and like ``lazy`` otherwise. |
| 4141 | | 4141 | |
| 4142 | ``--autocreate-playlist=<no|any|exts|same>`` | 4142 | ``--directory-filter-types=<video,audio,image>`` |
| | 4143 | Media file types to filter when opening directory. If the list is empty, |
| | 4144 | all files are added to the playlist. |
| | 4145 | |
| | 4146 | This is a string list option. See `List Options`_ for details. |
| | 4147 | |
| | 4148 | ``--autocreate-playlist=<no|any|filter|same>`` |
| 4143 | When opening a local file, act as if the parent directory is opened and | 4149 | When opening a local file, act as if the parent directory is opened and |
| 4144 | create a playlist automatically. | 4150 | create a playlist automatically. |
| 4145 | | 4151 | |
| 4146 | :no: Load a single file (default). | 4152 | :no: Load a single file (default). |
| 4147 | :any: Create a playlist from the parent directory with any file type. | 4153 | :any: Create a playlist from the parent directory with any file type. |
| 4148 | :exts: Create a playlist from the parent directory with files matching | 4154 | :filter: Create a playlist from the parent directory with files matching |
| 4149 | extensions from any list ``autocreate-playlist-*-exts``. | 4155 | extensions from any list ``directory-*-exts``. |
| 4150 | :same: Create a playlist from the parent directory with files matching the | 4156 | :same: Create a playlist from the parent directory with files matching the |
| 4151 | same category as the currently loaded file. One of the | 4157 | same category as the currently loaded file. One of the |
| 4152 | ``autocreate-playlist-*-exts`` is selected based on the input file | 4158 | ``directory-*-exts`` is selected based on the input file |
| 4153 | and only files with matching extensions are added to the playlist. | 4159 | and only files with matching extensions are added to the playlist. |
| 4154 | If the input file itself is not matched to any extension list, | 4160 | If the input file itself is not matched to any extension list, |
| 4155 | the playlist is not autogenerated. | 4161 | the playlist is not autogenerated. |
| 4156 | | 4162 | |
| 4157 | ``--autocreate-playlist-video-exts=<ext-list>`` | 4163 | ``--directory-video-exts=<ext1,ext2,...>`` |
| 4158 | Video file extension list that is used to match files when using | 4164 | Video file extension list that is used to match files when using |
| 4159 | ``--autocreate-playlist=<exts|same>``. | 4165 | ``--autocreate-playlist=<exts|same>``. |
| 4160 | | 4166 | |
| 4161 | ``--autocreate-playlist-audio-exts=<ext-list>`` | 4167 | ``--directory-audio-exts=<ext1,ext2,...>`` |
| 4162 | Audio file extension list that is used to match files when using | 4168 | Audio file extension list that is used to match files when using |
| 4163 | ``--autocreate-playlist=<exts|same>``. | 4169 | ``--autocreate-playlist=<exts|same>``. |
| 4164 | | 4170 | |
| 4165 | ``--autocreate-playlist-image-exts=<ext-list>`` | 4171 | ``--directory-image-exts=<ext1,ext2,...>`` |
| 4166 | Image file extension list that is used to match files when using | 4172 | Image file extension list that is used to match files when using |
| 4167 | ``--autocreate-playlist=<exts|same>``. | 4173 | ``--autocreate-playlist=<exts|same>``. |
| 4168 | | 4174 | |