返回商店
外掛

Clip Controls for Medal

由 JustTorooD 發行

Save clips and screenshots, run long recordings and add bookmarks in Medal from your deck, with live recording status as variables. Unofficial; talks only to Medal on this PC.

程式碼

Clip Controls for Medal

Unofficial Macro Deck plugin for the Medal desktop app on Windows.

Buttons

Save clip: saves the last moments of the game Medal is recording. Pick a length per button; Medal only offers the lengths set under Settings > Capture Hotkeys, so add a hotkey for each length you want. Take screenshot Start or stop long recording: the button turns red with "REC" while recording. Add bookmark: marks a moment in the running long recording. Open Medal

If Medal is closed, pressing any Medal button starts it. Buttons turn grey while they can't work: no game is being recorded, or (for bookmarks) no long recording runs. Clip and screenshot buttons flash green "SAVED" or red "FAILED" for a few seconds once Medal reports the result.

Variables

Variable Meaning medalconnected Medal is open and answering medalcanclip Medal is recording a game, so a clip will save medallongrecording a long recording is running medallongrecordingtime its length, like 5:12 medalgame the game Medal is recording medalclipsthissession clips saved since Macro Deck started medallastcliptime when the last clip saved, like 21:04

How it works

Medal serves its own Stream Deck plugin a WebSocket on 127.0.0.1:12680. This plugin uses the same connection, so it talks only to Medal on this PC. Medal allows one such connection at a time: don't run Medal's Stream Deck plugin alongside this one. The connection is undocumented and a Medal update may change it.

Build

cd MedalDeck macrodeck-plugin build --output dist macrodeck-plugin test --artifact dist/com.justtorood.clip-controls-for-medal-1.0.0.macroDeckPlugin

With Medal open, dotnet run --project MedalDeck.Probe checks the connection; it saves nothing.

Not affiliated with Medal.tv.

README 徽章

將這段程式碼貼到你的 README,其他人就能在 Macro Deck Store 開啟此頁面。