[Pkg-audacious-maintainers] Bug#514426: audacious: Does not include track number in DBUS-exported metadata
Chris Share
debian at caesium.me.uk
Sat Feb 7 14:07:27 UTC 2009
Package: audacious
Version: 1.5.1-4
Severity: normal
When calling the "GetMetadata" method on the "/Player" object of the "org.mpris.audacious" name on the DBUS session bus, a dictionary of information about the current track is returned. However, while this includes the name of the album the track is from, it does not include the number of the track within that album.
This can be fixed by the following patch to src/audacious/dbus.c, function mpris_metadata_from_tuple:
237a238,242
> value = tuple_value_to_gvalue(tuple, "track-number");
> if (value != NULL) {
> g_hash_table_insert(md, "tracknumber", value);
> }
>
This returns the field name as per the specification at http://wiki.xmms2.xmms.se/wiki/MPRIS_Metadata
-- System Information:
Debian Release: 5.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.25-galadriel3 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages audacious depends on:
ii audacious-plugins 1.5.1-2 Base plugins for audacious
ii dbus 1.2.1-5 simple interprocess messaging syst
ii gtk2-engines-pixbuf 2.12.11-4 Pixbuf-based theme for GTK+ 2.x
ii libatk1.0-0 1.22.0-1 The ATK accessibility toolkit
ii libaudclient1 1.5.1-4 audacious dbus remote control libr
ii libaudid3tag1 1.5.1-4 audacious id3 tag manipulation lib
ii libc6 2.7-18 GNU C Library: Shared libraries
ii libcairo2 1.6.4-7 The Cairo 2D vector graphics libra
ii libdbus-1-3 1.2.1-5 simple interprocess messaging syst
ii libdbus-glib-1-2 0.76-1 simple interprocess messaging syst
ii libglib2.0-0 2.16.6-1 The GLib library of C routines
ii libgtk2.0-0 2.12.11-4 The GTK+ graphical user interface
ii libice6 2:1.0.4-1 X11 Inter-Client Exchange library
ii libmcs1 0.7.1-1 Abstraction library to store confi
ii libmowgli1 0.6.1-1 a high performance development fra
ii libpango1.0-0 1.20.5-3 Layout and rendering of internatio
ii libsamplerate0 0.1.4-1 audio rate conversion library
ii libsm6 2:1.0.3-2 X11 Session Management library
hi libx11-6 2:1.1.5-2 X11 client-side library
Versions of packages audacious recommends:
ii audacious-plugins-extra 1.5.1-2 Various extra plugins for audaciou
ii unzip 5.52-12 De-archiver for .zip files
audacious suggests no packages.
-- no debconf information
More information about the Pkg-audacious-maintainers
mailing list