3.0.3 • Published 2 years ago

somafm v3.0.3

Weekly downloads
16
License
MIT
Repository
github
Last release
2 years ago

SomaFM

Play & record SomaFM radio channels

npm.io

Features

Install

With yarn:

$ yarn global add somafm

or with npm:

$ npm install --global somafm

Playing a channel requires mpv on your system. Please make sure you have it installed and the mpv command can be run within your shell.

To record a channel, you need Streamripper and its executable streamripper.

On Linux, the xclip package is needed to enable copying the current song title to the clipboard.

Usage

Commands

$ somafm

Interactive mode. Choose a channel to play from the list.

$ somafm list [<keywords>]

Show a list of all SomaFM channels. You can filter by one or more keywords.

$ somafm play <channel> | random

Play a channel. To specify a channel, use the ID from the channel list (lower-case, no spaces), e.g. beatblender. Use random to play any channel.

$ somafm info <channel>

Get channel information.

$ somafm record <channel>

Record a channel. Tracks are saved into a directory containing channel name, date and time, e.g. SomaFM Groove Salad/20171011_213324. It is automatically created in the current working directory.

$ somafm list-favourites [<keywords>]

List your favourite songs. You can filter by one or more keywords in song title and channel name.

$ somafm edit-favourites

Edit your favourites songs file.

Command aliases

All commands have short aliases for faster typing.

CommandAlias
listls
playp
infoi
recordr
list-favouriteslf
edit-favouritesef

Options

-n

Show desktop notifications.

Keyboard shortcuts

While playing, the following keyboard shortcuts are available:

DescriptionKey
Copy current song title to clipboardc
Add current song to favourites+ or f
Remove current song from favourites- or u
Enable desktop notificationsn
Disable/mute desktop notificationsm
Stop playback & quit applicationq or esc
3.0.3

2 years ago

3.0.2

2 years ago

3.0.1

2 years ago

3.0.0

2 years ago

2.7.0

5 years ago

2.6.0

5 years ago

2.5.1

6 years ago

2.5.0

6 years ago

2.4.0

6 years ago

2.3.0

7 years ago

2.2.0

7 years ago

2.1.3

7 years ago

2.1.2

7 years ago

2.1.1

7 years ago

2.1.0

7 years ago

2.0.0

7 years ago

1.7.0

7 years ago

1.6.1

7 years ago

1.6.0

7 years ago

1.5.1

8 years ago

1.5.0

8 years ago

1.4.3

8 years ago

1.4.2

8 years ago

1.4.1

8 years ago

1.4.0

8 years ago

1.3.0

8 years ago

1.2.2

8 years ago

1.2.1

8 years ago

1.2.0

8 years ago

1.1.0

8 years ago

1.0.0

8 years ago

0.1.8

8 years ago

0.1.7

8 years ago

0.1.6

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago