continued

This commit is contained in:
lars
2022-11-17 13:23:27 +01:00
parent 0ccb3f244c
commit 5084534cb8
7 changed files with 175 additions and 48 deletions

View File

@@ -22,7 +22,9 @@ class UrlPath:
self.genre = genre
for row in database.get_tracks_without_filepath():
print(row)
file, path = self.get_path_from_row(row)
logger.info(f"setting target to {file}")
database.set_filepath(row['id'], file, path, genre)
def get_path_from_row(self, row):