fix(backend): Live-Mitschnitte aus der Suche ausschliessen

is_live meint nur "laeuft gerade als Stream" — eine Konzert-AUFNAHME kam
ungehindert durch und landete als Albumtrack in der Bibliothek ("Dat Adam - Ufo
Video Days 2015 Live" auf dem echten Kuenstlerkanal, Dauer im Fenster). Der
Variantenfilter bekommt daher eine live-Regel. Sie schaltet sich ab, wenn der
gesuchte Titel selbst live enthaelt; die Pruefung nutzt \blive\b statt includes,
sonst wuerde "deliver" die Regel aushebeln. Drei Tests dazu.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
marcandClaude Opus 5 committed 2026-09-03 22:35:44 +02:00
1 parent 6d8a8a1d5e
commit 33b3df609a
4 files changed
+54 -2

No files matched your search

+6
View File
@@ -78,6 +78,12 @@ Versioning: two-part `MAJOR.MINOR` — each release bumps the minor (features an
to a qualifier ("… - 2020 Remaster") is exempt from the number rule: it appears on the release but
never in the YouTube title. Measured against a 29-title sample, 24 titles keep their previous
behaviour exactly.
- **Downloader saved a concert recording as the album track** — searching DAT ADAM's "UFO" stored
"Dat Adam - Ufo Video Days 2015 Live". It passed every gate legitimately: right channel, 209 s
inside the duration window, "Ufo" in the title, and `!is_live` rejects only *running streams*, not
live recordings. The variant blocklist (remix/cover/acoustic/…) now includes `live`. As with the
other rules it switches itself off when the searched title says live, so "Live Forever" and
deliberately requested live versions are unaffected.
---