OH2 Squeezebox play action?

I used to play a stream using the action squeezeboxPlayUrl(String playerId, String url, int volume)

How can I achieve this in OH2?

Thx in advance, G.

I had the same question…

The only way I could work it out was to use a rule with the stream command

sendCommand (StudySqueezeStream, “http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/uk/sbr_high/ak/bbc_radio_one.m3u8”)

To the following item

String StudySqueezeStream “Stream” { channel=“squeezebox:squeezeboxplayer:MyServer:Study:stream” }

Hope that helps!

1 Like

Thanks a lot. Works like a charm!