this post was submitted on 21 Oct 2023
520 points (98.7% liked)

Linux

48035 readers
818 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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

read

  • fzf

fzf

  • rofi

rofi

  • dmenu

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

icy

Also options in read as Preferred selector are also case insensitive.

Any feedback is appreciated!

all 50 comments
sorted by: hot top controversial new old
[–] [email protected] 51 points 1 year ago (1 children)
[–] HexesofVexes 12 points 1 year ago (1 children)

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') )

[–] christos 10 points 1 year ago
  • Excellent catch! This one slipped through! I just fixed the bug, thank you very much!

I am happy you like it!

[–] [email protected] 11 points 1 year ago (1 children)

This looks crazy promising for us sxmo users ... I'll def check this out.

[–] christos 6 points 1 year ago (1 children)

I must admit I had to look sxmo up...

thx!

[–] [email protected] 1 points 1 year ago

How can we connect... I'm having weird graphical issues.... But I might be drunk and missing something. Tomorrow morning I'll send a video

[–] [email protected] 8 points 1 year ago

Very cool. You might want to crosspost this to c/bash on lemmy.ml

[–] [email protected] 5 points 1 year ago (1 children)

Unrelated but, in case it's not dyslexia, it's "customize" not "costumize". It comes from "custom" not "costume".

[–] christos 1 points 1 year ago

You are right, lapsus calami...

[–] [email protected] 4 points 1 year ago (3 children)

No metal, blues, or dnb option?

[–] christos 6 points 1 year ago

Through 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... 🎸 🤘

[–] christos 5 points 1 year ago

De gustibus et coloribus...

Each user can create add and enjoy any tag and station they like!

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

Hmm soma has that

[–] [email protected] 4 points 1 year ago

Awesome :) I think I shall set this up in Termux later for one more on the go music option.

[–] christos 3 points 1 year ago

Update: Recording functionality added, with the use of another (you guessed it) bash script

icy

Also options in read as Preferred selector are also case insensitive.

Any feedback is appreciated!