Improved subdl provider to filter out non SRT or ASS subtitles

This commit is contained in:
morpheus65535 2024-07-09 21:23:13 -04:00
parent 032e8b812d
commit e3a3ef1e93

View file

@ -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