[vlc] Only one VLC instance

Rafaël Carré funman at videolan.org
Mon Oct 15 16:24:05 CEST 2007


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

Dotan Cohen a écrit :
> I just introduced the stepmother to Linux, and she is rather enjoying
> Fedora. However, she cannot program herself to close any open instance
> of vlc before clicking on another file.

:/

> I'm no good at bash, and I
> need this working for her _today_, so I'm kindly asking if anyone has
> a wrapper script for vlc that checks if there is a running instance,
> and if so closes it before opening a new instance. Basically, she
> needs the appearance that the new file is 'replacing' the old file in
> the open program. Sorry for the bother, and thanks in advance.

This feature will be in the next release.

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.

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

iD8DBQFHE3gFYWCeGMCv8Q8RAsD6AKCjwvnt6ajFJOCIMfLO6fFRO4TavQCeO88g
SIW/OuCsiAq0gFxTt+txKQ4=
=3e16
-----END PGP SIGNATURE-----



More information about the vlc mailing list