diListen.sh - Listen to Digitally Imported Network Radios. Downloads & Updates : http://www.black-ship.net/~tukuyomi/stuff/public/diListen/ Usage : sh /home/tukuyomi/bin/diListen.sh [-hlLruv] [-k key] [-p player] [-q quality] channel|-F file|-P url|-U 'url[ url ...]' -h Shows this help and exit; -l Lists available channels and their ID; You can add (part of) a channel name to filter the list; -L Same as -l, displays channels description as well; -d Prints the playlist URL instead of actually playing it; -r Resets all settings to their default values and exit; -v Displays version; -u Updates channels list; -k key Enter or change your Listen Key. You can find it at http://www.di.fm/member/listen_key. Setting your Listen Key allows you to listen to your Favorites Channels. You can also listen to higher quality streams if you own a Premium Listen Key (see the -q option below); -p player Set your favorite audio player here, 'default' resets to mplayer; -q quality Set your Premium Quality - Only for Premium Users; argument is one value of 0(free to listen); 40; 64; 128(default) and 256. Set the quality to 0 if you do not own a Premium Key. -F file Listen to a locally stored .pls playlist file; -P url Listen to the playlist specified by url (see also -d option); -U 'url[ url ...]' Tune directly to a stream url (see also -d option). You can specify multiple urls to be played one after another, provided your chosen player supports it. Use quotes and separate URLs with a space. channel is one of, either ID or name, that is displayed when using -l or -L option. channel can also be either one of @[DI.fm SKY.fm JAZZRADIO.com ROCKRADIO.com] to listen to your Favorite Playlist from said site. channel can also be 'random', which will let you listen to, well, a random channel. If none is provided, either the script exits, displaying usage command or the last listened channel will be played. Legals: This script is released under the terms of the WTFPL (http://www.wtfpl.net/txt/copying). Neither this script nor its author is affiliated to Digitally Imported, Inc.