Unified · Split
| @@ -1 +1,2 @@ | ||
| 1 | 1 | add `--directory-filter-types` |
| 2 | +By default, opening a directory will create a playlist with only the media types "video, audio, image". To restore the previous behavior, use `--directory-filter-types-clr`. | |
| @@ -4143,7 +4143,7 @@ Demuxer · 4142 unmodified lines | ||
| 4143 | 4143 | |
| 4144 | 4144 | ``--directory-filter-types=<video,audio,image>`` |
| 4145 | 4145 | Media file types to filter when opening directory. If the list is empty, |
| 4146 | − all files are added to the playlist. | |
| 4146 | + all files are added to the playlist. (Default: ``video,audio,image``) | |
| 4147 | 4147 | |
| 4148 | 4148 | This is a string list option. See `List Options`_ for details. |
| 4149 | 4149 | |
| @@ -71,7 +71,7 @@ struct m_sub_options demux_playlist_conf = { · 70 unmodified lines | ||
| 71 | 71 | .defaults = &(const struct demux_playlist_opts){ |
| 72 | 72 | .dir_mode = DIR_AUTO, |
| 73 | 73 | .directory_filter = (char *[]){ |
| 74 | − NULL | |
| 74 | + "video", "audio", "image", NULL | |
| 75 | 75 | }, |
| 76 | 76 | }, |
| 77 | 77 | }; |