rename CONTINOUS_AUDIODESC to CONTINOUS_AUDIOSPEC
This commit is contained in:
parent
88aa92a362
commit
18f32e2873
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue