'port': 6600,
},
'sima': {
- 'internal': "Crop, Lastfm, RandomFallBack",
+ 'internal': "Crop, Lastfm, Random",
'contrib': "",
'user_db': "false",
'history_duration': 8,
},
'crop': {
'consume': 10,
+ 'priority': 0,
},
'echonest': {
'queue_mode': "track", #TODO control values
'track_to_add': 1,
'album_to_add': 1,
'depth': 1,
+ 'priority': 100,
},
'lastfm': {
'queue_mode': "track", #TODO control values
'album_to_add': 1,
'depth': 1,
'cache': True,
+ 'priority': 100,
},
- 'randomfallback': {
+ 'random': {
'flavour': "sensible", # in pure, sensible
'track_to_add': 1,
- }
+ 'priority': 50,
+ },
}
#
argparse.
"""
ok = True
- for op, ftochk in [('log', self.config['log']['logfile']),
- ('pidfile', self.config['daemon']['pidfile']),]:
+ for op, ftochk in [('logfile', self.config.get('log','logfile')),
+ ('pidfile', self.config.get('daemon', 'pidfile')),]:
if not ftochk:
continue
if isdir(ftochk):