Page 1 of 1

plugins path

Posted: 27 Nov 2015 18:40
by fsmoke
I use libvlc in very big project, and of course i already have dirs like "plugins", I want to change name of vlc plugins dir to, for example, "vlc_plugins" to avoid of mixing my plugins with vlc plugins. Older versions have "--plugin-path" argument, but now this argument is deprecated. How can i solve this problem in current versions?

PS
my os is win7

Re: plugins path

Posted: 28 Nov 2015 01:16
by grindstone
You'll have to create a Windows environment variable named VLC_PLUGIN_PATH and set it to your plugin path, e.g.

Code: Select all

SetEnviron ("VLC_PLUGIN_PATH=e:\vlc-2_2_1\vlc_plugins")
regards
grindstone

Re: plugins path

Posted: 30 Nov 2015 13:57
by fsmoke
It's not work for me :(

my main executable is msvc project and have different runtime lib from vlc runtime.
when i call putenv("VLC_PLUGIN_PATH=d:\\vlc_plugins"); from msvc project, it's not readen by getenv inside vlc libs :(( (i debug it by gdb)
when i call putenv("VLC_PLUGIN_PATH=d:\\vlc_plugins"); from codeblocks project(with mingw), all ok.

It's very frustrated solution use enviroment variables to set so important things as plugins path....

Re: plugins path

Posted: 28 Jun 2016 09:27
by Jean-Baptiste Kempf
So far, you cannot. You must name it plugins/ next to libvlccore.dll