I am trying to play a playlist from Squeezebox using the chromecast bridge. Here is the service I am trying to use:
entity_id: media_player.amp_lms
media_content_id: Music
media_content_type: music
And I am now receiving the following errors when I try and call this service:
Logger: homeassistant.components.websocket_api.http.connection.139879379224608
Source: core.py:1269
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 11:18:00 AM (1 occurrences)
Last logged: 11:18:00 AM
extra keys not allowed @ data['media_content_id']
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 137, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1269, in async_call
processed_data = handler.schema(service_data)
File "/usr/local/lib/python3.8/site-packages/voluptuous/validators.py", line 208, in __call__
return self._exec((Schema(val) for val in self.validators), v)
File "/usr/local/lib/python3.8/site-packages/voluptuous/validators.py", line 287, in _exec
raise e if self.msg is None else AllInvalid(self.msg, path=path)
File "/usr/local/lib/python3.8/site-packages/voluptuous/validators.py", line 283, in _exec
v = func(v)
File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 272, in __call__
return self._compiled([], data)
File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 817, in validate_callable
return schema(data)
File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 272, in __call__
return self._compiled([], data)
File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 594, in validate_dict
return base_validate(path, iteritems(data), out)
File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 432, in validate_mapping
raise er.MultipleInvalid(errors)
voluptuous.error.MultipleInvalid: extra keys not allowed @ data['media_content_id']
And this:
Logger: homeassistant
Source: components/squeezebox/media_player.py:360
First occurred: 11:17:58 AM (14 occurrences)
Last logged: 11:20:11 AM
Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 592, in _update_entity_states
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 283, in async_update_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 322, in _async_write_ha_state
attr.update(self.state_attributes or {})
File "/usr/src/homeassistant/homeassistant/components/media_player/__init__.py", line 808, in state_attributes
value = getattr(self, attr)
File "/usr/src/homeassistant/homeassistant/components/squeezebox/media_player.py", line 360, in media_duration
return self._player.duration
File "/usr/local/lib/python3.8/site-packages/pysqueezebox/player.py", line 105, in duration
if self.current_track and "duration" in self.current_track:
File "/usr/local/lib/python3.8/site-packages/pysqueezebox/player.py", line 165, in current_track
return self._status["playlist_loop"][self.current_index]
TypeError: 'NoneType' object is not subscriptable
I am on 0.115.6. I know there was some upgrades to SB recently, but I am not sure if that is what is causing the issues. I am not sure at what version this crept in, but it did work previously. Any ideas?