SomaFM GNOME Shell extension fork with Shell 50 support + Nix flake
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 switch required)
  • radio.js sets GST_PLUGIN_SYSTEM_PATH_1_0 from NIX_PROFILES / ~/.nix-profile before Gst.init so gnome-shell finds plugins
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.