VLSub is broken until you exit VLC at least once
- It seems VLSub can't work if the
%appdata%\vlc\
folder doesn't exist. - This folder doesn't exist until you enter and exit VLC at least once (checked via the portable (i.e. 7zip/Zip) version. There's a chance the installer version perhaps creates it beforehand).
Checked in the latest version 3.0.16 over Windows 10.
Steps to produce
- If it already exists, manually delete the
%appdata%\vlc\
folder (back up first, if you want). - Enter VLC.
- Activate VLSub.
Expected behavior
Open the VLSub window.
Actual outcome
Nothing happens, as if you never clicked VLSub (even though there's suddenly a checkbox next to it).
Further information
Basically VLSub tries to create a %appdata%\vlc\lua\extensions\userdata\vlsub\
folder, but fails when there's no %appdata%\vlc\
.
The solution should be:
- Don't create
%appdata%\vlc\lua\extensions\userdata\vlsub\
in the first place, before there are changes that are actually needed to be saved. - If you insist to create it anyway, even though it's just the default settings, then create it even if there's no
%appdata%\vlc\
folder.
Edited by Lior