I often have internet radio on in the background when I'm on my Mac and whilst iTunes is great at doing that I wondered if there was a more economical way of achieving the same....enter Mplayer.
This is the syntax for playing internet radio through Mplayer (when installed in Applications):
Home$ /Applications/mplayer -quiet -playlist http://somafm.com/u80s.pls
Just paste in your chosen station URL.
To avoid having to type all that in each time, I made an alias - so to play this station all I have to do is type "u80" into Terminal.
To make a permanent alias, edit your .bash_profile (either in your Home or etc folder) - here is the text I added for my example:
alias u80=' /Applications/mplayer -quiet -playlist http://somafm.com/u80s.pls'
The alias will be set next time you log in or can be loaded immediately by:
Home$ . ~/.bash_profile
Mplayer parses the playlist which Terminal then gives you the current track info.
Here it is running on my iBook - it's not often you can browse the web (Lynx), listen to streaming radio and run a system monitor (Top) all at under 10% CPU.....
This is the syntax for playing internet radio through Mplayer (when installed in Applications):
Home$ /Applications/mplayer -quiet -playlist http://somafm.com/u80s.pls
Just paste in your chosen station URL.
To avoid having to type all that in each time, I made an alias - so to play this station all I have to do is type "u80" into Terminal.
To make a permanent alias, edit your .bash_profile (either in your Home or etc folder) - here is the text I added for my example:
alias u80=' /Applications/mplayer -quiet -playlist http://somafm.com/u80s.pls'
The alias will be set next time you log in or can be loaded immediately by:
Home$ . ~/.bash_profile
Mplayer parses the playlist which Terminal then gives you the current track info.
Here it is running on my iBook - it's not often you can browse the web (Lynx), listen to streaming radio and run a system monitor (Top) all at under 10% CPU.....