RCVolus / obs-google-sheet-importer

Small application that reads data from a google spreadsheet periodically and updates all text sources matching a given name scheme.
23 stars 5 forks source link

Compatibility with OBS Versions >28? #8

Closed OvrilPT closed 1 year ago

OvrilPT commented 1 year ago

I migrated my OBS instance to OBS 29.0.2 and I'm getting "Error: Cannot find module 'obs-websocket-js'".

Since OBS Version 28, the WebSocket is included in the program, without the need for the plugin, is this the issue?

Thanks for the help.

sdomi4 commented 1 year ago

This sounds more like a dependency issue; the websocket being included should just mean you don't need to install it manually (just guessing, I haven't looked into it at all).

Did you run npm install before starting the tool?

OvrilPT commented 1 year ago

I'm sorry, I'm not very technical in this domain, what would npm install do in this case? And where should I run it? Inside this tool's directory?

sdomi4 commented 1 year ago

The command installs the necessary dependencies to interact with OBS. The steps are described in the Readme :)

OvrilPT commented 1 year ago

I have done so, sorry for not reading correctly the Readme.

Still, when running the tool, it only returns "pause" and doesn't go past that, never connecting with OBS.

Sorry for bothering with all this, I've used this tool in the past on an earlier version of OBS and I enjoyed it very much, just now having this issues trying to install it on a different computer with a newer version of OBS.

Laraakaa commented 1 year ago

Could you maybe share the full log / error message you get? It's gonna be especially interesting what is going to be returned before you mention the "pause", I'm almost certain there needs to be some other message or hint there.

OvrilPT commented 1 year ago

Hey, all I get is this in the terminal when I run "start.bat" (cut some of the path just for privacy):

F:\...\obs-google-sheet-importer-master>node index.js

F:\....\obs-google-sheet-importer-master>pause
Press any key to continue . . .
sdomi4 commented 1 year ago

Turns out the websocket integrated to OBS changed everything about the way it communicates. The tool is now updated and should work. Note a few details have changed (hiding and showing text sources needs a ; now). The readme is updated to reflect the changes.