Package: quodlibet
Version: 2.4-1
Severity: normal
Tags: patch

Quod Libet is not recognized as a music player by GNOME3 desktop environment.

Steps:
1. Install GNOME3 and QuodLibet.
2. Open gnome-control-center.
3. Click "Details" icon in "System" section.
4. Select "Default Applications" item from the menu on the left.
5. Select drop menu next to "Music" label.

Expected result:
QuodLibet is listed in that menu.

Actual result:
QuodLibet is not listed in that menu.

A solution:
Add MimeType field to Quod Libet's desktop file. GNOME3 apparently looks for
this field.
I have attached a patch, please have a look. I hope someone who knows MIME
types will check if they're correct.
I took those file types from README of QuodLibet and checked /etc/mime.types if
there's corresponding entry,
and if not, I just added audio/x-<extension>.

Regards,
Juhani Numminen



-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.7.0-rc6+ (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=fi_FI.utf8, LC_CTYPE=fi_FI.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages quodlibet depends on:
ii  exfalso                     2.4-1
ii  gstreamer0.10-plugins-base  0.10.36-1
ii  gstreamer0.10-plugins-good  0.10.31-3+nmu1
ii  gstreamer0.10-plugins-ugly  0.10.19-2+b2
ii  python                      2.7.3~rc2-1
ii  python-gst0.10              0.10.22-3

Versions of packages quodlibet recommends:
ii  gstreamer0.10-alsa [gstreamer0.10-audiosink]          0.10.36-1
ii  gstreamer0.10-plugins-bad [gstreamer0.10-audiosink]   0.10.23-7
ii  gstreamer0.10-plugins-good [gstreamer0.10-audiosink]  0.10.31-3+nmu1
ii  gstreamer0.10-pulseaudio [gstreamer0.10-audiosink]    0.10.31-3+nmu1
ii  media-player-info                                     17-1
ii  python-dbus                                           1.1.1-1
ii  python-feedparser                                     5.1.2-1
ii  python-gpod                                           0.8.2-7
ii  python-mmkeys                                         1.6.2.1-5
ii  udisks                                                1.0.4-7

Versions of packages quodlibet suggests:
ii  gstreamer0.10-gconf        0.10.31-3+nmu1
ii  gstreamer0.10-plugins-bad  0.10.23-7
ii  quodlibet-plugins          1:2.4-1
Description: Adds a list of mimetypes openable by QuodLibet to its desktop file.
Author: Juhani Numminen <juhaninummin...@gmail.com>
--- a/quodlibet.desktop.in
+++ b/quodlibet.desktop.in
@@ -7,3 +7,4 @@
 Type=Application
 Icon=quodlibet
 Categories=AudioVideo;Audio;Player;GTK;
+MimeType=audio/flac;audio/mpeg;audio/ogg;audio/x-it;audio/x-mod;audio/x-ms-wma;audio/x-musepack;audio/x-spc;audio/x-tta;audio/x-wav;audio/x-wavpack;audio/x-xm;

Reply via email to