HEEEY MACARENA

This commit is contained in:
Geoffrey Frogeye 2019-08-04 19:05:57 +02:00
parent 9657a8255d
commit 0cdee7b7d8
6 changed files with 60 additions and 6 deletions

View file

@ -1,10 +1,11 @@
#!/usr/bin/env python3
import logging
import os
import subprocess
import progressbar
import logging
import coloredlogs
import progressbar
coloredlogs.install(level='DEBUG', fmt='%(levelname)s %(message)s')
log = logging.getLogger()
@ -13,8 +14,9 @@ log = logging.getLogger()
SOURCE_FOLDER = os.path.join(os.path.expanduser("~"), "Musiques")
OUTPUT_FOLDER = os.path.join(os.path.expanduser("~"), ".musicCompressed")
CONVERSIONS = {"flac": "opus"}
FORBIDDEN_EXTENSIONS = ["jpg", "pdf", "ffs_db"]
FORGIVEN_FILENAMES = ["cover.jpg", "front.jpg"]
FORBIDDEN_EXTENSIONS = ["jpg", "png", "pdf", "ffs_db"]
FORGIVEN_FILENAMES = ["cover.jpg", "front.jpg", "folder.jpg",
"cover.png", "front.png", "folder.png"]
IGNORED_EMPTY_FOLDER = [".stfolder"]
# TODO FEAT Make the directory structure the same as the base one and