But the greatest Electrical Pioneer of them all was Thomas Edison, who was a brilliant inventor despite the fact that he had little formal education and lived in New Jersey. Edison's first major invention in 1877, was the phonograph, which could soon be found in thousands of American homes, where it basically sat until 1923, when the record was invented. But Edison's greatest achievement came in 1879, when he invented the electric company. Edison's design was a brilliant adaptation of the simple electrical circuit: the electric company sends electricity through a wire to a customer, then immediately gets the electricity back through another wire, then (this is the brilliant part) sends it right back to the customer again. This means that an electric company can sell a customer the same batch of electricity thousands of times a day and never get caught, since very few customers take the time to examine their electricity closely. In fact the last year any new electricity was generated in the United States was 1937; the electric companies have been merely re-selling it ever since, which is why they have so much free time to apply for rate increases.
          -- Dave Barry, "What is Electricity?"

Soma - a dialog internet radio player For help/usage see soma -h Soma started off as a way to play .pls playlists from SomaFM but can also play .ram playlists too. In fact any url playable by mplayer should work. Extra stations can be added in ~/.soma/stations.conf. Soma uses mplayer to play the streams and aplay to detect cards for mixer so mplayer and alsa-utils need to be installed. There are 4 config files: ~/.soma/dialogrc Specify the dialog colours ~/.soma/options.conf A few extra options ~/.soma/stations.conf User station list ~/.soma/schedules Schedules There are also: /etc/soma/options.conf Default options /etc/soma/dialogrc Default dialog config /etc/soma/stations.conf Default station list Stations should be added to the user list like this: Name,URL You cannot use a comma , in the name or URL I would be glad of any extra radio urls emailed to me so I can add to the default list. KEYS: The following key shortcuts are available from the status window: h help Keys 1 - 0 volume 10%, 20%,... 100% The value is saved. ( Volume down ) Volume up Space Pause/Play d Disconnect/Reconnect a Add schedule b Station browser m Mute toggle s Scheduler q Quit NOTES: The TERM variable is set to rxvt as this looks better in urxvt+screen for me but ymmv. The dialog colours can be set up however you like. I like black. When changing/selecting soundcard output device you must press space on the option. Just scrolling down and hitting Enter does nothing. The Jack and NAS options for output device will only work if MPlayer is built against them. BUGS: Soma may induce the side effects of general well-being and profound spiritual satisfaction. http://en.wikipedia.org/wiki/Soma http://en.wikipedia.org/wiki/Soma_(Brave_New_World) REAL BUGS: Some people might find screen messes up the dialog colours. If you have this line in ~/.screenrc: attrcolor b ".I" You might want to comment it out and try again as it seems to turn off the bold attribute. Please mail me at dave@dawoodfall.net for new radio urls or bug reports etc.



All packages and scripts on this website come with the following disclaimer. By using these scripts and packages it is assumed that you accept this. This software is provided by the author ''as is'' and any express or implied warranties, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose are disclaimed. In no event shall the author be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage.