plugins path

This forum is about all development around libVLC.
fsmoke
New Cone
New Cone
Posts: 6
Joined: 12 Nov 2015 15:06

plugins path

Postby fsmoke » 27 Nov 2015 18:40

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

grindstone
New Cone
New Cone
Posts: 9
Joined: 27 Oct 2015 14:04

Re: plugins path

Postby grindstone » 28 Nov 2015 01:16

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

fsmoke
New Cone
New Cone
Posts: 6
Joined: 12 Nov 2015 15:06

Re: plugins path

Postby fsmoke » 30 Nov 2015 13:57

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....

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: plugins path

Postby Jean-Baptiste Kempf » 28 Jun 2016 09:27

So far, you cannot. You must name it plugins/ next to libvlccore.dll
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 19 guests