-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathREADME
26 lines (20 loc) · 1.35 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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...