Radion, an internet radio CLI client, written in Bash.
Radion, an internet radio CLI client, written in Bash.
![the background blur](https://lemmy.world/pictrs/image/92058587-1cf4-4abe-983a-8b60caaba804.png?thumbnail=256&format=webp)
![](https://lemmy.world/pictrs/image/92058587-1cf4-4abe-983a-8b60caaba804.png?thumbnail=1024&format=webp)
radion is an internet radio CLI client, written in Bash.
https://gitlab.com/christosangel/radion
Radion can be customized as far as the station selecting program is concerned. The user can choose between:
- read
- fzf
- rofi
- dmenu
Update: Introduced new feature: customizing prompt text for fzf dmenu and rofi.
Update: MacOS support added now thanks to Andrea Schäfer
Also, I was forced by my daughter to add some anime radio stations...
Update: Recording functionality added, with the use of another (you guessed it) bash script
Also options in read
as Preferred selector are also case insensitive.
Any feedback is appreciated!
In bash? Impressive!
51 0 ReplyMy first thought every time I see a pure bash project: "wow" followed by "but... why".
I get that we have bash on most machines, reducing dependencies, all that jazz. But it's so painful to do anything nontrivial with it. There are so many small potential papercuts and edge cases, I'd rather pull my teeth out with a pair of pliers than code more than a simple script in it.
43 0 ReplyThat’s why it’s impressive. It’s not easy.
12 0 ReplyEverything is not pure bash here, it's a radio frontend for mpv. It is also using sed, awk... A standard bash use case actually.
10 0 ReplyMy entire homelab env is written in "pure bash". Bare metal deployments, creation, build, deployment, update, and backup, of docker containers (which are also just convenience wrappers around other pure bash projects of mine.). Etc...
I do it because I got sick of losing data, work, workflow or convenience to black boxes I didn't create myself. Hell, even with my third party projects like Plex I have a lot of bash automation around extracting playlists from the internal sqlite db, etc. It really shifts your perspective on what's possible when you build things by hand yourself.
10 0 ReplyNot to mention the tool isn't meant to be anything more than glue between other programs
5 0 ReplyKeep in mind that what you find painful, some people find fun :)
3 0 Reply
Well, I know what I'll be using to listen to my radio stations from now on. Really neat project!
Also, it doesn't pick up user defined tags because it's looking in the wrong place for them!
Row 114:
TAGS=( $(sed 's/ /\n/g' stations.txt |grep "#"|grep -v "#Favorites"|sort|uniq|sed 's/#//g') )
Should be
TAGS=( $(sed 's/ /\n/g' $HOME/.cache/radion/stations.txt |grep "#"|grep -v "#Favorites"|sort|uniq|sed 's/#//g') )
12 0 Reply- Excellent catch! This one slipped through! I just fixed the bug, thank you very much!
I am happy you like it!
10 0 Reply
This looks crazy promising for us sxmo users ... I'll def check this out.
11 0 ReplyI must admit I had to look sxmo up...
thx!
6 0 ReplyHow can we connect... I'm having weird graphical issues.... But I might be drunk and missing something. Tomorrow morning I'll send a video
1 0 Reply
Very cool. You might want to crosspost this to c/bash on lemmy.ml
9 0 ReplyJust because you can doesn't mean you should.
8 0 ReplyOf course, next time I feel like writing a script, I will make sure that I let you know first, and get your approval.
28 0 Replyrespectfully, why did you write it in bash? for the challenge?
4 0 ReplyThat's the least you can do.
1 0 Reply
Unrelated but, in case it's not dyslexia, it's "customize" not "costumize". It comes from "custom" not "costume".
5 0 ReplyYou are right, lapsus calami...
1 0 Reply
Awesome :) I think I shall set this up in Termux later for one more on the go music option.
4 0 ReplyNo metal, blues, or dnb option?
4 0 ReplyThrough the script you could go to https://www.radio-browser.info/search?page=1&order=clickcount&reverse=true&hidebroken=true&tagList=metal, pick the stations you fancy and headbang yourself unconscious... 🎸 🤘
7 0 ReplyDe gustibus et coloribus...
Each user can create add and enjoy any tag and station they like!
5 0 Reply
Update: Recording functionality added, with the use of another (you guessed it) bash script
Also options in
read
as Preferred selector are also case insensitive.Any feedback is appreciated!
3 0 ReplyMaybe it's just me, but I think we don't need more command line functionality.
1 0 ReplyMaybe. Respectfuly, feel free to move along. I fail to see the aim of your message.
14 0 ReplyThat's fine. Not everything is for you.
2 0 Reply