Play internet radios from the system tray on Linux.
The program looks for $XDG_CONFIG_HOME/traydio/stations.kdl
(~/.config/traydio/stations.kdl
by default).
This KDL file should be a list of stations that have attribute "url" (any URL or even file path that mpv knows how to open is fine), mayhaps something like this:
"HouseTime.fm" url="https://listen.housetime.fm/aac-hd.pls"
"TranceBase.fm" url="https://listen.trancebase.fm/aac-hd.pls"
First you need to make sure you have the requirements:
- mpv – to play music
- mpv-mpris plugin – to make mpv listen to playerctl
- playerctl – to control mpv
- Probably bunch of other less obvious library dependencies like maybe build-essentials and gtk-devel and cairo or something, I wish you the best of luck in figuring them all out
If you by some miracle made it this far you can try these commands and pray this house of cards doesn't fall down:
$ git clone https://github.com/andriamanitra/traydio
$ cd traydio
$ cargo install --path .
$ traydio