Something went wrong. Try again.
SomaFM GNOME Shell extension fork with Shell 50 support + Nix flake
Something went wrong. Try again.
Files
- JavaScript 76%
- Python 12%
- Nix 12%
- CSS <1%
Readme.md
SomaFM GNOME Shell extension (Shell 50 + Nix profile) #
Listen to SomaFM free internet radio from the GNOME panel.
Fork of TheWeirdDev/somafm-radio-gnome-ext:
- Declares GNOME Shell 50 in
metadata.json - Nix flake packages the extension and GStreamer plugins for a user profile install (no system flake /
nh os switchrequired) radio.jssetsGST_PLUGIN_SYSTEM_PATH_1_0fromNIX_PROFILES/~/.nix-profilebeforeGst.initso gnome-shell finds plugins
Install (nix profile — recommended) #
nix profile add 'git+https://tangled.org/nandi.uk/somafm-radio-gnome-ext'
# or from a checkout:
# nix profile add .
# Install / refresh the extension into the user extensions dir:
mkdir -p ~/.local/share/gnome-shell/extensions
cp -a ~/.nix-profile/share/gnome-shell/extensions/SomaFm-Radio@alireza6677.gmail.com \
~/.local/share/gnome-shell/extensions/
Then enable SomaFM internet radio (Extensions app or gnome-extensions enable SomaFm-Radio@alireza6677.gmail.com). On Wayland, disable/enable if the shell had a stale load.
Plugins live at:
~/.nix-profile/lib/gstreamer-1.0
Install (manual extension only) #
git clone 'git@tangled.org:nandi.uk/somafm-radio-gnome-ext'
cd somafm-radio-gnome-ext
cp -r 'SomaFm-Radio@alireza6677.gmail.com' ~/.local/share/gnome-shell/extensions/
Without the profile package, you still need GStreamer plugins somewhere on NIX_PROFILES for playback.
Flake outputs #
| Attribute | What |
|---|---|
default / somafm-radio |
Profile env: extension + gstreamer + base/good/bad + libav |
extension |
Extension files only |
nix build
nix flake check
python3 tests/test_player_path.py
Requirements #
- GNOME Shell 45+ (this fork includes 50)
- GStreamer plugins for HTTP + AAC + audio sink (bundled in the profile package)
License #
GNU General Public License version 3 — see LICENSE.