refactor most things to use the database directly

This commit is contained in:
geoffrey45
2022-06-13 14:45:18 +03:00
parent f1ec6309ba
commit 030ab8a379
18 changed files with 237 additions and 365 deletions
+12
View File
@@ -200,3 +200,15 @@ class TrackMethods:
Removes a track from the database. Returns a boolean indicating success or failure of the operation.
"""
pass
def find_tracks_by_hash():
"""
Returns all the tracks matching the passed hash.
"""
pass
def find_tracks_inside_path_regex():
"""
Returns a list of all the tracks matching the path in the query params.
"""
pass