Page 1 of 1

Only one instance of the player.

Posted: 05 Sep 2004 15:55
by cdysthe
Hi,

I am using vlc (wxvlc) on Linux. It works fine for all media files I play. However, I usually launch streams, movies and mp3's from either a browser or filemanager. How do I make sure the wxvlc instance running is reused when I launch something new, rather than having another player windows open? I just want one open vlc player at one time that plays whatever I am throwing at it. This is the way mplayer and xmms works on my system.

I am probably missing something obvious, but TIA for help anyway.

Posted: 05 Sep 2004 16:23
by markfm
Settings -- Preferences, select Advanced options.

Look under General settings -- Miscellaneous, there's an "Allow only one instance" checkbox.

Press Save after you have checked the box.

Only one instance of the player.

Posted: 05 Sep 2004 16:42
by cdysthe
Settings -- Preferences, select Advanced options.

Look under General settings -- Miscellaneous, there's an "Allow only one instance" checkbox.

Press Save after you have checked the box.
This is weird. I do not have that setting there (or anywhere else).
I am running vlc 0.8.0-test1 (wxWindows interface) in case that matters.

Posted: 05 Sep 2004 17:20
by markfm
In Miscellaneous, it should show up directly below the "Modules search path" area.

Alternately, if you know where your vlcrc file is (no clue on Linux -- it's mentioned in the VLC FAQ somewhere), you can edit it. Do a search for the word "instance". You will want to make a line say:
one-instance=1

(there should be no "#" -- that's used as a comment symbol)

Perhaps this is Windows-specific, I'm not certain.

Posted: 05 Sep 2004 17:30
by cdysthe
In Miscellaneous, it should show up directly below the "Modules search path" area.

Alternately, if you know where your vlcrc file is (no clue on Linux -- it's mentioned in the VLC FAQ somewhere), you can edit it. Do a search for the word "instance". You will want to make a line say:
one-instance=1

(there should be no "#" -- that's used as a comment symbol)

Perhaps this is Windows-specific, I'm not certain.
Looks like it's Windows specific. I tried adding that line since I still can't find the setting for it in my client. It didn't make any difference. I guess I will poke around some more trying to find some clues. Thanks! :)

Posted: 05 Sep 2004 17:54
by markfm
At a console window, try the command vlc --longhelp --advanced.

That will list all of the possible options available to you.

(in my case, I saved the output to a text file as a reference)

Posted: 05 Sep 2004 18:38
by cdysthe
At a console window, try the command vlc --longhelp --advanced.

That will list all of the possible options available to you.

(in my case, I saved the output to a text file as a reference)
Did that. Thanks. No mention of instance at all in the output. However, I got my other question to this forum about starting with a certain eq setting answered! :) So I guess it's not possible to limit it to one instance under Linux....

Posted: 06 Sep 2004 13:22
by The DJ
it's a windows only options...

Posted: 17 Feb 2005 23:43
by sard
Is it still not possible to limit VLC to a single instance in Linux.

Posted: 21 Mar 2005 11:13
by CyD
is this still true?

Posted: 24 Mar 2005 18:04
by The DJ
Correct. Just use the playlist for adding songs, instead of doubleclicking the files in your OS.

Posted: 13 May 2006 16:41
by M. Banane
Hello there,

I'm new user of vlc and I just wanted to know if this
Is it still not possible to limit VLC to a single instance in Linux.
it's a windows only options...
is still true since 0.8.5 release ?

I've tried the '--one-instance', it still doesn't work for me, i've also manage to do something with 'http interface+playlist' but wondering if there is an other way. :) I'm using Gentoo and Vlc 0.8.5 so.

Thanks for all this good job.