Using the python notebook you can configure selector buttons in domoticz which allow you to stream internet radio stations. In my case domoticz is running on a Raspberry Pi 3 which is connected to an audio amplifier using HDMI.
In the notebook you can find three parts:
- collect urls for internet radio streams using regexes
- specification of selector switches in domoticz which allow selection of radio stations
- domoticz lua script, which needs to be modified for your own situation