Skip to content

Simple BASH-based radio player for the Norwegian radio NRK

Notifications You must be signed in to change notification settings

tovine/nrk-radio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NRK Radio helper
================
Prerequisites:
--------------
For the script to work, the following must be installed:
- screen	(used to keep it running in the background)
- mplayer	(used to actually do the playback, you can also use any other player if you like as long as it accepts playing from HTTP URLs)

Other binaries are also used, but I consider them basic utilities (e.g. tee, grep, cut) in any Linux environment...

Installation:
-------------
You can basically put it anywhere you want, but in order to get the best experience, the main script ('nrk') should be located somewhere that's included in the $PATH - e.g. /usr/local/bin/ (alternatively you could use an alias - but you get the idea...)

(Optional)
To get channel autocompletion, include the 'nrk_bash-autocomplete' file. Either by sourcing the file (from .bashrc etc...), or by placing it with the other autocomplete-definitions in /etc/bash_completion.d/ (system-wide) or ~/.bash_completion.d/ (user-local).

Instructions are based on a standard Debian install, but should also work on most others - anyway I assume you know how to make it work if you run a distro where this doesn't...

Configuration:
--------------
If you want to change which media playback program you want to use, edit the variable PLAYER at the top of the script.

Uninstallation:
---------------
Delete the files you downloaded - duh...

About

Simple BASH-based radio player for the Norwegian radio NRK

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages