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).

Figure 1. With Kopete's Now Listening plugin, your favorite music player can tell your friends what you are listening to.
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).

Figure 4. On the receiving end, you must tell Kaffeine which host is doing the broadcasting.
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.
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Sponsored by AMD
Built-in forensics, incident response, and security with Red Hat Enterprise Linux 6
Every security policy provides guidance and requirements for ensuring adequate protection of information and data, as well as high-level technical and administrative security requirements for a system in a given environment. Traditionally, providing security for a system focuses on the confidentiality of the information on it. However, protecting the data integrity and system and data availability is just as important. For example, when processing United States intelligence information, there are three attributes that require protection: confidentiality, integrity, and availability.
Learn more about catching the bad guy in this free white paper.
Sponsored by DLT Solutions
| Designing Electronics with Linux | May 22, 2013 |
| Dynamic DNS—an Object Lesson in Problem Solving | May 21, 2013 |
| Using Salt Stack and Vagrant for Drupal Development | May 20, 2013 |
| Making Linux and Android Get Along (It's Not as Hard as It Sounds) | May 16, 2013 |
| Drupal Is a Framework: Why Everyone Needs to Understand This | May 15, 2013 |
| Home, My Backup Data Center | May 13, 2013 |
- RSS Feeds
- Dynamic DNS—an Object Lesson in Problem Solving
- Making Linux and Android Get Along (It's Not as Hard as It Sounds)
- New Products
- Using Salt Stack and Vagrant for Drupal Development
- A Topic for Discussion - Open Source Feature-Richness?
- Drupal Is a Framework: Why Everyone Needs to Understand This
- Validate an E-Mail Address with PHP, the Right Way
- What's the tweeting protocol?
- Tech Tip: Really Simple HTTP Server with Python
- Kernel Problem
1 hour 21 min ago - BASH script to log IPs on public web server
5 hours 48 min ago - DynDNS
9 hours 24 min ago - Reply to comment | Linux Journal
9 hours 56 min ago - All the articles you talked
12 hours 20 min ago - All the articles you talked
12 hours 23 min ago - All the articles you talked
12 hours 24 min ago - myip
16 hours 49 min ago - Keeping track of IP address
18 hours 40 min ago - Roll your own dynamic dns
23 hours 54 min ago
Enter to Win an Adafruit Pi Cobbler Breakout Kit for Raspberry Pi

It's Raspberry Pi month at Linux Journal. Each week in May, Adafruit will be giving away a Pi-related prize to a lucky, randomly drawn LJ reader. Winners will be announced weekly.
Fill out the fields below to enter to win this week's prize-- a Pi Cobbler Breakout Kit for Raspberry Pi.
Congratulations to our winners so far:
- 5-8-13, Pi Starter Pack: Jack Davis
- 5-15-13, Pi Model B 512MB RAM: Patrick Dunn
- 5-21-13, Prototyping Pi Plate Kit: Philip Kirby
- Next winner announced on 5-27-13!
Free Webinar: Hadoop
How to Build an Optimal Hadoop Cluster to Store and Maintain Unlimited Amounts of Data Using Microservers
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Some of key questions to be discussed are:
- What is the “typical” Hadoop cluster and what should be installed on the different machine types?
- Why should you consider the typical workload patterns when making your hardware decisions?
- Are all microservers created equal for Hadoop deployments?
- How do I plan for expansion if I require more compute, memory, storage or networking?






Comments
%artist and %album doesn't work whit kaffeine
everything is ok...
but the artist and the album of the track does not appear!
i'm using kaffeine
any idea to fix this?
regards
jorge