Help with music automation

Hi Guys,

I’ve done this before but forgotten how I did it previously. I’m just trying to get a simple automation going that plays a specific playlist from my squeezebox server when I choose an input select.

I’ve tried variations on the following without any luck:

- id: '1586725533383'
  alias: Play radio four
  description: ''
  trigger:
  - entity_id: input_select.radio_select
    from: None
    platform: state
    to: Radio four
  condition: []
  action:
  - data:
      command: playlist play
      parameters: http://192.168.0.149/media/music/playlists/radiofour.m3u
    entity_id: media_player.kitchenplayer
    service: squeezebox.call_method

Any help with this would be much appreciated.

I have no idea if this will fix it, but based on something I just saw elsewhere maybe it should look like this:

- id: '1586725533383'
  alias: Play radio four
  description: ''
  trigger:
  - entity_id: input_select.radio_select
    from: None
    platform: state
    to: Radio four
  condition: []
  action:
  - data:
      command: playlist 
      parameters: play
      parameters: http://192.168.0.149/media/music/playlists/radiofour.m3u
    entity_id: media_player.kitchenplayer
    service: squeezebox.call_method

Basically change the command to playlist and add play as a parameter.