Code Monkey home page Code Monkey logo

qlab-display's Introduction

Hi there πŸ‘‹

  • πŸ”­ I’m currently working on: A mix of
    • Qlab Scripting (applescript)
    • Reaper Scripting (Lua)
    • Javascript applets
    • Some web development (Hugo)
  • πŸ“« How to reach me: Send me an email
  • πŸ˜„ Pronouns: He/Him

qlab-display's People

Contributors

bsmith96 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

qlab-display's Issues

[FEATURE] Add cue list display as well as next cue

onRefresh:

send(theIP, 53000, '/workspace/' + theWorkspace + '/cue_id/' + theCueList + '/children');

interpretIncoming:

  if (address.endsWith('children')) {
    var replyData = JSON.parse(args[0].value); // decode the JSON reply from Qlab
    var toReturn = replyData.data; // get the cue display name from within the JSON

    console.log(toReturn[0]);

    var cueList = []
    for (let i in toReturn) {
      cueList.push(toReturn[i].name)
    }

    receive(nameAddress, cueList.join('\r\n'));
  }

Possibly, display a list of cue names but keep a list of IDs in the menu. Then, if possible, find a way to highlight the current cue?

[BUG] Applescript 1 didn't work on backup computer

When running the script on the backup computer, it could not locate the config.json file in the same folder as itself to write the information into. Need to doublecheck if it's a script error, or a computer settings error.

[FEATURE] A version with html

  • Bootstrap html document to display this information. Standalone web page, eliminating the need for working in terminal

Indicate when there is no connection to Qlab

Currently, if qlab is quit before the script, it will continue displaying the last known reply.

Would be great if there was some kind of 'heartbeat' to alert the remote viewer when qlab was successfully connected.

Rename files to improve usability

  • Get-IDs.applescript > 1-generate-module-config.applescript
  • Create-Server-Setup.applescript > 2-generate-OSC-config.applescript
  • get-cue-list-playhead.js > qlab-display_module.js
  • open-stage-control-template.json > qlab-display_layout.json

[BUG] OSC setup script isn't cross platform

The second script to setup the .config file for Open Stage Control must be run on the computer being used as the server, in order to have the correct path. This means it can only be run on a Mac, since the script is applescript.

Maybe rewrite in JS? Or find a way to allow running remotely from the Qlab mac while still finding the correct path?

[FEATURE] raspbian / Linux / shell headless launcher

On raspberry pi at home. 2 line shell script to open full screen browser window and launch OSC in headless mode.

On Linux at least, can use relative paths - generate the config from applescript on the Qlab Mac's.

Is it worth bundling a version of open stage control?

[FEATURE] Add backup Qlab IP

Add a backup Qlab IP; get script to poll backup as well, but only display backup if the primary hasn't reponded (plus indicate this).

Might mean using the qlabReplies.on("message") function to simply set some variables, and display/update them elsewhere in the script?

Heartbeat would change too: sending to Open Stage Control. Maybe "/qlab/connected MAIN" and "/qlab/connected BACKUP" if switched?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.