I made a tiny npm library that gets the currently playing song on the radio station Triple J. This tool works on the command line. If you have npx installed, you can use it like so.
If you want to open the song in Spotify, you can use this command:
npx triplej --spotify
See https://www.npmjs.com/package/triplej for details.
I’ve also added a small feature that adds a rarity value to the song line separator. So everytime you use the tool, you may get a rare line.