From 30e3800dedde8dc7fccd3819d3c764c8c35143aa Mon Sep 17 00:00:00 2001 From: geoffrey45 Date: Wed, 15 Mar 2023 23:11:42 +0300 Subject: [PATCH] add more is_compilation check strings --- app/models/album.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/models/album.py b/app/models/album.py index 5afadbf..0aee8b7 100644 --- a/app/models/album.py +++ b/app/models/album.py @@ -76,8 +76,10 @@ class Album: if "various artists" in artists: return True - substrings = ["the essential", "best of", "greatest hits", "#1 hits", "number ones", "super hits", - "ultimate collection"] + substrings = [ + "the essential", "best of", "greatest hits", "#1 hits", "number ones", "super hits", + "ultimate collection", "anthology", "great hits", "biggest hits", "the hits" + ] for substring in substrings: if substring in self.title.lower():