Philippines, Technology, Mobile, Android, Games, Mac, Linux, WordPress
Google+TwitterLinkedinFacebook
Subscribe
HomeLinux / UbuntuAutomatic iPod-like detection for other devices in Banshee / Rhythmbox

Automatic iPod-like detection for other devices in Banshee / Rhythmbox

If you have an Apple iPod and are using Ubuntu Linux, do you notice that whenever you plug in your iPod into the USB Banshee or Rhythmbox (and other Ubuntu Linux media players) is able to detect it automagically? You can actually setup your other devices like cell phones, external USB storage devices and other media players to be detected as well.

The only single requirement for you to be able to do this is that Ubuntu Linux should be able to detect your device (mobile phone, other media players) as a external USB storage device. The procedure is actually very simple and easy to setup. All you need to do is create a file named “.is_audio_player” in the root storage directory of the device.

Here’s the contents of the file I used on my Nokia cell phone.

audio_folder=mobile/music/
folder_depth=2
output_formats=audio/mpeg,audio/mp3,audio/x-aac

The file contains three settings. audio_folder is used to specify the location of your music files relative to the root of the device storage. folder_depth is the number of subdirectories under audio_folder the actual music files are stored. This is used for setups where you have use subdirectories to organize your music files by album/author for instance. audio_formats is a list of music file formats that the Linux media player is to find in the storage of the cell phone or other devices.

After saving the file, I tested it by running Banshee and connecting my Nokia cell phone. Successful – look at the screen shot below. I also tried it with Rhythmbox and it works.

nokia-cellphone-connected-in-banshee

Hmmm, wonder how I can change the image from an iPod to a cellphone. Any ideas?

Responses

  1. Hans Rödtang says

    The cool thing would be if Nautilus could open Banshee when these devices where plugged in. Putting these file on my external drive gave me a cool synchronizing feature.

  2. Thanks, this works rather well! Having trouble with the audio_folder parameter though. My music is in a directory named Ogg but rhythmbox seems to be unable to understand it. So far I’ve tried
    “Ogg/” and “2G Flash/Ogg” (the memory cards shows up as “2G Flash” in Nautilus). Will try other forms. Thanks again!

  3. Thanks, this worked really well!

  4. Thanks, this was really helpful. I also came across this post in a mailing list post at http://old.nabble.com/Documentation-for-.is_audio_file-td22235886.html giving details on some more options. The “name” option was useful for me, because without it Banshee called my Nokia phone a random string of numbers.

Leave a Reply

  • Hi, I'm Gerry. Welcome to my blog and sites about mobile, technology, The Pinoy, #crazyidea, games, WordPress, Ubuntu, Mac, iOS, Android, Symbian... I started sites like Ortigas Online and iMakati which focuses on local community information. Read more about Gerry
    Status (Twitter, Linkedin, Facebook...)

    Just found out that the Android-based HTC Sensation XL phone is now in the Philippines for about Php 28,000.

  • Visit my other sites

    • Apps & Games

      Reviews, news of mobile apps & games for Android, iOS, Blackberry, Symbian...

    • Connected Phone

      The computer is the mobile phone. The always connected phone evolution.

    • Mobile/Web Development

      Mobile/Web apps, development, services for Android, iPhone & WordPress.

    • Pinoy Me

      Pinoy businesses, enterprises, startups, professionals all over the world

    • Java Midlet

      Java mobile apps & games - news, reviews, tips, mobile phone & devices

  • PINOI Sites

    Are you interested in putting up your own PINOI-enabled local community site? Contact me

    • PINOI

      Enabling local communities on the Internet

    • Makati

      iMakati.com is a site that provides information about Makati City.

    • Ortigas

      Community site that provides information about the Ortigas Center.