Playlist and colume management into db

#27 #16 #11
This commit is contained in:
azlux
2018-07-12 00:40:29 +02:00
parent 578ffbd172
commit 3a6aba9545
7 changed files with 170 additions and 52 deletions

View File

@@ -108,7 +108,7 @@ def clear_tmp_folder(path, size):
size_tp += os.path.getsize(file)
if int(size_tp/(1024*1024)) > size:
logging.info("Cleaning tmp folder")
to_remove = all_files[idx:]
to_remove = all_files[:idx]
print(to_remove)
for f in to_remove:
logging.debug("Removing " + f)