Skip to content

kosivantsov/somafm-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Soma.FM bash/zsh cli interface

This is a simple shell script that defines two functions: soma and soma64 with bash and zsh autocompletion for the available stations in the highest and 64-bit encoding, respectfully. To make soma and soma64 commands available, somafmrc available in this repo should be sourced from a file that is read by either bash or zsh (or both) when the shell is started. This can be done, for example, in $HOME/.aliases, by adding these lines (assuming somafmrc is located in $HOME/.config/somafmrc):

if [ -f $HOME/.config/somafmrc ]; then
    source $HOME/.config/somafmrc
fi

Variable player is set to playurl, another shell script that launches a user-defined player (including GUI players) and can get playable URLs for various resources, including YouTube video which will be played as audio-only. This variable can be set to any other player that accepts an URL as an argument.

About

bash/zsh interface to soma.fm channels

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published