provide fallback image

return fallback image if image is not found @imgserver
This commit is contained in:
geoffrey45
2022-06-20 13:00:59 +03:00
parent 12c8406a0d
commit 84880f8cad
3 changed files with 56 additions and 12 deletions
+3 -2
View File
@@ -10,7 +10,9 @@ import multiprocessing
CONFIG_FOLDER = ".alice"
HOME_DIR = os.path.expanduser("~")
APP_DIR = os.path.join(HOME_DIR, CONFIG_FOLDER)
THUMBS_PATH = os.path.join(APP_DIR, "images", "thumbnails")
IMG_PATH = os.path.join(APP_DIR, "images")
THUMBS_PATH = os.path.join(IMG_PATH, "thumbnails")
TEST_DIR = "/home/cwilvx/Music/Link to Music/Chill/Wolftyla Radio"
# HOME_DIR = TEST_DIR
# URL
@@ -42,4 +44,3 @@ CPU_COUNT = multiprocessing.cpu_count()
class logger:
enable = True