]> kaliko git repositories - mpd-sima.git/commitdiff
Default config definition more consistent
authorkaliko <kaliko@azylum.org>
Wed, 21 Apr 2021 10:17:40 +0000 (12:17 +0200)
committerkaliko <kaliko@azylum.org>
Wed, 21 Apr 2021 10:17:40 +0000 (12:17 +0200)
sima/utils/config.py

index 26c227a938278b1f0f97595561e6cd51d563b79d..616a01f5bf16d26cac971d97b352cf5dd2138698 100644 (file)
@@ -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,