mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-05 04:53:01 +00:00
add silence removal using pydub and multithreading
+ fix favorites endpoint returning items less than limit + add endpoint to remove get silence padding + add 'the ulitimate' and 'compilation' to compilation album filters + misc
This commit is contained in:
+3
-1
@@ -118,7 +118,7 @@ class Album:
|
||||
"""
|
||||
Checks if the album is a compilation.
|
||||
"""
|
||||
artists = [a.name for a in self.albumartists] # type: ignore
|
||||
artists = [a.name for a in self.albumartists]
|
||||
artists = "".join(artists).lower()
|
||||
|
||||
if "various artists" in artists:
|
||||
@@ -136,6 +136,8 @@ class Album:
|
||||
"great hits",
|
||||
"biggest hits",
|
||||
"the hits",
|
||||
"the ultimate",
|
||||
"compilation"
|
||||
}
|
||||
|
||||
for substring in substrings:
|
||||
|
||||
Reference in New Issue
Block a user