diff --git a/larigira/config.py b/larigira/config.py index 7c7c944..7e77238 100644 --- a/larigira/config.py +++ b/larigira/config.py @@ -13,7 +13,7 @@ def get_conf(prefix='LARIGIRA_'): '''This is where everyone should get configuration from''' conf_dir = BaseDirectory.save_config_path('larigira') conf = {} - conf['CONTINOUS_AUDIODESC'] = dict(kind='mpd', howmany=1) + conf['CONTINOUS_AUDIOSPEC'] = dict(kind='mpd', howmany=1) conf['MPD_HOST'] = os.getenv('MPD_HOST', 'localhost') conf['MPD_PORT'] = int(os.getenv('MPD_PORT', '6600')) conf['CACHING_TIME'] = 10 diff --git a/larigira/mpc.py b/larigira/mpc.py index c291d02..09bf1a6 100644 --- a/larigira/mpc.py +++ b/larigira/mpc.py @@ -65,7 +65,7 @@ class Player: return self.log.info('need to add new songs') picker = gevent.Greenlet(audiogenerate, - self.conf['CONTINOUS_AUDIODESC']) + self.conf['CONTINOUS_AUDIOSPEC']) def add(greenlet): uris = greenlet.value