Package: quodlibet-plugins
Version: 1:2.3-1
Severity: wishlist
Tags: patch

I don't know exactly what the rules here are, but I feel like the
import/export plugin should export rating even though it's "internal"
metadata.  My python abilities are non-existant, but changing this block:

            for key in keys:
                if key.startswith('~'): continue
                for val in song.list(key):
                    print>>out, '%s=%s' % (key, val.encode('utf-8'))
            print>>out

to this:

            for key in keys:
                if key.startswith('~#rating'): print>>out, 'rating=%f' % 
(song[key])
                if key.startswith('~'): continue
                for val in song.list(key):
                    print>>out, '%s=%s' % (key, val.encode('utf-8'))
            print>>out

did the trick for me at least...something more elegant can probably be
done by someone more skilled in the art.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages quodlibet-plugins depends on:
ii  exfalso                       2.3-1      audio tag editor for GTK+
ii  python                        2.6.7-2    interactive high-level object-orie
ii  python-support                1.0.14     automated rebuilding support for P

Versions of packages quodlibet-plugins recommends:
ii  brasero                      2.30.3-3    CD/DVD burning application for GNO
ii  notification-daemon          0.7.1-3     daemon to displays passive pop-up 
ii  python                       2.6.7-2     interactive high-level object-orie
ii  python-cddb                  1.4-5.1+b3  Python interface to CD-IDs and Fre
ii  python-dbus                  0.84.0-2    simple interprocess messaging syst
ii  python-eggtrayicon           2.25.3-10.1 Python module to display icons in 
ii  python-gnome2                2.28.1-3    Python bindings for the GNOME desk
ii  python-gtk2                  2.24.0-2    Python bindings for the GTK+ widge
ii  python-indicate              0.5.0-3     Python bindings for libindicate
ii  python-musicbrainz2          0.7.3-1     interface to the MusicBrainz XML w
ii  python-simplejson            2.1.6-1     simple, fast, extensible JSON enco

Versions of packages quodlibet-plugins suggests:
pn  lastfmsubmitd                 <none>     (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to