Your message dated Sun, 2 Jun 2013 13:14:28 +0200
with message-id 
<CAE6_+Uc25pD4HTyeZbiHJ=mJa=k6cvoifylxt-0r_eda1zy...@mail.gmail.com>
and subject line 
has caused the Debian Bug report #422120,
regarding InternetRadio browser doesn't work anymore in quodlibet
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
422120: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=422120
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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"

--- End Message ---
--- Begin Message ---
Everything streaming related seems to be handled by
gstreamer-plugins-good nowadays.

--- End Message ---

Reply via email to