mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 12:33:03 +00:00
server: add get album bio from last fm function
- co-written by Github Copilot
This commit is contained in:
@@ -115,7 +115,7 @@ class AllSongs(Mongo):
|
||||
|
||||
def remove_song_by_filepath(self, filepath):
|
||||
try:
|
||||
self.collection.remove({'filepath': filepath})
|
||||
self.collection.delete_one({'filepath': filepath})
|
||||
return True
|
||||
except:
|
||||
return False
|
||||
|
||||
Reference in New Issue
Block a user