Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto Subs V2 shows up but does nothing #150

Open
MagnaThyrsus opened this issue Jan 18, 2025 · 0 comments
Open

Auto Subs V2 shows up but does nothing #150

MagnaThyrsus opened this issue Jan 18, 2025 · 0 comments

Comments

@MagnaThyrsus
Copy link

MagnaThyrsus commented Jan 18, 2025

I have DVR v18.6; I installed AutoSubsV2 and it shows up in the workspace->scripts tab, but when I click it it doesn't do anything. The console doesn't show any info and opening the .exe doesn't work.
I cleared up resource cache since I read here it might help but nothing. I uninstalled and reinstalled AutoSubs on different directories to see if it was a pathing problem and nothing. Idk why it doesn't work.

Update: Managed to get V1 to work kinda. Also got V2 to work almost, and the way I made it work is certainly unintended. Using the DVR Studio innate console (I forgot to mention I have the Studio version, also forgot to say my OS is Windows 10) and calling the .lua file from there I got this message:

C:\AutoSubs\resources\Autosubs V2.lua:29: Failed to open file: C:\Users\<username>\AppData\Roaming/Blackmagic Design/Davinci Resolve/Support/Fusion/Scripts/Utility/AutoSubs/install_path.txt

Things to note here:

  • The change in the slashes, starting with \ and after roaming becoming /.
  • My username, which shows with an "unknown" character where a non-english (But still part of the windows-1252 encoding) character should be.

For one, the slash thing gets fixed with string.gsub, but the reading of APPDATA into a path with filler unknown characters I can't seem to find a way to fix, other than just hardcoding the full path replacing the env("APPDATA").

After having it work I tested it and it doesn't implant the subs in the timeline:

Error:C:\AutoSubs\Resources\AutoSubs V2.lua:124: C:\Users\<username>\AppData\Local\AutoSubs-Cache\Cache\transcripts\<some serial number>.json: No such file or directory

It's like it creates the .json with the timings of the subs but then doesn't seem to be able to find it. I tried with \ , double \ , and / as path separators and nothing. Exporting the .srt file and importing it works but the timings seem very off and I don't think they match the .json file. Gonna have to stick to V1 for now I guess.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant