Rhythmbox and USB mass storage sync

In openSUSE, Rhythmbox has become my friend for managing my music collection. I couldn’t “sync” my music with my mobile easily as the Memory Stick (Pro) Duo card reader in my laptop isn’t operateable due to the proprietary transfer protocol for Memory Sticks. Today I got a USB all-in-one card reader stick and voila, the mobiles card got mounted fine. There was no sign of it in Rhythmbox, though. Checking the removable media option in the file menu didn’t help either. I then found the info that creating/touching a file called “.is_audio_player” could help Rhythmbox to detect the removable device. And it actually succeeded. Yikes.

The next hurdle to take was the placement of the files when you drag them onto the removable device shown in Rhythmbox. By default, the files would be placed in the root of the device. As the folder for mp3s is actually “mp3″ on the Memory Stick, we have to open the prevoiously created “.is_audio_player” file and place the following content into it:

audio_folders=mp3/
folder_depth=1

This tells Rhythmbox to place any files into the “mp3″ folder of the Memory Stick and create a “<Artist>-<Album>” directory where the songs are stored. Specifying “folder_depth=2″ would actually create a folder for the artist and below that one a folder for the album. But that’s not my preference.

So, all in all I am quite confident with this now. But the question remains why one has to search the net for such information, hand craft a file and put obviously undocumented – or at least not easily findable – configurations in there? Rhythmbox has support for the Media Transfer Protocol (MTP) which could make live easier, but this doesn’t account for pure USB mass storage devices. So at least that part should be configurable within the music management application itself. Room for improvement.

10 Responses to “Rhythmbox and USB mass storage sync”

  1. atla said on 2008-10-24 at 9:29

    Seems you finally also got caught by linux ;) funny how things work out.

    Concerning the audio player hassle you can not really expect linux to recognize a *memory stick* as a usb audio player (at least i would not, and i don’t think other systems treat them as audio devices by default).
    On the other side it’s nice to know how to configure it, i didn’t know before, so nice info!

    Greetings from southern germany,

    Marcus

  2. emwe said on 2008-10-27 at 21:00

    Hey Marcus,
    I am not caught, but I mostly have everything I need in an easily maintainable and extensible fashion ;) But it’s a good base, yes. And when it comes to a good combination between UI and console, a Linux distribution is the way to go, when you keep any BeOS-derivate out of scope. Privately, I have no other way of building Haiku, so there is no option left. Except I follow Maurice’ and Karstens crazy adventures with cygwin and mingw :)

    When it comes to USB mass storage, well. The device should have at least been listed in the UI so that one can drag stuff onto it. That was my main point of complain. Nevertheless, I think I am going to have fun with Banshee on the long run…

    Was nice to have heard from you again, Marcus!
    Greetings from the upper areas ;)

    Michael

  3. Luca said on 2009-12-07 at 20:21

    Ehi, thank you very much! It works smoothly now with my Nokia N73! Great!

  4. malex said on 2009-12-30 at 14:35

    Very useful tip, thanks a lot!!

  5. PeterJCLaw said on 2010-01-05 at 2:05

    I was looking for a sync tool when I found your post. You might find http://blog.kevinmehall.net/2009/syncing-rhythmbox-with-portable-player interesting (I’ve not tested it yet though – I only just found it)

    Peter

  6. Rythmbox Sync to USB Device said on 2010-06-23 at 21:10

    [...] treat just any USB mass-storage device as an audio player, so I stumbled upon a post titled “Rhythmbox and USB mass storage sync” dealing with a similar [...]

  7. Passy said on 2010-07-06 at 12:59

    Y no sería más fácil crear en el usb que quieras meter música la carpeta “MTPMEDIA” ( crearla ) y ya así te lo detecta como un dispositivo MTP???. Es lo que yo hago para ello y me funciona XD Si a alguien más le funciona se puede ahorrar todo eso :P

  8. The Epic Fail of Music Syncing under Linux « Design By Gravity said on 2011-01-18 at 8:30

    [...] my Droid as a mass storage device, I had to create a file in the root directory of my SD Card. Really. Magic! (The file in question is “.is_audio_player”). This does nothing, really, except make [...]

  9. Windows Phone 8 detected as mass storage | WyldePlayground.netWyldePlayground.net - said on 2013-06-27 at 11:22

    [...] tried creating .is_audio_player [...]

  10. Windows Phone 8 detected as mass storage | Ubuntu InfoUbuntu Info said on 2013-06-27 at 11:36

    [...] tried creating .is_audio_player [...]

Leave a Reply