Notices


Reply
Thread Tools
Posts: 5 | Thanked: 1 time | Joined on Aug 2010
#1
I'm using Rhythmbox on Ubuntu 10.04 (Lucid). I've got the N900 connected via USB in Mass Storage mode.

Initially, it failed to detect the N900 as a media player, but I've added a .is_audio_player file to the root, with a single entry of audio_folders=.sounds/

That's now finding the existing music on the N900. However, I can't transfer any music into the N900 - it's just doing nothing when I drag files over. (I'm trying to copy .mp3 and .wma over). If I copy the music using the File Manager on the desktop, it appears in the N900 Media Player and plays fine.

So it seems like it's a problem with the way Rhythmbox is seeing the N900.

The audio format description string for the N900 is extensive, and it looks like Rhythmbox can't parse it properly, as it's showing:

Code:
audio/3gpp,audio/3ga,audio/3gpp2,audio/amr,audio/x-ams,audio/mpa,audio/mp3,audio/x-mp3,audio/x-mpg,audio/mpeg,audio/mpeg3,audio/mpg3,audio/mpg,audio/mv4,audio/m4a,audio/aac,audio/x-aac,audio/mp4a-latm,audio/wave type
If I add a line to the .is_audio_player file that says

Code:
output_formats=application/ogg,audio/x-ms-wma,audio/mpeg
then Rhythmbox shows the audio support as:

Code:
Ogg multimedia file
WIndows Media audio
MP3 audio
I can now drag files to the device, but it converts them to OGG, which the Media Player on the N900 doesn't support.

If I remove the "application/ogg" from the formats, leaving just Windows Media and MP3, then it won't transfer again (even though it just needs to copy the files, not convert them).

So my questions are:
  • How do I correct the audio formats supplied by the N900 / in udev so that Rhythmbox reads them correctly, removing the need to have an output_formats line in the .is_audio_player file
  • What do I need to do to get Rhythmbox to just copy .wma and .mp3 files directly to the N900?

Thanks.

Last edited by nickpiggott; 2010-08-18 at 09:56.
 
Posts: 298 | Thanked: 197 times | Joined on Dec 2009 @ Norway
#2
Why put OGG in the line at all?
I believe it uses the first format, and if first format is unavailable it selects second, and same goes for third.
 
Reply


 
Forum Jump


All times are GMT. The time now is 06:48.