From d39dc09efbcde303e0ea8375d36d08f0e46bc865 Mon Sep 17 00:00:00 2001 From: kaliko Date: Wed, 21 Apr 2021 12:17:40 +0200 Subject: [PATCH] Default config definition more consistent --- sima/utils/config.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/sima/utils/config.py b/sima/utils/config.py index 26c227a..616a01f 100644 --- a/sima/utils/config.py +++ b/sima/utils/config.py @@ -49,14 +49,14 @@ DEFAULT_CONF = { 'sima': { 'internal': "Crop, Lastfm, Random", 'contrib': "", - 'user_db': "false", + 'user_db': False, 'history_duration': 8, 'queue_length': 2, 'var_dir': 'empty', - 'musicbrainzid': "true", - 'repeat_disable_queue': "true", - 'single_disable_queue': "true", - 'mopidy_compat': "false", + 'musicbrainzid': True, + 'repeat_disable_queue': True, + 'single_disable_queue': True, + 'mopidy_compat': False, }, 'daemon': { 'daemon': False, @@ -73,7 +73,7 @@ DEFAULT_CONF = { 'lastfm': { 'queue_mode': "track", # TODO control values 'max_art': 10, - 'single_album': "false", + 'single_album': False, 'track_to_add': 1, 'album_to_add': 1, 'shuffle_album': False, @@ -95,14 +95,14 @@ DEFAULT_CONF = { 'originaldate': "", 'filter': "", 'queue_mode': "track", - 'single_album': "false", + 'single_album': False, 'track_to_add': 1, 'album_to_add': 1, 'priority': 80, }, 'genre': { 'queue_mode': "track", - 'single_album': "false", + 'single_album': False, 'track_to_add': 1, 'album_to_add': 1, 'priority': 80, -- 2.39.5