fix: Nacht-Strafe entfernt + Auto-Record ab Score 80 — gute Filme egal wann

This commit is contained in:
root 2026-03-16 22:31:29 +07:00
parent 35f80ce163
commit 985caeab38

View file

@ -34,7 +34,7 @@ EPG_PAGES = [
SEEN_CACHE = Path("/tmp/savetv_seen_ids.json")
SEEN_MAX_AGE_DAYS = 30
AUTO_RECORD_SCORE = 95
AUTO_RECORD_SCORE = 80
SUGGEST_SCORE = 60
SPAM_SUBCATEGORIES = {
@ -263,11 +263,7 @@ def _filter_films(telecasts, only_new=False):
hour = start_dt.hour
if 20 <= hour <= 22:
score += 15
elif 14 <= hour <= 19:
score += 5
elif hour < 6:
score -= 10
score += 10
desc = tc.get("STHEMA") or tc.get("SFULLSUBTITLE") or ""
if len(desc) > 50: