show artist decade in genres

+ assign default artist separators if db is empty
+ add instrumental to album version
+ check if album is a single by checking og_title and current title
+ hard code juice wrld artist name in model
+ set album aritst to first artist if track has no album artist
+ rewrite get_base_album_title regex to use existing album versions
+ misc
This commit is contained in:
mungai-njoroge
2023-09-04 11:01:03 +03:00
parent 5ff3e5d28a
commit 83bbe69550
9 changed files with 93 additions and 54 deletions
+5
View File
@@ -29,6 +29,7 @@ class AlbumVersionEnum(Enum):
ARCHIVE_EDITION = ("archive",)
Acoustic = ("acoustic",)
instrumental = ("instrumental",)
DOUBLE_DISC = ("double disc", "double disk")
SUMMER_EDITION = ("summer",)
@@ -56,3 +57,7 @@ class AlbumVersionEnum(Enum):
REISSUE = ("reissue",)
REMASTERED = ("remaster",)
TAYLORS_VERSION = ("taylor's version",)
def get_all_keywords():
return "|".join("|".join(i.value) for i in AlbumVersionEnum)