mirror of
https://github.com/morpheus65535/bazarr
synced 2024-12-22 07:42:32 +00:00
Improved subdl provider to filter out non SRT or ASS subtitles
This commit is contained in:
parent
032e8b812d
commit
e3a3ef1e93
1 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue