Sveriges Radio CLI
CLI for streaming radio from Sveriges Radio (P1, P2, P3) written in JavaScript
Currently tested on: OSX (10.11.1), Raspbian Stretch (4.9)
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
Example Usage
sverigesradiosverigesradio p1sverigesradio p2sverigesradio p3
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