rename CONTINOUS_AUDIODESC to CONTINOUS_AUDIOSPEC

This commit is contained in:
boyska 2016-09-18 17:24:54 +02:00
parent 88aa92a362
commit 18f32e2873
No known key found for this signature in database
GPG key ID: 7395DCAE58289CA9
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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