savetv: Archiv-Tool filtert DE/FR-Produktionslaender wie Web-UI
This commit is contained in:
parent
4aaa206147
commit
3776f4ff71
1 changed files with 6 additions and 0 deletions
|
|
@ -570,6 +570,9 @@ def handle_get_savetv_archive_filme(**kw):
|
|||
seen_titles = {}
|
||||
series_count = 0
|
||||
excluded_count = 0
|
||||
from tools import savetv_country_filter
|
||||
|
||||
filminfo_cache = savetv_country_filter.load_filminfo_cache()
|
||||
|
||||
for e in entries:
|
||||
tc = e.get("STRTELECASTENTRY", {})
|
||||
|
|
@ -582,6 +585,9 @@ def handle_get_savetv_archive_filme(**kw):
|
|||
if _is_excluded(title):
|
||||
excluded_count += 1
|
||||
continue
|
||||
if savetv_country_filter.should_exclude_production_country(title, filminfo_cache):
|
||||
excluded_count += 1
|
||||
continue
|
||||
|
||||
station = tc.get("STVSTATIONNAME", "?")
|
||||
days_left = int(tc.get("IDAYSLEFTBEFOREDELETE", 0))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue