fix: Nacht-Strafe entfernt + Auto-Record ab Score 80 — gute Filme egal wann
This commit is contained in:
parent
35f80ce163
commit
985caeab38
1 changed files with 2 additions and 6 deletions
|
|
@ -34,7 +34,7 @@ EPG_PAGES = [
|
||||||
SEEN_CACHE = Path("/tmp/savetv_seen_ids.json")
|
SEEN_CACHE = Path("/tmp/savetv_seen_ids.json")
|
||||||
SEEN_MAX_AGE_DAYS = 30
|
SEEN_MAX_AGE_DAYS = 30
|
||||||
|
|
||||||
AUTO_RECORD_SCORE = 95
|
AUTO_RECORD_SCORE = 80
|
||||||
SUGGEST_SCORE = 60
|
SUGGEST_SCORE = 60
|
||||||
|
|
||||||
SPAM_SUBCATEGORIES = {
|
SPAM_SUBCATEGORIES = {
|
||||||
|
|
@ -263,11 +263,7 @@ def _filter_films(telecasts, only_new=False):
|
||||||
|
|
||||||
hour = start_dt.hour
|
hour = start_dt.hour
|
||||||
if 20 <= hour <= 22:
|
if 20 <= hour <= 22:
|
||||||
score += 15
|
score += 10
|
||||||
elif 14 <= hour <= 19:
|
|
||||||
score += 5
|
|
||||||
elif hour < 6:
|
|
||||||
score -= 10
|
|
||||||
|
|
||||||
desc = tc.get("STHEMA") or tc.get("SFULLSUBTITLE") or ""
|
desc = tc.get("STHEMA") or tc.get("SFULLSUBTITLE") or ""
|
||||||
if len(desc) > 50:
|
if len(desc) > 50:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue