bitfocus / companion-module-bmd-hyperdeck

MIT License
10 stars 13 forks source link

Feature Request: Slot Recording Time Available - Dynamic Variable #46

Closed ColinMulcahy closed 2 years ago

ColinMulcahy commented 3 years ago

Hi,

Is it possible to implement the following features:

DYNAMIC VARIABLE

$(Hyperdeck:recordingTimeAvailable)

The "slot info" command returns information about a slot. Without parameters, the command returns information for the currently selected slot:

slot info↵

If a slot id is specified, that slot will be queried:

slot info: slot id: {Slot ID}↵

The server will respond with slot specific information:

202 slot info:↵ slot id: {Slot ID}↵ status: {"empty", "mounting", "error", "mounted"}↵ volume name: {Volume name}↵ recording time: {recording time available in seconds}↵ video format: {disk's default video format}↵ ↵

sphlabs commented 2 years ago

This needs support adding for the new devices with more than 2 slots.

sphlabs commented 2 years ago

These variables should now be present for all Hyperdeck models.