def _setPluginPathEnviron():
 if ('VLC_PLUGIN_PATH' in os.environ.keys()):
  return
 dllPath = vlc.dll._name
 from os.path import split, join
 nSteps = 0
 last = dllPath
 while (nSteps < 4):
  last = split(last)[0]
  pluginPath = join(last, 'plugins')
  if os.path.isdir(pluginPath):
   os.environ['VLC_PLUGIN_PATH'] = pluginPath
   break
  nSteps += 1

def _setPluginPathEnviron ( ) : if ( 'VLC_PLUGIN_PATH' in os . environ . keys ( ) ) : return dllPath = vlc . dll . _name from os . path import split , join nSteps = 0 last = dllPath while ( nSteps < 4 ) : last = split ( last ) [ 0 ] pluginPath = join ( last , 'plugins' ) if os . path . isdir ( pluginPath ) : os . environ [ 'VLC_PLUGIN_PATH' ] = pluginPath break nSteps += 1
plugins arent in the same path as the libvlc .