I would like to write a script (AppleScript or shell script) to open a URL such as
https://itunes.apple.com/ca/station/beats-1/idra.978194965
which then launches iTunes and play a radio station.
The problem is that all the commands I found will first open a Safari tab and then redirect to iTunes for the playback.
Is there a way to not have an empty Safari tab/window left after launching this URL?