gijbelsy
(Gijbelsy)
March 19, 2020, 11:15pm
1
When I call the service: squeezebox.call_method, the following error appears in the log:
2020-03-20 00:06:30 ERROR (MainThread) [homeassistant.components.squeezebox.media_player] Failed communicating with LMS: <class 'aiohttp.client_exceptions.ServerDisconnectedError'>
The squeezebox itself is up and running on the default port.
All my players get discovered, and I can play - stop - turn off - … the players via the applicable services.
Only when I call the service squeezebox.call_method this error appears
Any idea’s what’s causing this? I’m running HA 0.107 and my LMS is the latest version.
gijbelsy
(Gijbelsy)
March 22, 2020, 9:18am
2
Finally I figured it out myself.
Seems that there is an error in the example documentation.
The docu provides the parameter-set as follows:
entity_id: media_player.squeezebox_radio
command: playlist
parameters: 'loadtracks,album.titlesearch='
When I change this to
entity_id: media_player.squeezebox_radio
command: playlist
parameters:
- loadtracks
- album.titlesearch=
It works just fine!
1 Like
Moonbase59
(Matthias C. Hormann)
May 22, 2020, 6:11pm
3
I use playlist names with spaces in them, so my “shorthand” solution to this is like:
# Resume "Good Morning!" playlist
- service: squeezebox.call_method
data:
entity_id: media_player.radio
command: 'playlist'
parameters: ['resume','Good Morning!']
2 Likes