Fix alarm clock detection
Fix alarm clock detection broken in
411a3781fd
This commit is contained in:
parent
37b267ded1
commit
d8d040adf3
@ -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>`_).
|
||||
|
||||
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user