Add a post about somafm cli
This commit is contained in:
parent
8b2335f3f1
commit
15644f98ac
2 changed files with 24 additions and 0 deletions
23
content/posts/somafm_internet_radio_from_terminal/note.md
Normal file
23
content/posts/somafm_internet_radio_from_terminal/note.md
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
X-Date: 2023-08-13T21:22:00Z
|
||||||
|
X-Note-Id: f13a9fff-a1a7-4cc6-990d-048c81593d6f
|
||||||
|
Subject: Playing SomaFM internet radio from the terminal
|
||||||
|
X-Slug: somafm_internet_radio_from_terminal
|
||||||
|
|
||||||
|
I don't know why, but the ease of just calling one terminal command when I need to play some background music
|
||||||
|
is so habit-forming, that I just haven't been doing it any other way.
|
||||||
|
|
||||||
|
In particular, whenever I need electronic music for writing code, I just write:
|
||||||
|
|
||||||
|
```
|
||||||
|
somafm play cliqhop
|
||||||
|
```
|
||||||
|
|
||||||
|
This would play the [cliqhop](https://somafm.com/cliqhop/) station from SomaFM. It doesn't require any registration,
|
||||||
|
and as soon as you're done listening - you just press ^C as usual for all terminal programs.
|
||||||
|
|
||||||
|
You can get the source at [rockymadden/somafm-cli](https://github.com/rockymadden/somafm-cli). It is actually a single
|
||||||
|
shell script that doesn't even need any compilation. Of all the third-party scripts, this one is something that I use
|
||||||
|
most often.
|
||||||
|
|
||||||
|
If you like the terminal in the way I do - give it a try. Otherwise you may as well try
|
||||||
|
[Shortwave](https://apps.gnome.org/app/de.haeckerfelix.Shortwave/) (a lightweight GTK app).
|
1
result
Symbolic link
1
result
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/nix/store/0jp7ls9glc96hwd7y4jhxcvb30dwjljc-knazarov.com-0.1.0
|
Loading…
Reference in a new issue