Package: mopidy
Version: 3.4.2-3
Severity: normal
Tags: patch
X-Debbugs-Cc: [email protected]

Dear Maintainer,

Attempting to play a radio stream causes the following error:

mopidy[2296]: ERROR    [Core-6 (_actor_loop)] mopidy.core.library StreamBackend 
backend caused an exception.
mopidy[2296]: Traceback (most recent call last):
mopidy[2296]:   File "/usr/lib/python3/dist-packages/mopidy/core/library.py", 
line 17, in _backend_error_handling
mopidy[2296]:     yield
mopidy[2296]:   File "/usr/lib/python3/dist-packages/mopidy/core/library.py", 
line 230, in lookup
mopidy[2296]:     result = future.get()
mopidy[2296]:   File "/usr/lib/python3/dist-packages/pykka/_threading.py", line 
68, in get
mopidy[2296]:     raise exc_value
mopidy[2296]:   File "/usr/lib/python3/dist-packages/pykka/_actor.py", line 
242, in _actor_loop_running
mopidy[2296]:     response = self._handle_receive(envelope.message)
mopidy[2296]:   File "/usr/lib/python3/dist-packages/pykka/_actor.py", line 
353, in _handle_receive
mopidy[2296]:     return callee(*message.args, **message.kwargs)
mopidy[2296]:   File "/usr/lib/python3/dist-packages/mopidy/stream/actor.py", 
line 66, in lookup
mopidy[2296]:     _, scan_result = _unwrap_stream(
mopidy[2296]:                      ~~~~~~~~~~~~~~^
mopidy[2296]:         uri,
mopidy[2296]:         ^^^^
mopidy[2296]:     ...<2 lines>...
mopidy[2296]:         requests_session=self.backend._session,
mopidy[2296]:         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
mopidy[2296]:     )
mopidy[2296]:     ^
mopidy[2296]:   File "/usr/lib/python3/dist-packages/mopidy/stream/actor.py", 
line 138, in _unwrap_stream
mopidy[2296]:     scan_result = scanner.scan(uri, timeout=scan_timeout)
mopidy[2296]:   File "/usr/lib/python3/dist-packages/mopidy/audio/scan.py", 
line 70, in scan
mopidy[2296]:     tags, mime, have_audio, duration = _process(pipeline, timeout)
mopidy[2296]:                                        ~~~~~~~~^^^^^^^^^^^^^^^^^^^
mopidy[2296]:   File "/usr/lib/python3/dist-packages/mopidy/audio/scan.py", 
line 224, in _process
mopidy[2296]:     mime = msg.get_structure().get_value("caps").get_name()
mopidy[2296]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
mopidy[2296]: AttributeError: 'StructureWrapper' object has no attribute 
'get_name'

This seems to be fixed upstream: https://github.com/mopidy/mopidy/pull/2205

-- System Information:
Debian Release: 13.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.43+deb13-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages mopidy depends on:
ii  adduser                      3.152
ii  debconf [debconf-2.0]        1.5.91
ii  gir1.2-gst-plugins-base-1.0  1.26.2-1
ii  gir1.2-gstreamer-1.0         1.26.2-2
ii  gstreamer1.0-plugins-good    1.26.2-1
ii  gstreamer1.0-plugins-ugly    1.26.3-4
ii  python3                      3.13.5-1
ii  python3-gst-1.0              1.26.2-1
ii  python3-pkg-resources        78.1.1-0.1
ii  python3-pykka                4.1.1-3
ii  python3-requests             2.32.3+dfsg-5
ii  python3-tornado              6.4.2-3

Versions of packages mopidy recommends:
ii  gstreamer1.0-alsa        1.26.2-1
ii  gstreamer1.0-pulseaudio  1.26.2-1
ii  gstreamer1.0-tools       1.26.2-2

Versions of packages mopidy suggests:
pn  mopidy-doc  <none>

-- Configuration Files:
/etc/mopidy/mopidy.conf changed [not included]

-- debconf information excluded

Reply via email to