I got fed up with the way that Apple and the BBC refuse to play nice. I want to stream BBC radio stations through my HomePod. So I set up a flic to auto stream the radio from my mac to the HomePod. The steps are:
- Open the BBC radio station URL in Music (e.g. itls://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_two/bbc_radio_two.isml/bbc_radio_two-audio=320000.m3u8) and add it to a playlist (e.g. "BBC Radio 2")
- Create a folder within plugins called PlayRadio2.
- Within that folder create an AppleScript called Radio2.scpt
tell application "Music"
play playlist "BBC Radio 2"
set airPlayDevices to (get name of AirPlay devices) --returns a list of names
set current AirPlay devices to AirPlay device (item 2 of airPlayDevices) --sets device to item 2 of list
end tell
- Also create a config.json file containing
{
"pluginName": "Radio2",
"pluginDescription": "Starts Playing Radio 2 and streams to HomePod Mini",
"protocolVersion": 1,
"actions":
[
{
"actionName": "PlayRadio2",
"fileName": "Radio2.scpt"
}
]
}
- Reload plugins and off you go...