mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 20:43:04 +00:00
server: 😜 fix remove dups
This commit is contained in:
@@ -48,6 +48,9 @@ class AllSongs(Mongo):
|
||||
|
||||
def find_songs_by_album(self, name, artist):
|
||||
return self.collection.find({'album': name, 'album_artist': artist})
|
||||
|
||||
def get_songs_by_album(self, query):
|
||||
return self.collection.find({'album': query})
|
||||
|
||||
def get_all_songs(self):
|
||||
return self.collection.find().limit(25)
|
||||
|
||||
Reference in New Issue
Block a user