featherbear / bitfocus-companion-module-presonus-studiolive

Bitfocus Companion integration of the PreSonus StudioLive III API
MIT License
11 stars 6 forks source link

Include module in the Companion core #2

Open hammady opened 2 years ago

hammady commented 2 years ago

I would like to use this module in the Companion core without having to manually install it. Are there plans to contact the guys in slack to create an official repo for the module? I can help in the process because I have just authored a module and made it through the core.

featherbear commented 2 years ago

Hi @hammady, I won't be officially merging it into the companion monorepo until I get a stable implementation working - see the issue at https://github.com/featherbear/presonus-studiolive-api-demo/issues/1#issuecomment-1048412307

hammady commented 2 years ago

Thanks for the update. Does that mean metering is broken if I use the mentioned commit or later? My planned usage is just to show the mute status for each channel and toggle them. Does this require metering?

featherbear commented 2 years ago

The implementation to get the initial mute status (during initial connection) is broken, though it can store updates to the mute states (i.e. pressing mute/unmute after being connected);

Metering functionality is always optional to the functionality of the API.

I might attempt to push up a fix to allow the API to connect without waiting for initial state this weekend

hammady commented 2 years ago

Thanks again!

featherbear commented 2 years ago

@hammady Stable support for mute status and toggling has been implemented, for both the main, fx and aux mixes

bd7ac43310d8653558432463895ce29a23b2af55

hammady commented 2 years ago

Awesome. Thanks for the heads up!

josephdadams commented 2 years ago

@featherbear can we include this in the official betas? I can create the repo for you and get it merged

featherbear commented 2 years ago

@featherbear can we include this in the official betas? I can create the repo for you and get it merged

@josephdadams I think the project is still in its alpha stage - there are some breaking changes yet to be made; and I'm also aware of some bugs, but I have minimal time outside of work to fix things (and provide technical support to Companion users).

If you think that's fine, then I'm happy for you to create the repo to get the ball rolling 🥎

josephdadams commented 2 years ago

Do you know if scene recall is possible?

featherbear commented 2 years ago

Possible but currently unimplemented

featherbear commented 1 year ago

Project and scene recall has been implemented, but I'd like to get some testing feedback.

@josephdadams What's the best way to distribute an unofficial build of Companion with this module? I've been contacted by a few people via email RE this, who aren't confident in setting up a dev environment

josephdadams commented 1 year ago

From your dev environment, yarn dist (for all), yarn macdist or yarn windist and distribute the binary files to them.

featherbear commented 1 year ago

@josephdadams

Looking at the contents of the Electron build output, my module's dependencies aren't in the node_modules folder. Structure wise I have my module in the module-local-dev directory, with its dependencies in module-local-dev/[...]/node_modules. Do I need to touch anything in Companion's package.json so that the module dependencies are included in the build?

image

josephdadams commented 1 year ago

Yes just npm install the dependencies to companion root package json. Just for dist purposes

josephdadams commented 1 year ago

It’s a known bug