Any help figuring out why the iTunes component isn’t loading is appreciated! HA version 0.13.1. Here is my error:
Feb 23 13:29:27 automation hass[12431]: 16-02-23 13:29:27 INFO (MainThread) [homeassistant.loader] Loaded media_player.itunes from homeassistant.components.media_player.itunes
Feb 23 13:29:27 automation hass[12431]: 16-02-23 13:29:27 ERROR (MainThread) [homeassistant.components.media_player] Error while setting up platform itunes
Feb 23 13:29:27 automation hass[12431]: Traceback (most recent call last):
Feb 23 13:29:27 automation hass[12431]: File “/usr/local/lib/python3.4/dist-packages/homeassistant/helpers/entity_component.py”, line 98, in _setup_platform
Feb 23 13:29:27 automation hass[12431]: discovery_info)
Feb 23 13:29:27 automation hass[12431]: File “/usr/local/lib/python3.4/dist-packages/homeassistant/components/media_player/itunes.py”, line 147, in setup_platform
Feb 23 13:29:27 automation hass[12431]: add_devices
Feb 23 13:29:27 automation hass[12431]: File “/usr/local/lib/python3.4/dist-packages/homeassistant/components/media_player/itunes.py”, line 176, in init
Feb 23 13:29:27 automation hass[12431]: self.update()
Feb 23 13:29:27 automation hass[12431]: File “/usr/local/lib/python3.4/dist-packages/homeassistant/components/media_player/itunes.py”, line 215, in update
Feb 23 13:29:27 automation hass[12431]: now_playing = self.client.now_playing()
Feb 23 13:29:27 automation hass[12431]: File “/usr/local/lib/python3.4/dist-packages/homeassistant/components/media_player/itunes.py”, line 73, in now_playing
Feb 23 13:29:27 automation hass[12431]: return self._request(‘GET’, ‘/now_playing’)
Feb 23 13:29:27 automation hass[12431]: File “/usr/local/lib/python3.4/dist-packages/homeassistant/components/media_player/itunes.py”, line 61, in _request
Feb 23 13:29:27 automation hass[12431]: return response.json()
Feb 23 13:29:27 automation hass[12431]: File “/usr/local/lib/python3.4/dist-packages/requests/models.py”, line 808, in json
Feb 23 13:29:27 automation hass[12431]: return complexjson.loads(self.text, **kwargs)
Feb 23 13:29:27 automation hass[12431]: File “/usr/lib/python3.4/json/init.py”, line 318, in loads
Feb 23 13:29:27 automation hass[12431]: return _default_decoder.decode(s)
Feb 23 13:29:27 automation hass[12431]: File “/usr/lib/python3.4/json/decoder.py”, line 343, in decode
Feb 23 13:29:27 automation hass[12431]: obj, end = self.raw_decode(s, idx=_w(s, 0).end())
Feb 23 13:29:27 automation hass[12431]: File “/usr/lib/python3.4/json/decoder.py”, line 361, in raw_decode
Feb 23 13:29:27 automation hass[12431]: raise ValueError(errmsg(“Expecting value”, s, err.value)) from None
Feb 23 13:29:27 automation hass[12431]: ValueError: Expecting value: line 1 column 1 (char 0)
Feb 23 13:29:27 automation hass[12431]: 16-02-23 13:29:27 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=media_player, service=play_media>
Feb 23 13:29:27 automation hass[12431]: 16-02-23 13:29:27 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=media_player, service=media_play>
Feb 23 13:29:27 automation hass[12431]: 16-02-23 13:29:27 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=media_player, service=media_pause>
Feb 23 13:29:27 automation hass[12431]: 16-02-23 13:29:27 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=media_player, service=media_next_track>
Feb 23 13:29:27 automation hass[12431]: 16-02-23 13:29:27 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=media_player, service=media_play_pause>
Feb 23 13:29:27 automation hass[12431]: 16-02-23 13:29:27 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=media_player, service=toggle>
Feb 23 13:29:27 automation hass[12431]: 16-02-23 13:29:27 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=media_player, service=volume_up>
Feb 23 13:29:27 automation hass[12431]: 16-02-23 13:29:27 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=media_player, service=media_previous_track>
Feb 23 13:29:27 automation hass[12431]: 16-02-23 13:29:27 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=media_player, service=turn_on>
Feb 23 13:29:27 automation hass[12431]: 16-02-23 13:29:27 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=media_player, service=volume_down>
Feb 23 13:29:27 automation hass[12431]: 16-02-23 13:29:27 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=media_player, service=turn_off>
Feb 23 13:29:27 automation hass[12431]: 16-02-23 13:29:27 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=media_player, service=volume_set>
Feb 23 13:29:27 automation hass[12431]: 16-02-23 13:29:27 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=media_player, service=volume_mute>
Feb 23 13:29:27 automation hass[12431]: 16-02-23 13:29:27 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=media_player, service=media_seek>
Feb 23 13:29:27 automation hass[12431]: 16-02-23 13:29:27 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=media_player, service=play_media>
Feb 23 13:29:27 automation hass[12431]: 16-02-23 13:29:27 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=media_player>