After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 633552 - AAC Files converted to MP3 even though iPod supports AAC
AAC Files converted to MP3 even though iPod supports AAC
Status: RESOLVED FIXED
Product: banshee
Classification: Other
Component: Device - iPod
1.8.0
Other Linux
: Normal normal
: 1.x
Assigned To: Banshee Maintainers
Banshee Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-10-30 14:57 UTC by Ryan Armstrong
Modified: 2011-04-08 17:52 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Adds m4a to the acceptable mime types for Apple devices (1.17 KB, patch)
2011-01-02 18:16 UTC, gnome
none Details | Review
Adds m4a to the acceptable mime types for Apple devices (without trace) (983 bytes, patch)
2011-01-02 18:24 UTC, gnome
reviewed Details | Review

Description Ryan Armstrong 2010-10-30 14:57:05 UTC
The summary says it all, really. I got around to trying the iPod support in Banshee 1.8 today, and found out that it wanted to convert ALL of my AAC files to MP3 when synching the library. As a former iTunes user, I have a fair amount of music in AAC format, so this would have taken forever. For me, it's back to gtkpod until this is fixed.
Comment 1 David Nielsen 2010-11-01 16:37:05 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

The intend is to have this fixed in the very near future, pending review for correctness of the AAC gstreamer pipeline used in the AAC profile.

*** This bug has been marked as a duplicate of bug 612741 ***
Comment 2 Gabriel Burt 2010-11-02 00:10:45 UTC
David, I think you misread the bug.  Ryan's issue is basically that Banshee doesn't think his iPod supports AAC (when it does) so it tries to transcode his tracks.  It should just transfer them -- the bug has nothing to do with whether there's an AAC encoder profile available.
Comment 3 Alex Launi 2010-11-22 05:44:52 UTC
I think that we need to do a custom IDeviceMediaCapabilities class for iPhones. the default Gio/Udev implementation uses device-media-info which is for USB mass storage devices.
Comment 4 Alex Launi 2010-12-17 22:07:57 UTC
Ryan are you using an iphone or ipod, and can you post a link to the file of an offending song?
Comment 5 Ryan Armstrong 2010-12-17 22:42:36 UTC
I'm using an iPod Classic, 80 GB. I've uploaded an AAC encoding of a MOD file I made a while ago. It's freely available, so I'd say it's a safe choice.

http://dl.dropbox.com/u/8445226/Quantum%203.m4a
Comment 6 Ryan Armstrong 2010-12-17 22:56:07 UTC
Err, that didn't come out quite right. I made the encoding, not the song. The original is from http://modarchive.org/index.php?request=view_by_moduleid&query=52854
Comment 7 Alex Launi 2010-12-18 00:15:24 UTC
Can you please post the contents of /usr/share/media-player-info/apple-1261_1262.mpi
Comment 8 Ryan Armstrong 2010-12-18 00:52:45 UTC
That file doesn't exist on my system. I ran a locate on media-player-info and on apple-1261 and found neither.
Comment 9 Alex Launi 2010-12-18 01:01:20 UTC
Hey that might be part of the problem. What distro are you using? Can you install the media-player-info package?
Comment 10 Ryan Armstrong 2010-12-18 12:01:13 UTC
I am running Xubuntu 10.10, with the Banshee team daily build archive (https://launchpad.net/~banshee-team/+archive/banshee-daily) in my PPA. I am installing the media-player-info package now. I will let you know how it works out. Note that I checked the dependencies in Synaptic and the ONLY package that depends on media-player-info is rhythmbox. If the iPod support requires it to function properly, I think it needs to be added as a dependency of the banshee package.

I will wipe my iPod, try it out in Banshee again, and get back to you.
Comment 11 Alex Launi 2010-12-18 15:01:57 UTC
I just filed a bug, and a patch against the Debian banshee package to depend on media-player-info, because it should.
Comment 12 Christophe Fergeau 2010-12-20 14:40:06 UTC
Ah, this is an interesting bug since it's related to what is discussed at http://article.gmane.org/gmane.comp.ipod.gtkpod/4815 and in rhythmbox bug #634140
Basically, some libgpod API to report audio formats supported by the ipod is being added, but I'd need to know if the suggested format is appropriate for banshee or not.
Comment 13 Ryan Armstrong 2011-01-02 13:50:41 UTC
Okay, I tried it again with the media-player-info package and the problem went away. I'll leave it to you guys to decide to either make that required, or use the libgpod API as suggested by Christophe.
Comment 14 gnome 2011-01-02 18:16:47 UTC
Created attachment 177363 [details] [review]
Adds m4a to the acceptable mime types for Apple devices
Comment 15 gnome 2011-01-02 18:18:05 UTC
Christophe, I like the idea of using libgpod to determine formats the device understands. In the meantime, we could use something like my proposed patch to enable Apple devices to use m4a files without transcoding.
Comment 16 gnome 2011-01-02 18:24:47 UTC
Created attachment 177364 [details] [review]
Adds m4a to the acceptable mime types for Apple devices (without trace)

Removed the trace the previous patch had.
Comment 17 Alex Launi 2011-01-02 20:16:35 UTC
Really we should just add a dep on media-player-info. The Ubuntu package should have already been updated.
Comment 18 Fabien Cortina 2011-01-10 01:31:39 UTC
For Apple devices you would also need to add mp4 and m4v to the acceptable mime types.
Right now banshee just fails silently to copy those files.

Would the media-player-info also fix this bug?
Comment 19 gnome 2011-01-10 01:42:13 UTC
I installed the media-player-info from my distro's repositories, but it still refused to copy the m4a file. Contents of the relevant media-player-info file:

$ cat /usr/share/media-player-info/apple_0x1261_0x1262.mpi 
[Device]
Product=iPods with video
Vendor=Apple
DeviceMatch=usb:05ac:1261;usb:05ac:1262
AccessProtocol=storage;ipod

[Media]
OutputFormats=audio/mpeg;audio/aac;audio/x-wav;audio/x-aiff;video/mp4
Comment 21 bluesh3ll 2011-03-06 02:54:22 UTC
Just wondering if there is a work-around for this while we're waiting for a bugfix?

Just to confirm, I've got the issue with Ipod-Touch. Confirmed I have the latest media-player-info package installed. I'm on Fedora 14 running Banshee 1.8.1, (installed via official repo).
Comment 22 Gabriel Burt 2011-04-08 17:52:45 UTC
Comment on attachment 177364 [details] [review]
Adds m4a to the acceptable mime types for Apple devices (without trace)

I committed a similar workaround, also ensuring mp3 is supported.  Pushed to master and stable-2.0 branches.