Giter VIP home page Giter VIP logo

multiviewtouchcontrol's People

Contributors

airbenich avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

multiviewtouchcontrol's Issues

still problems

So got a little closer but still have problems.

here is the logfile

<0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli '/home/pi/.nvm/versions/node/v14.4.0/bin/node',
1 verbose cli '/home/pi/.nvm/versions/node/v14.4.0/bin/npm',
1 verbose cli 'start',
1 verbose cli 'switcher',
1 verbose cli '192.168.88.3'
1 verbose cli ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle [email protected]: [email protected]
6 info lifecycle [email protected]: [email protected]
7 verbose lifecycle [email protected]: unsafe-perm in lifecycle true
8 verbose lifecycle [email protected]: PATH: /home/pi/.nvm/versions/node/v14.4.0/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/pi/multiviewTouchC$
9 verbose lifecycle [email protected]: CWD: /home/pi/multiviewTouchControl
10 silly lifecycle [email protected]: Args: [ '-c', 'electron . "switcher" "192.168.88.3"' ]
11 silly lifecycle [email protected]: Returned: code: 1 signal: null
12 info lifecycle [email protected]: Failed to exec start script
13 verbose stack Error: [email protected] start: electron . "switcher" "192.168.88.3"
13 verbose stack Exit status 1
13 verbose stack at EventEmitter. (/home/pi/.nvm/versions/node/v14.4.0/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
13 verbose stack at EventEmitter.emit (events.js:315:20)
13 verbose stack at ChildProcess. (/home/pi/.nvm/versions/node/v14.4.0/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:315:20)
13 verbose stack at maybeClose (internal/child_process.js:1051:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5)
14 verbose pkgid [email protected]
15 verbose cwd /home/pi/multiviewTouchControl
16 verbose Linux 4.19.118-v7+
17 verbose argv "/home/pi/.nvm/versions/node/v14.4.0/bin/node" "/home/pi/.nvm/versions/node/v14.4.0/bin/npm" "start" "switcher" "192.168.88.3"
18 verbose node v14.4.0
19 verbose npm v6.14.5
20 error code ELIFECYCLE
21 error errno 1
22 error [email protected] start: electron . "switcher" "192.168.88.3"
22 error Exit status 1
23 error Failed at the [email protected] start script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]>

@soundpartner

Leave a comment

Change touch actions

Hello

This is an awesome tool. thanks for sharing this.

Is is possible to call different actions. So instead of a camera start a macro. that would be awesome to work with overlays.

another nice thing would be a shut down function at the very top left corner, to safely shut down the raspberry.

Thanks for your work

kind regards Patrick

ERR

~/multiviewTouchControl  npm install  ✔  17:57:32

npm ERR! code EJSONPARSE
npm ERR! file /Users/sunda/multiviewTouchControl/package.json
npm ERR! JSON.parse Failed to parse json
npm ERR! JSON.parse Unexpected token ] in JSON at position 433 while parsing near '...en",
npm ERR! JSON.parse "touch",
npm ERR! JSON.parse ],
npm ERR! JSON.parse "author": "airb...'
npm ERR! JSON.parse Failed to parse package.json data.
npm ERR! JSON.parse package.json must be actual JSON, not just JavaScript.

isues due to nodejs v10

i just bought a raspberry pi to try this.
have instaled raspberian, and try to run this. i get an error due to nodejs. it asks me to install a newer nodejs

`pi@raspberrypi:~/multiviewTouchControl $ npm start
npm WARN npm npm does not support Node.js v10.21.0
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.
npm WARN npm You can find the latest version at https://nodejs.org/

[email protected] start /home/pi/multiviewTouchControl
electron .

(electron:952): Gtk-WARNING **: 22:48:45.916: cannot open display:
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: electron .
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2020-06-13T20_48_45_976Z-debug.log`
when trying to install nodejs 9

`================================================================================

                          DEPRECATION WARNING                            

Node.js 9.x is no longer actively supported!

You will not receive security or critical stability updates for this version.

You should migrate to a supported version of Node.js as soon as possible.
Use the installation script that corresponds to the version of Node.js you
wish to install. e.g.

Please see https://github.com/nodejs/Release for details about which
version may be appropriate for you.

The NodeSource Node.js distributions repository contains
information both about supported versions of Node.js and supported Linux
distributions. To learn more about usage, see the repository:
https://github.com/nodesource/distributions

================================================================================

Continuing in 20 seconds ...

Installing the NodeSource Node.js 9.x repo...

Populating apt-get cache...

Confirming "buster" is supported...

Adding the NodeSource signing key to your keyring...

Creating apt sources list file for the NodeSource Node.js 9.x repo...

Running apt-get update for you...

Run sudo apt-get install -y nodejs to install Node.js 9.x and npm

You may also need development tools to build native addons:

 sudo apt-get install gcc g++ make

To install the Yarn package manager, run:

 curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
 echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
 sudo apt-get update && sudo apt-get install yarn

pi@raspberrypi:~/multiviewTouchControl $node --version
v10.21.0
`

but i keep on having 10.21.0 and cant get it to work.

Change actions

Sorry that i opened another issue about the same thing.

But i don't get it to work with the Macros. From the previous issue you wrote it should be mainswitcher.macroStart(macroIndex), so this would actually be mainswitcher.macroStart(2); to start the third Macro, right?
I tried different combinations with start, run, setMacroAction, but none of them work. What am I doing wrong?

I did get to work a "cut" or "changePrevieInput" to Media Player 1, so I am on the right page.

Would be nice to have a list of possible commands like this:
mainswitcher.cut()
mainswitcher.changePreviewInput(videosource)
mainswitcher.changeProgramInput(videosource)
// videosource = 1-20 Inputs, 1000 Bars, 2001-2 Color, 3010 Media Player 1, 3011 Media Player 1 key, 3020 Media Player 2, 3021 Media Player 2 Key, 6000 Super Source, 7001-2 Clean Feed, 8001-6 Auxilary

Auto Transition
DSK On / Auto
Makro

Thanks for your help

npm install error

C:\Windows\System32\multiviewTouchControl>npm install
'npm' is not recognized as an internal or external command,
operable program or batch file.

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.