move imgserver to app/api folder

+ add sqlite methods to configure custom root directories
+ add sqlite.settings module
+ remove date and app name from logger messages
+ add api route to browse directories
This commit is contained in:
geoffrey45
2023-01-21 18:07:20 +03:00
parent 3dc9bc1f15
commit 4e6e1f03dc
9 changed files with 179 additions and 31 deletions
+2
View File
@@ -61,6 +61,8 @@ class SQLiteTrackMethods:
),
)
# TODO: rewrite the above code using an ordered dict and destructuring
@classmethod
def insert_many_tracks(cls, tracks: list[dict]):
"""