Merge pull request #223 from DavisNT/develop

Fix alarm clock detection
This commit is contained in:
John Cass 2017-01-18 17:50:11 +02:00 committed by GitHub
commit e4e2db92e2
2 changed files with 2 additions and 1 deletions

View File

@ -113,6 +113,7 @@ v2.4.0 (UNRELEASED)
**Fixes**
- Fixed `Alarm Clock <https://pypi.python.org/pypi/Mopidy-AlarmClock/>`_ detection.
- Only show 'Show Album' or 'Show Artist' options in popup menus if URI's for those resources are available.
(Fixes: `#213 <https://github.com/pimusicbox/mopidy-musicbox-webclient/issues/213>`_).
- Now shows correct hostname information in loader popup. (Fixes: `#209 <https://github.com/pimusicbox/mopidy-musicbox-webclient/issues/209>`_).

View File

@ -40,7 +40,7 @@ class Webclient(object):
return ws_url
def has_alarm_clock(self):
return self.ext_config.get('alarmclock', {}).get('enabled', False)
return self.config.get('alarmclock', {}).get('enabled', False)
def is_music_box(self):
return self.ext_config.get('musicbox', False)