Some audio files have wrong icons

Bug #41285 reported by seguso
12
Affects Status Importance Assigned to Milestone
nautilus (Ubuntu)
Invalid
Medium
Unassigned
shared-mime-info (Ubuntu)
Fix Released
Low
Sebastian Dröge

Bug Description

Dapper:

Nautilus correctly represents mp3, wav, ogg, wma and flac files with a "musical note" icon, but it does not recognize mpc (musepack), wv (wavepack), and ape (monkey's audio). These types are shown with a generic icon.

Consider that any classical music listener will have an archive that is mainly composed of ape files ( plus some mpc he can't convert without either loosing quality or increasing the size ).

Revision history for this message
Bruce Cowan (bruce89-deactivatedaccount) wrote :

Monkey's Audio is not open source, and most people are most likely to use Vorbis and FLAC anyway. Mind you fixing this would be easy. Musepack was recently just added to the mime database.

Changed in nautilus:
status: Unconfirmed → Rejected
Revision history for this message
Daniel Holbach (dholbach) wrote :

Thanks for the bug report. Can you identify the icons that are shown (instead of the musical note) on http://daniel.holba.ch/ubuntu/ic/ ? With this information we could make icon-naming-utils drop appropriate symlinks.

Changed in tango-icon-theme:
assignee: nobody → dholbach
status: Unconfirmed → Needs Info
Revision history for this message
seguso (maurizio-colucci) wrote :

Bruce, I believe there is an open source program which can encode and decode monkey's audio format in linux. I've compiled it myself and I am using it daily. The program is called "mac".

Secondly, what are you implying? That APE files should not be recognized by nautilus? I don't see why. mp3 and wma are proprietary but nautilus recognizes them.

Revision history for this message
seguso (maurizio-colucci) wrote :

Daniel, the page is slow but there is no need to identify it. It is the generic fallback icon: the piece of paper with a foot inside. It is not part of tangerine (which I am using), but it is one of the old muddy style icons.
And this refers to mpc, ape and wv.

Revision history for this message
Daniel Holbach (dholbach) wrote :

Hrm... I thought the bug to be in a different way. I thought there *were* gnome-icon-theme icons, which properly displayed whatever mimetype those are and they were not linked nicely in the icon naming spec. It seems that there is no icon naming for those yet and without the appropriate mime type this won't happen either.

Revision history for this message
Bruce Cowan (bruce89-deactivatedaccount) wrote :

I was just being stupid and I am very sorry. I was just saying that most people don't use these formats, as opposed to WMA and MP3, both rubbish but widely used.

Revision history for this message
Sebastian Dröge (slomo) wrote :

Hm, musepack files get the note-icon here as all audio/* mimetypes should get afaik.
So there's probably only a mimetype missing for APE (and APE has opensource decoders, encoders and even a gstreamer plugin btw... but FLAC is better supported anyway)

Revision history for this message
Sebastian Dröge (slomo) wrote :

And for wavpack a mimetype is missing too...
so this should most probably assigned to shared-mime-info

Revision history for this message
Bruce Cowan (bruce89-deactivatedaccount) wrote :

I had it under shared-mime-info earlier, it is now again.

Revision history for this message
Sebastian Dröge (slomo) wrote :

Ok, I'll get the mimetypes for wavpack and APE into shared-mime-info, mpc is already there since some weeks

Changed in shared-mime-info:
assignee: dholbach → slomo
status: Needs Info → Confirmed
Revision history for this message
Sebastian Dröge (slomo) wrote :

should be fixed with 0.17-0ubuntu9

Changed in shared-mime-info:
status: Confirmed → Fix Released
Revision history for this message
seguso (maurizio-colucci) wrote :

Bad news... I installed 0.17-0ubuntu9 and rebooted, but nothing changed, i.e. Nautilus still shows the old "muddy foot" icon for APE, WVv and MPC. I tried tangerine and human icons to no avail.

( I seem to understand that this fix is only for ape and wv, and that mpc should have been fixed a few weeks ago, but this is not the case on my box. mpc has never looked ok. )

Revision history for this message
Sebastian Dröge (slomo) wrote :

Wonderfull... what is the output of gnomevfs-info on the ape, mpc, wavpack files?

(nautilus shows the correct icon for me on all 3 formats btw)

Changed in shared-mime-info:
status: Fix Released → Needs Info
Revision history for this message
seguso (maurizio-colucci) wrote :

Here is the requested output.

APE
===

m@dhcppc0:...umil Gregor/cd1 $ gnomevfs-info 01-ActoI.ape
Name : 01-ActoI.ape
Type : Regular
MIME type : application/x-extension-ape
Default app : XMMS-usercustom-2.desktop
Size : 25896752
Blocks : 50648
I/O block size : 4096
Local : YES
SUID : NO
SGID : NO
Sticky : NO
Permissions : 1600775
Link count : 1
UID : 1000
GID : 1000
Access time : Sun Feb 19 02:02:30 2006
Modification time : Tue Feb 14 18:49:24 2006
Change time : Sat Feb 18 10:25:05 2006
Device # : 774
Inode # : 6373442
Readable : YES
Writable : YES
Executable : YES

WV
==

m@dhcppc0:...c_Cue_Caratulas $ gnomevfs-info split-track001.flac.wv
Name : split-track001.flac.wv
Type : Regular
MIME type : application/x-extension-wv
Default app : XMMS-usercustom-1-usercustom-2.desktop
Size : 49561714
Blocks : 96912
I/O block size : 4096
Local : YES
SUID : NO
SGID : NO
Sticky : NO
Permissions : 600644
Link count : 1
UID : 1000
GID : 1000
Access time : Tue Apr 25 15:22:08 2006
Modification time : Tue Apr 25 15:23:10 2006
Change time : Tue Apr 25 15:23:10 2006
Device # : 774
Inode # : 9011276
Readable : YES
Writable : YES
Executable : NO

MPC
===

m@dhcppc0:...ger kubelik/cd1 $ gnomevfs-info 01-Track01.mpc
Name : 01-Track01.mpc
Type : Regular
MIME type : application/x-extension-mpc
Default app : gnome-terminal-usercreated-4.desktop
Size : 17122824
Blocks : 33496
I/O block size : 4096
Local : YES
SUID : NO
SGID : NO
Sticky : NO
Permissions : 1600775
Link count : 1
UID : 1000
GID : 1000
Access time : Tue Apr 25 14:18:47 2006
Modification time : Thu Oct 27 02:17:10 2005
Change time : Thu Feb 9 18:30:34 2006
Device # : 774
Inode # : 49634
Readable : YES
Writable : YES
Executable : YES

Revision history for this message
Sebastian Dröge (slomo) wrote :

Thanks... so it doesn't get the correct mimetypes for some reason.

Could you please call
grep -R "x-extension" ~/.local/share/mime
and paste the output here?
I have the bad feeling that you already assigned a mimetype to files with those extensions for your user which then overrides the system settings.

Revision history for this message
seguso (maurizio-colucci) wrote :

I wouldn't know how to assign a mimetype. Here is the output:

m@dhcppc0:...-of-space/other $ grep -R "x-extension" ~/.local/share/mime
/home/m/.local/share/mime/packages/Override.xml: <mime-type type="application/x-extension-cmg"><comment>Compressed Application Image</comment><glob pattern="*.cmg"/></mime-type>
/home/m/.local/share/mime/packages/Override.xml:<mime-type type="application/x-extension-mpc"><comment>mpc document</comment><glob pattern="*.mpc"/></mime-type><mime-type type="application/x-extension-ape"><comment>ape document</comment><glob pattern="*.ape"/></mime-type><mime-type type="application/x-extension-m4v"><comment>Documento m4v</comment><glob pattern="*.m4v"/></mime-type><mime-type type="application/x-extension-met"><comment>met document</comment><glob pattern="*.met"/></mime-type><mime-type type="application/x-extension-wv"><comment>wv document</comment><glob pattern="*.wv"/></mime-type></mime-info>
/home/m/.local/share/mime/application/x-extension-cmg.xml:<mime-type xmlns="http://www.freedesktop.org/standards/shared-mime-info" type="application/x-extension-cmg">
/home/m/.local/share/mime/application/x-extension-mpc.xml:<mime-type xmlns="http://www.freedesktop.org/standards/shared-mime-info" type="application/x-extension-mpc">
/home/m/.local/share/mime/application/x-extension-ape.xml:<mime-type xmlns="http://www.freedesktop.org/standards/shared-mime-info" type="application/x-extension-ape">
/home/m/.local/share/mime/application/x-extension-m4v.xml:<mime-type xmlns="http://www.freedesktop.org/standards/shared-mime-info" type="application/x-extension-m4v">
/home/m/.local/share/mime/application/x-extension-met.xml:<mime-type xmlns="http://www.freedesktop.org/standards/shared-mime-info" type="application/x-extension-met">
/home/m/.local/share/mime/application/x-extension-wv.xml:<mime-type xmlns="http://www.freedesktop.org/standards/shared-mime-info" type="application/x-extension-wv">
/home/m/.local/share/mime/globs:application/x-extension-cmg:*.cmg
/home/m/.local/share/mime/globs:application/x-extension-wv:*.wv
/home/m/.local/share/mime/globs:application/x-extension-met:*.met
/home/m/.local/share/mime/globs:application/x-extension-m4v:*.m4v
/home/m/.local/share/mime/globs:application/x-extension-ape:*.ape
/home/m/.local/share/mime/globs:application/x-extension-mpc:*.mpc
Binary file /home/m/.local/share/mime/mime.cache matches

Revision history for this message
Sebastian Dröge (slomo) wrote :

You assign those mimetypes by setting an default application for a extension. Ok, so this is a problem with your user settings... there's nothing we can do about user settings unfortunately so I'll close this bug as fixed again.
As a workaround you could remove the stuff from ~/.local/share/mime

Changed in shared-mime-info:
status: Needs Info → Fix Released
Revision history for this message
seguso (maurizio-colucci) wrote :

It works now. You rock! ^_^

BTW, for something like that to happen I suspect there is some design flaw somewhere, but I am not sure where ...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.