diff --git a/homeassistant/components/media_player/songpal.py b/homeassistant/components/media_player/songpal.py index 59293fd3e8cb1d..e67578539adc2c 100644 --- a/homeassistant/components/media_player/songpal.py +++ b/homeassistant/components/media_player/songpal.py @@ -288,7 +288,8 @@ def state(self): @property def source(self): """Return currently active source.""" - return self._active_source.title + # Avoid a KeyError when _active_source is not (yet) populated + return getattr(self._active_source, 'title', None) @property def volume_level(self):