History

demux_playlist: add --directory-filter-types

Kacper Michajłow committed 2 years ago

Commit 4f1e9e31 parent c54ad697 files · +83 −49Browse files

Showing the changes to DOCS (3 of 7 files). Show all

Unified · Split

3 files
  1. DOCS/interface-changes/autocreate-playlist.txt +3 −3
  2. DOCS/interface-changes/directory-filter-types.txt +1 −0
  3. DOCS/man/options.rst +21 −15
DOCS/interface-changes/autocreate-playlist.txt+3−3
@@ -1,4 +1,4 @@
1add `--autocreate-playlist`1add `--autocreate-playlist`
2add `--autocreate-playlist-video-exts`2add `--directory-video-exts`
3add `--autocreate-playlist-audio-exts`3add `--directory-audio-exts`
4add `--autocreate-playlist-image-exts`4add `--directory-image-exts`
DOCS/interface-changes/directory-filter-types.txt+1−0
@@ -0,0 +1 @@
1add `--directory-filter-types`
DOCS/man/options.rst+21−15
@@ -4139,30 +4139,36 @@ Demuxer · 4138 unmodified lines
4139 all. The default is ``auto``, which behaves like ``recursive`` with4139 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 and4149 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 matching4154 :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 the4156 :same: Create a playlist from the parent directory with files matching the
4151 same category as the currently loaded file. One of the4157 same category as the currently loaded file. One of the
4152 ``autocreate-playlist-*-exts`` is selected based on the input file4158 ``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 using4164 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 using4168 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 using4172 Image file extension list that is used to match files when using
4167 ``--autocreate-playlist=<exts|same>``.4173 ``--autocreate-playlist=<exts|same>``.
4168 4174

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t