Skip to content

ollelauribostrom/sverigesradio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sveriges Radio CLI

Build Status Coverage Status Known Vulnerabilities npm version

CLI for streaming radio from Sveriges Radio (P1, P2, P3, P4) written in JavaScript

Currently tested on: OSX (10.11.1), Raspbian Stretch (4.9), Windows 7 Enterprise Service Pack 1

Installation

npm install sverigesradio -g
yarn global add sverigesradio

On Debian/Ubuntu, be sure to have the alsa.h header file in place:
sudo apt-get install libasound2-dev

Usage

sverigesradio
sverigesradio p1
sverigesradio p2
sverigesradio p3
sverigesradio p4-blekinge
sverigesradio p4-dalarna
sverigesradio p4-gotland
sverigesradio p4-gävleborg
sverigesradio p4-göteborg
sverigesradio p4-halland
sverigesradio p4-jämtland

Running your own local development copy

# Install dependencies
npm install

# Create a symbolic link
npm link

# Start babel in watch mode
npm start

# Run your development copy
sverigesradio

Running the tests

Tests: npm test
Coverage: npm run coverage
Linter: npm run lint

Contributing

All contributions are very much welcome. Please get familiar with the contributing guide.

Support

Please open an issue for support.

License

MIT