Package Exports
- somafm
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (somafm) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
SomaFM 
Play & record SomaFM radio channels
Install
With yarn:
$ yarn global add somafm
or with npm:
$ npm install --global somafm
Usage
$ somafm
Choose a channel to play from the list.
$ somafm list [<keywords>]
List SomaFM channels. You can filter by one or more keywords.
$ somafm play <channel>
Play a channel. Requires MPlayer or mpv. Please make sure you have at least one of them installed and the mplayer
or mpv
command can be run within your shell.
Keyboard shortcuts
Description | Key |
---|---|
Copy current song title to clipboard | c |
Add current song to favourites | f or + |
Remove current song from favourites | u or - |
Increase volume* | * or 0 |
Decrease volume* | / or 9 |
Mute/unmute* | m |
Stop playback & quit application | q or esc |
* MPlayer only
$ somafm info <channel>
Get channel information.
$ somafm record <channel>
Record a channel. Requires Streamripper.
$ somafm list-favourites
List your favourite songs.
$ somafm edit-favourites
Edit your favourites songs file.
Command aliases
All commands have short aliases for faster typing.
Command | Alias |
---|---|
list |
ls |
play |
p |
info |
i |
record |
r |
list-favourites |
lf |
edit-favourites |
ef |
License
MIT © Christoph Uschkrat