Skip to content

A TUI for listening to Swedish state radio (Sveriges Radio)

License

Notifications You must be signed in to change notification settings

johangu/sr-player-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SR Player

A TUI for listening to the Swedish state radio Sveriges Radio built with nodejs and blessed using their official API
Please note that the UI is in Swedish

Install

The app is hosted on npm, and can easily be installed with npm i -g --production sr-player

macOS caveats

Due to some problems with using the default coreaudio in macOS it's suggested to use openal instead, so please install with the following command:
npm i -g --production sr-player --mpg123-backend=openal

Dependencies

libmpg123

This application depends on locally installed libmpg123 for decoding the mp3-streams

macOS

brew install mpg123

Linux

Use your package manager to install mpg123 or libmpg123 (e.g. apt-get install libmpg123-0)

Usage

q - quit the application
h - show the help screen
/ - filter the channel list according to channel type
space - play/stop the stream
j/↑ - Previous item in the active list
k/↓ - Next item in the active list
enter - Select item in channel list tab - Move focus to the next list S-tab - Move focus to the previous list

Playlist

Select an item in the playlist to get information about the song

Schedule

No activity implemented on selection, yet

About

A TUI for listening to Swedish state radio (Sveriges Radio)

Resources

License

Stars

Watchers

Forks

Packages

No packages published