Cooking with Linux - Your Media: Out of the Kitchen and into Every Other Place
This is certainly a fascinating collection of music, François! I hadn't realized you were such a big fan of the Indie music scene. You've got some great tunes queued up in Amarok, and there's plenty here that I've never even heard of. You should let me know about it, so I can check out some of it myself.
Quoi? No, François, I don't want you to e-mail me your current playlist. There are other, more interesting ways to do this now. Sharing your musical taste with others is becoming quite popular, mon ami. People have “now playing” or “recently played” lists in their blogs, and music discussion is a staple of social networking sites all over the Web. Furthermore, you already are running some great Linux software that will let you share your musical tastes with one, two, five or a thousand people, if you so desire. Of course, I will show you, but for now, we must get ready. As you can see, our guests have already arrived.
Welcome, everyone, to Chez Marcel, where we match the best in Linux and open-source software with superb wines and, of course, the best of clientele. Please, find your tables and make yourselves comfortable while my faithful waiter attends to the vin. François, please head down to the wine cellar. I think the 2004 Village Latour Cotes du Rossillon from Maison Chapoutier would make an excellent counterpoint to today's menu. Why not marry excellent musical taste with an excellent and flavorful red wine? You'll find a few cases in the third row of the south wing. Vite, François! Our guests must be parched.
François and I were discussing the joys of sharing music we enjoy with friends (and anyone else who shares an interest for that matter). Your Linux system makes this easy with the right programs. One way to share your entertainment, mes amis, is simply to tell the world. Kopete, the multiprotocol instant messaging client distributed with KDE, has a neat little feature that lets you do just that. Say you happen to be logged in to an IRC channel or having a chat with a friend on-line, using Jabber, Yahoo or some other service. Typing /media in the chat field at the bottom of your chat window is all it takes. The system then transmits a message telling your chat partners the artist, title and album of whatever song you are listening to (Figure 1).
Ah, François, you have returned. Excellent. Please, pour for our guests. I envy you, mes amis; you will truly enjoy this wine.
Sending your current track information via Kopete works with Amarok, Kaffeine, Noatun and other KDE applications. It also works well with XMMS. In order to get Kopete to transmit this information, however, you may need to turn on the plugin that does the job. To do this, click on Settings in Kopete's menu bar and select Configure Plugins. A window pops up with a list of Kopete's available plugins in the left-hand sidebar (Figure 2).
Make sure the Now Listening check box is checked. Now, look over on the right, and you'll see three tabs. You can change the format of the display to your instant messaging client if you don't happen to like the current setting. The interesting tab here is the one labeled Advertising Mode. The default requires that you enter /media to transmit the information, but you can make it automatic here. Another setting transmits the Now Listening information in your on-line status information. When you are happy with the settings, click OK.
Of course, this is only text information, and no one but yourself can hear what you are listening to. To get the sound out to others, you need to do a little broadcasting. A common scenario for a lot of people at home is having a huge collection of music on one PC but two or more computers in other parts of the house. Wouldn't it be great to be able to play music on one PC and have it broadcasted on the other computers, wherever they might be in the house? Becoming a local broadcaster on your network is easier than you might think. In fact, you may have a few programs that do the job nicely already installed on your system.
One of these is Jrgen Kofler and Christophe Thommeret's Kaffeine, a popular KDE media player. Kaffeine is generally thought of as a video player, but it also can serve up DVDs, VCDs, audio CDs or a variety of multimedia files stored on your system. Some Linux distributions that include the Kaffeine player also embed it in Konqueror for viewing on-line videos in Web pages. Kaffeine also has a broadcast feature. Click File on Kaffeine's menu bar, then navigate to Network Broadcasting, and select Send Broadcast Stream (Figure 3).
A small window appears asking you to select a port number. By default, the port already is selected as 8080, but you can override it here. Click OK to close the dialog, and you are ready to broadcast. In fact, anything you play, whether it is a music track or a video, is now being broadcast. Other people on your network who want to pick up this broadcast need to fire up their own copy of Kaffeine and do a slight change to their configuration. Click File on the menu bar and head to the Network Broadcasting submenu, but this time, choose Receive Broadcast Stream. A configuration dialog appears (Figure 4).
Enter the sender's IP address, the port on which the sender is transmitting (the one you set up in the Kaffeine program doing the broadcasting), and click OK. Just like that, you are watching (or listening) to whatever the local DJ or VJ in your home is sending out.
Several “organic” music services have appeared on-line recently as part of the whole Web 2.0 mania. Some of them, I confess, are quite fascinating. My favorites to date are Pandora and Last.fm. Pandora is an interesting service that suggests, and plays, musical selections based on songs you tell it you enjoy. It turns out that it is very good at guessing what other music you will like. Pandora is great, but it's a solitary experience. What sets Last.fm apart is the social networking aspect. You can discuss music with friends, blog about your favorite tracks, discover new music and find out what your friends are listening to. And, of course, you can tell them what you are listening to on your Linux system. To get in on the fun, you first need a Last.fm account. Then, using a cool little piece of software called Audioscrobbler, your favorite Linux music player can tell Last.fm what you are listening to. Audioscrobbler, by the way, is essentially a database system that tracks listening habits and generates statistics used to predict likes, dislikes and so on.
In the December 2005 issue, I told you about the incredibly amazing Amarok, the KDE jukebox music player. This program is a must-have for music lovers and remains my favorite media player. Amarok's features are too numerous to list here, but let me give you a recap. There's a powerful cover manager (downloads covers from Amazon), a context browser that keeps track of your favorite and most-listened-to songs, a skinnable interface, iPod support (other players work as well), great visualization tools (using libvisual) and more. There's even a lyric download feature so you can sing along with your favorite tunes without worrying about whether you are getting the words right. Now, the latest version of the amazing Amarok also features Last.fm support with built-in Audioscrobbler support.
- diff -u: What's New in Kernel Development
- Divx# Watch The Other Woman Full HD Online Streaming Viooz
- Numerical Python
- Great Scott! It's Version 13!
- Use Linux as a SAN Provider
- RSS Feeds
- NSA: Linux Journal is an "extremist forum" and its readers get flagged for extra surveillance
- Adminer—Better Than Awesome!
- It Actually Is Rocket Science
- Linux Kernel Testing and Debugging