[vlc-devel] rss filter: behaves strange

Igor 'Lo' (И.L.) bombsiteunrested at gmail.com
Thu Sep 2 00:06:41 CEST 2010


Hi all, while trying to hack vlc-1.1.4's rss plugin (just curious to
display some IM events by pushing them via Telepathy), had detected
it's strange behaviour.

> vlc ~/Media/mx.avi --sub-filter=rss --rss-urls="http:/127.0.0.1/rss.xml" -v 2

VLC media player 1.1.4 The Luggage (revision exported)
Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS")
Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE")
[0x605120] main libvlc: Running vlc with the default interface. Use
'cvlc' to use vlc without interface.
Blocked: call to setlocale(6, "")
Blocked: call to sigaction(17, 0x7f30163b6b50, 0x7f30163b6ab0)
Blocked: call to setlocale(6, "")
(23609) KIconCache::Private::themeDirsChanged: Theme directory has been modified
Warning: call to rand()
Warning: call to rand()
Warning: call to rand()
[0x7f30100030a0] qt4 interface error: Unable to load extensions module
[0x8a9260] ps demux warning: this does not look like an MPEG PS
stream, continuing anyway
[0x8a9260] ps demux warning: garbage at input, trying to resync...
[0x8a9260] ps demux warning: found sync code
[0x8a9260] ps demux warning: garbage at input, trying to resync...
[0x8a9260] ps demux warning: found sync code
[0x8994b0] avcodec decoder warning: Physical channel configuration not
set : guessing
[0x7f3008264cf0] filesystem access error: cannot open file
http:/127.0.0.1/rss.xml (No such file or directory)
Warning: call to signal(13, 0x1)
Warning: call to signal(13, 0x1)
Blocked: call to setenv("ORBIT_SOCKETDIR", "/tmp/orbit-lead", 1)
Warning: call to srand(1282801106)
[0x7f3008233e20] main video output warning:
vlc_object_find_name(postproc) is not safe!
[0x7f3008264cf0] access_gnomevfs access warning: cannot get file info
for uri http:/127.0.0.1/rss.xml (Invalid URI)
[0x15c2720] main filter error: no suitable access module for
`http:/127.0.0.1/rss.xml'
[0x15c2720] rss filter error: Failed to open http:/127.0.0.1/rss.xml for reading
[0x15c2720] rss filter error: Unable to fetch the feeds
^C[0x7f30100011b0] signals interface error: Caught Interrupt signal, exiting...

That stayed for manually built tree, and for Gentoo's patched 1.1.4
too. No HTTP_PROXY is involved.
Brainless testing:

	msg_Err(p_filter, "Trying to eat from web");
	p_stream = NULL;
	p_stream = stream_UrlNew( p_filter, "http://127.0.0.1/index.html");
	if (!p_stream) {
	 msg_Err( p_filter, "I am dumb, I cant get index page. Debug me"); //
not displayed
	 }
	msg_Err(p_filter, p_stream);
	p_stream = NULL;

        p_stream = stream_UrlNew( p_filter, p_feed->psz_url );
        if( !p_stream )
        {
            msg_Err( p_filter, "Failed to open %s for reading",
p_feed->psz_url ); // displayed
            p_xml_reader = NULL;
            goto error;
        }


Overriding 'dumb' msg_Err with
 else { msg_Err(p_filter, "I am not so dumb.");}
..I see this.
When the plugin is enabled via preferences dialog, this line (and any
other kind of 'rss filter' message) aren't appearing at all.

What's wrong with my setup?
VLC seems not being able to read XML stream. But what may be the
reason? Some missing dependency in stream.h?

Cheers,
Di.



More information about the vlc-devel mailing list