Note: This is not an official SomaFM project
I built this for fun because of my love for SomaFM.
Install • Usage • Screenshots • Customization • Contribute
- Ensure you have
mpvinstalled.- On macOS:
brew install mpv
- On macOS:
-
(use-package somafm :ensure t)
- Clone the repository
- Ensure the load-path is properly set based on the directory you cloned to.
If it was cloned to
~/.emacs.d, this should work.(use-package somafm :load-path "somafm.el")
- Clone the repository and make sure it's in your load path.
(add-to-list 'load-path "~/.emacs.d/somafm.el")
- Require the package
(require 'somafm)
- Done!
-
Launch the soma.fm channel browser via
M-x somafm -
Use
nandpto navigate -
Press
<return>to start streaming the highlighted channel -
Press
sto stop streaming playback -
Press
lto sort by number of listeners -
Press
gto refresh the channels list -
The current song will be shown next to the current channel
- Or you can use
M-x somafm-current-songto display the current song in the echo area.
- Or you can use
-
You can add the current song to your favorites file (see
somafm-favorites-file) by callingsomafm-add-current-song-to-favorites, and delete it by callingsomafm-delete-current-song-from-favorites.
- You can set the
somafm-sound-qualitycustom to 'highest, 'high, or 'low to set the streaming quality.
This project uses buttercup for tests. To run them:
-
Install Cask.
-
Run the
caskcommand in the project's root directory to install dependencies. -
Execute tests:
cask exec buttercup -L .

