sxiii

Absolute Radio FLAC Little Clever Automation BashRC Script

Aug 16th, 2012
203
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.14 KB | None | 0 0
  1. # Absolute Radio - FLAC online high-fidelity radio station #
  2.  
  3. # You have to have mplayer installed on your distro.
  4. # Put this rows to your ~/.bashrc file (sometimes you might need to re-login or even reboot your linux machine)
  5. # Run radio with the ar, a8, a9, a0, ac commands (absolute radio, absolute 80's, absolute 90's, absolute 00's, absolute classics)
  6. # Turn off radio with ctrl+c in playback terminal or ao command in any other terminal.
  7. # You can remove cache option if you have high-quality broadband internet or make it 8000 if you have GPRS/3G :)
  8.  
  9. alias ar='mplayer -cache 4000 http://network.absoluteradio.co.uk/core/audio/oggflac/live.pls?service=ar'
  10. alias a8='mplayer -cache 4000 http://network.absoluteradio.co.uk/core/audio/oggflac/live.pls?service=a8'
  11. alias a9='mplayer -cache 4000 http://network.absoluteradio.co.uk/core/audio/oggflac/live.pls?service=a9'
  12. alias a0='mplayer -cache 4000 http://network.absoluteradio.co.uk/core/audio/oggflac/live.pls?service=a0'
  13. alias ac='mplayer -cache 4000 http://network.absoluteradio.co.uk/core/audio/oggflac/live.pls?service=ac'
  14. alias ao='kill $(pidof mplayer)'
  15.  
  16. # Absolute Radio Automation END #
Advertisement
Add Comment
Please, Sign In to add comment