From 0b0ff4218acc8138ad9bb88f4346a45b6184ee9c Mon Sep 17 00:00:00 2001 From: geoffrey45 Date: Tue, 7 Feb 2023 21:27:55 +0300 Subject: [PATCH] add "super hits" to compilation album trigger words --- app/models.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/models.py b/app/models.py index 2fe5dd1b..bce545d0 100644 --- a/app/models.py +++ b/app/models.py @@ -159,7 +159,8 @@ class Album: if "various artists" in artists: return True - substrings = ["the essential", "best of", "greatest hits", "#1 hits", "number ones"] + substrings = ["the essential", "best of", "greatest hits", "#1 hits", "number ones", "super hits"] + for substring in substrings: if substring in self.title.lower(): return True