From: kaliko Date: Wed, 21 Apr 2021 10:17:40 +0000 (+0200) Subject: Default config definition more consistent X-Git-Tag: 0.17.0~9 X-Git-Url: https://git.kaliko.me/?a=commitdiff_plain;h=d39dc09efbcde303e0ea8375d36d08f0e46bc865;p=mpd-sima.git Default config definition more consistent --- 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,