[Python-apps-team] Bug#901828: beets: Does not support recent MPD protocol versions

Carl Suster carl at contraflo.ws
Tue Jun 19 06:12:48 BST 2018

Package: beets
Version: 1.4.7-1
Severity: normal
Tags: upstream
Forwarded: https://github.com/beetbox/beets/issues/800

I use beet's mpd server with Sonata as a client. The recent update to Sonata in
unstable means that it has started using the 'consume' API from the mpd
protocol which is from a newer version of the protocol than is supported by
beets. It means that beets can no longer be used with Sonata, which prints
errors like this indicating that the consume field of status is missing:

    Traceback (most recent call last):
      File "/usr/lib/python3/dist-packages/sonata/main.py", line 985, in update_status
        self.consumemenu.set_active(self.status['consume'] == '1')
    KeyError: 'consume'

The problem is on beets' side though; we just got lucky before that the old
version of sonata wasn't using newer MPD protocol APIs.

There is an upstream bug about improving the MPD support, but not much activity
on it. I just wanted to open this bug to document the incompatibility between
the current debian packages until the situation is supported.

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.16.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages beets depends on:
ii  libjs-backbone          1.3.3~dfsg-3
ii  libjs-jquery            3.2.1-1
ii  libjs-underscore        1.8.3~dfsg-1
ii  python3                 3.6.5-3
ii  python3-jellyfish       0.5.6-3+b1
ii  python3-munkres         1.0.12+ds-1
ii  python3-musicbrainzngs  0.6-3
ii  python3-mutagen         1.40.0-1
ii  python3-pkg-resources   39.2.0-1
ii  python3-six             1.11.0-2
ii  python3-unidecode       1.0.22-1
ii  python3-yaml            3.12-1+b1

beets recommends no packages.

Versions of packages beets suggests:
pn  beets-doc                  <none>
pn  libav-tools                <none>
pn  mp3gain                    <none>
ii  python3-acoustid           1.1.2-2
ii  python3-bs4                4.6.0-1
ii  python3-dbus               1.2.8-2
pn  python3-flask              <none>
pn  python3-gst-1.0            <none>
ii  python3-mpd                1.0.0-2
ii  python3-pylast             2.2.0-1
pn  python3-rarfile            <none>
ii  python3-requests           2.18.4-2
pn  python3-requests-oauthlib  <none>
ii  python3-xdg                0.25-4

-- no debconf information

More information about the Python-apps-team mailing list