Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,26 @@ Which should yield you:
![](images/debug.png)

From: https://streamdecklabs.com/debugging-your-javascript-plugin/

# Packaging

Elgato provides a CLI packaging tool. The files are just zipfiles, but the tool does some validation before packaging it all up.

[https://docs.elgato.com/sdk/plugins/packaging]

```
$ DistributionTool -b -i co.meldstudio.streamdeck.sdPlugin -o ./
```

This outputs a file `co.meldstudio.streamdeck.streamDeckPlugin` which is the file we upload to S3 and link with our publish request.
The CloudFront cache for the file should be invalidated after uploading to ensure that the Elgato crew downloads the correct plugin file.

Publish request should be sent to `streamdeck.elgato@corsair.com` with the following information:

* Download: https://packages.streamwithmeld.com/co.meldstudio.streamdeck.streamDeckPlugin
* User: Meld Studio, Inc.
* Release Notes: _What changed with the new version of your plugin? (features/bug fixes)_
* Support: hi@meldstudio.co
* Category: Video

Include the content from `co.meldstudio.streamdeck.streamDeckPlugin/README.md` in the email including the plugin and plugin 2x icons so that our store entry gets updated with all the desired information.
16 changes: 11 additions & 5 deletions co.meldstudio.streamdeck.sdPlugin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@
Meld Studio 💙 Stream Deck. Take your stream to new heights with powerful new capabilities at your fingertips. Trigger transitions, manage audio tracks, toggle filter effects on and off, and much more.

1. **Now you see me, now you don’t**: Things getting weird on the cat-cam? Quickly toggle visibility on any layer.
2. **What the \*\*\*\*\*?** Mute your microphone in a millisecond.
3. **End your 24 hour streamathon with a bang.** Or just press the button to go offline.
4. **Want to post your victorious boss battle (and not the 13 times you died trying)?** Start and stop recordings at the touch of a button - as many as you want.
2. **What the \*\*\*\*\*?** Mute your microphone in a millisecond or precision adjust your audio inputs using the StreamDeck+.
4. **End your 24 hour streamathon with a bang.** Or just press the button to go offline.
5. **Want to post your victorious boss battle (and not the 13 times you died trying)?** Start and stop recordings or take a screenshot with the touch of a button - as many as you want.

And we're not done yet! We are continually working to bring you even more capabilities for this integration, so stay tuned for updates and new features.

## What's New

Version 0.2.0
Now you can fine-tune your audio levels in Meld Studio using your StreamDeck+.
Version 0.3.0
Now you can take screenshots for thumbnails at the touch of a button.

## Helpful Links

Expand All @@ -34,6 +34,12 @@ hi@meldstudio.co
# Change History:
------------

## 2023-09-01 (v0.3.0)
### Changes:
-----------
- Added support for taking screenshots in MeldStudio with the StreamDeck.


## 2023-05-31 (v0.2.0)
### Changes:
-----------
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<!DOCTYPE html>
<html>

<head>
<meta charset="utf-8" />
<title>co.meldstudio.streamdeck.screenshot Property Inspector</title>
<link rel="stylesheet" href="../../libs/css/sdpi.css">
</head>

<body>
<div class="sdpi-change-scene sdpi-wrapper">
</div>
</body>

<!-- libs -->
<script src="../../libs/js/utils.js"></script>
<script src="../../libs/js/constants.js"></script>
<script src="../../libs/js/events.js"></script>
<script src="../../libs/js/api.js"></script>
<script src="../../libs/js/property-inspector.js"></script>
<script src="../../libs/js/timers.js"></script>
<script src="../../libs/js/qwebchannel.js"></script>
<script src="../../libs/js/meldstudio.js"></script>
<script src="../../libs/js/inspector.js"></script>
</html>
12 changes: 12 additions & 0 deletions co.meldstudio.streamdeck.sdPlugin/actions/screenshot/plugin.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
class Screenshot extends MeldStudioPlugin {
constructor() {
super("co.meldstudio.streamdeck.screenshot");

this.action.onKeyUp(({ action, context, device, event, payload }) => {
if ($MS.meld?.sendEvent)
$MS.meld.sendEvent("co.meldstudio.events.screenshot");
});
}
}

const screenshot = new Screenshot();
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
$PI.on('connected', () => {
$MSPI.watchConnections('loading');
$MSPI.initializeSelection("co.meldstudio.streamdeck.show-scene", ["scene"]);
$PI.sendToPlugin({content: "what"});
});
</script>
</html>
1 change: 1 addition & 0 deletions co.meldstudio.streamdeck.sdPlugin/app.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@

<!-- actions -->
<script src="actions/show-scene/plugin.js"></script>
<script src="actions/screenshot/plugin.js"></script>
<script src="actions/toggle-layer/plugin.js"></script>
<script src="actions/toggle-effect/plugin.js"></script>
<script src="actions/toggle-mute/plugin.js"></script>
Expand Down
23 changes: 23 additions & 0 deletions co.meldstudio.streamdeck.sdPlugin/assets/iconScreenshot.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions co.meldstudio.streamdeck.sdPlugin/assets/iconScreenshot@2x.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions co.meldstudio.streamdeck.sdPlugin/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
"Name": "Szene zeigen",
"Tooltip": "Zeigt eine bestimmte Szene an."
},
"co.meldstudio.streamdeck.screenshot": {
"Name": "Screenshot",
"Tooltip": "Machen Sie einen Screenshot Ihres Livestreams."
},
"co.meldstudio.streamdeck.toggle-effect": {
"Name": "Sichtbarkeit des Effekts",
"Tooltip": "Sichtbarkeit des Effekts umschalten."
Expand Down
4 changes: 4 additions & 0 deletions co.meldstudio.streamdeck.sdPlugin/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
"Name": "Show Scene",
"Tooltip": "Show a specified scene."
},
"co.meldstudio.streamdeck.screenshot": {
"Name": "Screenshot",
"Tooltip": "Take a screenshot of your livestream."
},
"co.meldstudio.streamdeck.toggle-effect": {
"Name": "Effect Visibility",
"Tooltip": "Toggles the visibility of an effect."
Expand Down
19 changes: 16 additions & 3 deletions co.meldstudio.streamdeck.sdPlugin/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
"Category": "Meld Studio",
"CategoryIcon": "assets/MeldStudio",
"Name": "Meld Studio",
"Icon": "assets/MeldStudio",
"Icon": "plugin",
"Author": "MeldStudio",
"CodePath": "app.html",
"Description": "Control Meld Studio.",
"Description": "Meld Studio 💙 Stream Deck. Take your stream to new heights with powerful new capabilities at your fingertips. Trigger transitions, manage audio tracks, toggle filter effects on and off, and much more.",
"URL": "https://meldstudio.co",
"Version": "0.2.0",
"Version": "0.3.0",
"OS": [
{
"Platform": "mac",
Expand All @@ -35,6 +35,19 @@
"UUID": "co.meldstudio.streamdeck.show-scene",
"PropertyInspectorPath": "actions/show-scene/inspector.html"
},
{
"Icon": "assets/iconScreenshot",
"Name": "Take Screenshot",
"States": [
{
"Image": "assets/screenshot"
}
],
"SupportedInMultiActions": true,
"Tooltip": "Take a screenshot!",
"UUID": "co.meldstudio.streamdeck.screenshot",
"PropertyInspectorPath": "actions/screenshot/inspector.html"
},
{
"Icon": "assets/iconAudioTrack",
"Name": "Mute Track",
Expand Down