Package: quodlibet
Version: 0.24-2
Severity: normal

Hi, since some time (can't say how much, but it does work in Etch),
InternetRadio doesn't work anymore in quodlibet.

InternetRadio needs gstreamer gnomevfs bindings to be able to download
streams. The test is made at the end of browsers/iradio.py:

import gst
if gst.element_make_from_uri(gst.URI_SRC, "http://";, ""):
    browsers = [InternetRadio]
else: browsers = []

AudioFeeds needs those bindings too, and the test is made (before,
because Audio is loaded before Internet) at the end of
browsers/audiofeeds.py:

try:
    import feedparser
    import gst
    if not gst.element_make_from_uri(gst.URI_SRC, "http://";, ""):
        raise ImportError
except ImportError:
    browsers = []
else:
    browsers = [AudioFeeds]

This setup works correctly in Etch, but doesn't in current sid. I've reported 
the bug against quodlibet because this is where the problem occurrs, but I 
don't really know if the bug lies there.
It seems that the real problem is that you can't call twice 
gst.element_make_from_uri(): the second one returns None, so the test fails. 
And the second test is the InternetRadio one.

I've made a little python script to show this, attached to this BR.
Maybe it's a bug in gstreamer-gnomevfs (or in python-gst), or maybe it's
a real change in the library, and quodlibet has to change those tests.

Hope that helps,

--
Yves-Alexis

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.20-1-powerpc
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages quodlibet depends on:
ii  exfalso                       0.24-2     audio tag editor for GTK+
ii  gstreamer0.10-plugins-base    0.10.12-2  GStreamer plugins from the "base" 
ii  gstreamer0.10-plugins-good    0.10.5-5   GStreamer plugins from the "good" 
ii  gstreamer0.10-plugins-ugly    0.10.5-2   GStreamer plugins from the "ugly" 
ii  python                        2.4.4-2    An interactive high-level object-o
ii  python-central                0.5.13-0.1 register and build utility for Pyt
ii  python-gst0.10                0.10.7-1   generic media-playing framework (P

Versions of packages quodlibet recommends:
ii  gstreamer0.10-alsa            0.10.12-2  GStreamer plugin for ALSA
ii  gstreamer0.10-gnomevfs        0.10.12-2  GStreamer plugin for GnomeVFS
ii  python-feedparser             4.1-7      Universal Feed Parser for Python
ii  quodlibet-ext                 0.24-2     extensions for the Quod Libet audi

-- no debconf information
#! /usr/bin/python
import gst
if gst.element_make_from_uri(gst.URI_SRC, "http://";, ""):
	print "First call successful"
else:
	print "First call failed"

if gst.element_make_from_uri(gst.URI_SRC, "http:///";, ""):
	print "Second call successful"
else:
	print "Second call failed"

Reply via email to