Save complete tracks and albums to the db for faster startup

- refactor function locations
- add logger
- check for new tracks instead of re-processing all files
This commit is contained in:
geoffrey45
2022-04-21 10:16:45 +03:00
parent ef68cae625
commit d98cc0547e
22 changed files with 448 additions and 380 deletions
+5
View File
@@ -1,6 +1,7 @@
"""
Contains default configs
"""
from dataclasses import dataclass
import os
# paths
@@ -32,3 +33,7 @@ P_COLORS = [
"rgb(141, 132, 2)",
"rgb(141, 11, 2)",
]
class logger:
enable = True