diff options
author | morpheus65535 <[email protected]> | 2024-07-09 21:23:13 -0400 |
---|---|---|
committer | morpheus65535 <[email protected]> | 2024-07-09 21:23:13 -0400 |
commit | e3a3ef1e931ec6124f59941e14d6544be3a9e268 (patch) | |
tree | f1f91f5f511b1dd11c16960d5ff563f33fbc1017 /custom_libs | |
parent | 032e8b812d1b8c96ddb8902ae31803b6827c66f6 (diff) | |
download | bazarr-e3a3ef1e931ec6124f59941e14d6544be3a9e268.tar.gz bazarr-e3a3ef1e931ec6124f59941e14d6544be3a9e268.zip |
Improved subdl provider to filter out non SRT or ASS subtitles
Diffstat (limited to 'custom_libs')
-rw-r--r-- | custom_libs/subliminal_patch/providers/subdl.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/custom_libs/subliminal_patch/providers/subdl.py b/custom_libs/subliminal_patch/providers/subdl.py index 794625d15..66c5bf616 100644 --- a/custom_libs/subliminal_patch/providers/subdl.py +++ b/custom_libs/subliminal_patch/providers/subdl.py @@ -147,7 +147,9 @@ class SubdlProvider(ProviderRetryMixin, Provider): ('subs_per_page', 30), ('type', 'tv'), ('comment', 1), - ('releases', 1)), + ('releases', 1), + ('bazarr', 1)), # this argument filter incompatible image based or + # txt subtitles timeout=30), amount=retry_amount, retry_timeout=retry_timeout @@ -162,7 +164,9 @@ class SubdlProvider(ProviderRetryMixin, Provider): ('subs_per_page', 30), ('type', 'movie'), ('comment', 1), - ('releases', 1)), + ('releases', 1), + ('bazarr', 1)), # this argument filter incompatible image based or + # txt subtitles timeout=30), amount=retry_amount, retry_timeout=retry_timeout |