bitfocus / companion-module-renewedvision-propresenter

Renewed Vision Pro Presenter
MIT License
31 stars 19 forks source link

Some network endpoints are out of date #155

Open natereprogle opened 1 year ago

natereprogle commented 1 year ago

Describe the bug/issue Some network endpoints in the actions.js file no longer exist. For example, the one for nwSpecificSlide references /trigger/playlist, but Network Link uses the /v1/playlist/{identifier}/{index}/trigger endpoint as noted by the official API spec: https://renewedvision.com/api_spec/index.html

To Reproduce Create a new button with a press action using the "Specific Slide: Network Link" action type. On press, view the debug logs to see the action being sent

Expected behavior ProPresenter should trigger the slide.

Screenshots Unable to upload screenshots currently, so here are the full text descriptions.

Please add screenshots (or full text descriptions) showing:

Versions/Environment (please complete the following information):

*Any Other Context A valid workaround is to use the "Generic HTTP Requests" built into companion. Configure its base URL to http://localhost:49761, or whatever ProPresenter port you use. Enable self-signed certificates. Then, add a HTTP: GET request to your button, trigger, or whatever, and set the URI to /v1/playlist/Announcements/Announcements/0/trigger. It works perfect at this point.

MattLinny commented 1 year ago

Also experiencing this. Current work around is to trigger specific slide using path