VLC problem with autoplay

Andrew Farris flyindragon1 at aol.com
Wed Sep 2 01:53:52 UTC 2009


On Tue, 2009-09-01 at 09:42 +0100, Colin Law wrote:
[snip]
> 
> It certainly did, I have disabled the auto play, many thanks.  Strange
> that google did not lead me there.  To me it is not the obvious place
> to look for autoplay, it seems more to do with system setup than the
> file browser, though I realise that under the hood it may be nautilus
> that is doing the job.

Yeah... It might be nice at some point to have this re-implemented under
'preferred applications' or something... as it seems like it should
logically be elsewhere, though I think you're right about it being
Nautilus under the hood that handles the auto-runs... though the user
shouldn't necessarily have to know that I think?

I also looked at my fresh Jaunty laptop install, and it appears that the
"System > Preferences > Removable drives and Media" menu option is gone
now. shame...that program was actually useful to me.

> This has now allowed me to get more information on the fundamental
> problem of VLC hanging on startup.  If I boot up and insert an audio
> CD I now get the dialog asking me what I want to do.  I select VLC and
> it plays happily.  I close VLC and remove the CD (the VLC process
> disappears from system monitor).  I re-insert the CD, get the dialog
> asking me what to do, select VLC, a VLC process starts up but then
> hangs with no UI.
> 
> Any ideas anyone?
> 
> Presumably somewhere the command to run when I select VLC from that
> dialog is defined, I looked in gconf but could not find it.  I thought
> if made it run in a terminal I might get some info.
> 
> Colin

You could always try making a 'custom command' that would redirect all
the output from VLC to a file that you can read later. To accomplish
this, go (from Nautilus) to the "Edit > Preferences | Media" tab, then
for the audio CD, click the drop-down, and select "Open with other
application..." then on the bottom there, use the "Custom Command" and
enter this:
    vlc &> vlc_output.txt

That will redirect stdout and stderr to a text file in your home
directory for you to read. NOTE: This will empty the file if it already
exists, and the bash redirector to redirect stderr and stdout + append
doesn't work for some reason (i.e. using &>>), so you'll have to
move/rename the file between launches of VLC if you want to keep it.

I'd say, after you remove the cd and VLC closes the first time, save
that log-file elsewhere, then compare to the one you get when the UI
doesn't appear, so check for discrepancies. 

Just for reference, when I ran this on my computer, this was my output:

        VLC media player 0.9.9a Grishenko
        [00000001] main libvlc debug: VLC media player - version 0.9.9a
        Grishenko - (c) 1996-2009 the VideoLAN team
        [00000001] main libvlc debug: libvlc was configured
        with ./configure  '--build=i486-linux-gnu'
        '--enable-maintainer-mode' '--enable-release' '--prefix=/usr'
        '--enable-libtool' '--enable-fast-install'
        '--with-binary-version=2ubuntu1' '--disable-update-check'
        '--disable-gnome' '--disable-gtk' '--disable-familiar'
        '--disable-fb' '--enable-ggi' '--enable-sdl' '--enable-esd'
        '--enable-mad' '--enable-jack' '--enable-pulse' '--enable-lirc'
        '--enable-a52' '--enable-aa' '--enable-dvbpsi'
        '--enable-mozilla' '--with-mozilla-pkg=libxul-plugin'
        '--disable-kde' '--enable-mp4' '--enable-dvb'
        '--disable-satellite' '--enable-ogg' '--enable-vorbis'
        '--enable-shout' '--enable-qt4' '--disable-slp' '--enable-flac'
        '--disable-skins' '--disable-basic-skins' '--enable-skins2'
        '--enable-freetype' '--enable-mkv' '--enable-speex'
        '--enable-caca' '--enable-live555' '--enable-libmpeg2'
        '--enable-fribidi' '--enable-cdio' '--enable-mod'
        '--enable-theora' '--enable-modplug' '--enable-dvdnav'
        '--enable-gnutls' '--enable-ffmpeg' '--enable-ncurses'
        '--enable-smb' '--disable-gnomevfs' '--enable-bonjour'
        '--enable-mpc' '--enable-vcd' '--enable-vcdx' '--enable-notify'
        '--enable-twolame' '--enable-faad' '--disable-zvbi'
        '--enable-telx' '--enable-mediacontrol-bindings'
        '--disable-atmo' '--enable-taglib' '--enable-libass'
        '--enable-libdca' '--enable-realrtsp' '--disable-dv'
        '--enable-x264' '--enable-alsa' '--enable-v4l' '--enable-v4l2'
        '--enable-pvr' '--enable-svgalib' '--enable-dvd'
        '--without-dvdcss' 'build_alias=i486-linux-gnu' 'CFLAGS=-g -O2'
        'LDFLAGS=-Wl,--as-needed' 'CPPFLAGS=' 'CXXFLAGS=-g -O2'
        [00000001] main libvlc debug: translation test: code is "C"
        [00000001] main libvlc: Running vlc with the default interface.
        Use 'cvlc' to use vlc without interface.
        
        ** (<unknown>:16612): CRITICAL **: giop_thread_request_push:
        assertion `tdata != NULL' failed
        
Hope that helps :)


-- 
Andrew
_____________________________
Registered Linux User: 473690
Registered Ubuntu User: 22747





More information about the ubuntu-users mailing list