[vlc] Only one VLC instance

Rafaël Carré funman at videolan.org
Mon Oct 15 21:30:34 CEST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dotan Cohen a écrit :
> On 15/10/2007, Rafaël Carré <funman at videolan.org> wrote:
>> This feature will be in the next release.
> 
> Excellent.
> 
>> For now, I suppose you could use --extraintf rc --rc-unix /tmp/vlc_socket
>> and check for the existence of the socket, then adding the file through
>> the socket before exiting if it exists.
> 
> Well, she clicks think in Konqueror, she doesn't even know what the
> CLI is. I need a wrapper script for /usr/bin/vlc that will kill
> whatever vlc instance is running, and then open a new one with the
> parameters sent to it.

Of course :)

You can add those settings in ~/.vlc/vlcrc, and replace /usr/bin/vlc by
your wrapper, which would call /usr/bin/vlc.orig

That way, you'll keep the running instance, and files will just enqueue
in the playlist

- --
Rafaël Carré
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHE7/ZYWCeGMCv8Q8RAngeAKCfELK6f7Mqbo3dhBr9h2fXU2LgVACeKQ9k
z3zMyNA4vtrBdvF3Pa9HsT0=
=Ydi3
-----END PGP SIGNATURE-----



More information about the vlc mailing list