nilaoda / N_m3u8DL-RE

Cross-Platform, modern and powerful stream downloader for MPD/M3U8/ISM. English/简体中文/繁體中文.
MIT License
4.26k stars 455 forks source link

How to include multiple subtitles, but not all #96

Closed postmanpaul closed 1 year ago

postmanpaul commented 1 year ago

Hello

08:43:19.018 INFO : Sub textstream_dan=1000 | da | wvtt | 22 Segments | ~01h47m54s
08:43:19.019 INFO : Sub textstream_eng=1000 | en | wvtt | 22 Segments | ~01h49m26s
08:43:19.020 INFO : Sub textstream_est=1000 | et | wvtt | 22 Segments | ~01h47m54s
08:43:19.021 INFO : Sub textstream_fin=1000 | fi | wvtt | 22 Segments | ~01h47m54s
08:43:19.022 INFO : Sub textstream_ger=1000 | de | wvtt | 22 Segments | ~01h47m54s
08:43:19.023 INFO : Sub textstream_isl=1000 | is | wvtt | 22 Segments | ~01h47m54s
08:43:19.024 INFO : Sub textstream_lav=1000 | lv | wvtt | 22 Segments | ~01h47m54s
08:43:19.026 INFO : Sub textstream_lit=1000 | lt | wvtt | 22 Segments | ~01h47m54s
08:43:19.031 INFO : Sub textstream_nld=1000 | nl | wvtt | 22 Segments | ~01h47m54s
08:43:19.032 INFO : Sub textstream_nor=1000 | no | wvtt | 22 Segments | ~01h47m54s
08:43:19.033 INFO : Sub textstream_pol=1000 | pl | wvtt | 22 Segments | ~01h47m54s
08:43:19.035 INFO : Sub textstream_swe=1000 | sv | wvtt | 23 Segments | ~01h54m25s
08:43:19.036 INFO : Sub 2802173336 | da | 1 Segment | ~01h54m33s
08:43:19.037 INFO : Sub 1041571909 | en | 1 Segment | ~01h54m33s
08:43:19.038 INFO : Sub 1479534081 | et | 1 Segment | ~01h54m33s
08:43:19.039 INFO : Sub 2688421922 | fi | 1 Segment | ~01h54m33s
08:43:19.040 INFO : Sub 3854119755 | de | 1 Segment | ~01h54m33s
08:43:19.041 INFO : Sub 1137418125 | is | 1 Segment | ~01h54m33s
08:43:19.048 INFO : Sub 49132152 | lv | 1 Segment | ~01h54m33s
08:43:19.049 INFO : Sub 3042341318 | lt | 1 Segment | ~01h54m33s
08:43:19.050 INFO : Sub 1745223327 | nl | 1 Segment | ~01h54m33s
08:43:19.052 INFO : Sub 1319713392 | no | 1 Segment | ~01h54m33s
08:43:19.053 INFO : Sub 807629932 | pl | 1 Segment | ~01h54m33s
08:43:19.054 INFO : Sub 3977475854 | sv | 1 Segment | ~01h54m33s

I am having trouble finding the correct arguments to include all subtitles that start with textstream_* and drop the rest.

-ss id="textstream_*" selects only the first subtitle stream.

postmanpaul commented 1 year ago

Never mind, I found -ss id="textstream_.*=1000":for=all works correctly.