The following warnings occurred:
Warning [2] Trying to access array offset on null - Line: 14 - File: inc/plugins/cookielaw.php(272) : eval()'d code PHP 8.3.12-nmm1 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/cookielaw.php(272) : eval()'d code 14 errorHandler->error_callback
/inc/plugins/cookielaw.php 272 eval
/inc/class_plugins.php 142 cookielaw_global_intermediate
/global.php 100 pluginSystem->run_hooks
/printthread.php 16 require_once
Warning [2] Trying to access array offset on null - Line: 14 - File: inc/plugins/cookielaw.php(272) : eval()'d code PHP 8.3.12-nmm1 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/cookielaw.php(272) : eval()'d code 14 errorHandler->error_callback
/inc/plugins/cookielaw.php 272 eval
/inc/class_plugins.php 142 cookielaw_global_intermediate
/global.php 100 pluginSystem->run_hooks
/printthread.php 16 require_once



Selur's Little Message Board
[HELP] How to change directory location of installed "hybrid-vapoursynth-addon" - Printable Version

+- Selur's Little Message Board (https://forum.selur.net)
+-- Forum: Hybrid - Support (https://forum.selur.net/forum-1.html)
+--- Forum: Problems & Questions (https://forum.selur.net/forum-3.html)
+--- Thread: [HELP] How to change directory location of installed "hybrid-vapoursynth-addon" (/thread-3931.html)



How to change directory location of installed "hybrid-vapoursynth-addon" - michaelwesten - 04.11.2024

The installation instructions call for installing to "opt" directory within the user's home directory.
I instead wanted to install to ".opt", so I replaced all instances of "opt" with ".opt" during the installation process.
However The Hybrid application was not able to detect this location for the vapoursynth plugin.
So post-install I went and changed the directory name from ".opt" to "opt", as well as the paths entries in .bashrc and .profile
After doing this, the Hybrid application was then able to detect the vapoursynth plugin and create a vapoursynth dropdown menu under filters tab.

I still want to have the install location be somewhere else other than "opt".
My question is: where else do I need to change the directory name to ".opt" within all the various lines of code?
Here are the only places I currently know to change it.
- The directory name itself
- Paths lines in .bashrc and .profile
- The "SystemPluginDir=" line in vapoursynth.conf located in /home/username/.config/vapoursynth

So far I've tried a step involving the creation of a misc.ini file with suggested lines added to it, but that did not work.

I am wondering, is hidden folder syntax not possible? --> .opt instead of opt
Or... is the installation script generating lines pointing to "opt" directory regardless if the user installed to that path or not?


RE: How to change directory location of installed "hybrid-vapoursynth-addon" - Selur - 04.11.2024

I'll adjust Hybrid to also look for '.opt' (in the next public release), but that will only make Hybrid detect the Vapoursynth installation.
with:
[General]
vapoursynth=true
vsPluginsPath="absolute path to plugins folder"
vsScriptPath="absolute path to scripts folder"
in the misc.ini (see: https://forum.selur.net/thread-10.html) you can tell Hybrid to a. enable Vapoursynth b. where to find the plugins c. where to find the scripts.
If the plugins are not in the autoload folder of Vapoursynth, you can also add 'vsLoadLibrariesOnNonWindows=true' to let Hybrid explicitly know that it explicitly needs to load each library.

For Vapoursynth itself, look at: https://www.vapoursynth.com/doc/installation.html#linux

Cu Selur