I am controlling OMXPlayer from Node-Red, starting it using the exec node - works fine. I would also like to do the equivalent of a keypress to control it - e.g. space to pause/play and "q" to quit. Sending a character to the exec node does not work. I could not find any node to perform this function. Hence would appreciate any guidance on how I might do this. Thank you. Mike
Node-Red send character to terminal - e.g. send space to pause/play OMXplayer
111 views Asked by Mike Roberts At
1
There are 1 answers
Related Questions in KEYPRESS
- How do I write a unit test for a masked readline method?
- How to randomly simulate keypresses for special keys
- Which event intercepts the change of selection of the row (or element) in a QTableView?
- How to determine the position of the cursor (caret position) in keypress or keydown event in Angular @HostListener
- how can i use autopy to press a character on the keyboard?
- Key Down Event increases currentIndex of QCombobox
- Changing the prompt to: ('') then back to previous after enter key pressed on jquery terminal
- Python - TKinter. Is there way to detect if Scale (slider) value was changed while specific key was pressed?
- PyQt5: How to change input text color based on keypress (macro)?
- Vaadin: How to get TextField keypress event to fire when in a Grid Header?
- XLib/X11 don't fire KeyPress event on upper Unicode ranges
- Tkinter. How can one use the bind_class method for multiple entry widgets
- C++ Desktop App press button or key on keyboard
- How to preserve Group Separators (GS), Record Separators(RS) and End Of Transmission(EOT) using KeyPress in Angular
- How can I make that the KeyPress event only activates once
Related Questions in NODE-RED
- Node-red split msg.payload
- Node-Red how to combine latest mqtt messages reliably
- how to extract data from mongodb using node red with condition that no duplicate data and it should pass every 30sec
- node-red HTTP authentication through environmental variables
- how to get my javascript output in json format
- Azure IOT central command/NodeRed
- How to get the right grouping in my JSONata code?
- "Lost connection to server, reconnecting in 12s. Try now" node-red error
- Adding npm reference into a custom node in NodeRed
- Are there any ways to restart a flow in NodeRed?
- NodeRed catalogue hosted on Azure Artifact
- Node-RED - Variable Set Not Setting
- Why doesn't this simple javascript in nodeRED for Visual Flow Creator work?
- Node-Red OPC-UA Server only working for Double?
- Error delivering message to node:undefined [undefined]
Related Questions in OMXPLAYER
- Issue in Lineage OS 20 : OmxStore: omx common prefix: no nodes
- Playing random Videos with omxplayer (PIR)
- synchronize video output on HDMI 1 and HDMI 2 on a Raspberry Pi 4B
- exit fullscreen OMX Player
- omxplayer not loading a playlist file
- Quickly dispatching between `fbi` and `omxplayer`
- MP4 file won't stream into omxplayer,any idea why?
- stream video to Raspberry pi, using hardware acceleration
- Omxplayer-wrapper will not open
- cvlc cannot play rtsp (omxplayer instead can)
- Quit Shell Script on Raspberry Pi (no keyboard input detected)
- omxplayer - Seamless looping of a directory
- Play MP3 file in python script to Raspberry Pi 4's connected bluetooth device
- Python : Images (Tkinter) over a video (OMXPlayer)
- Callback function in the exact moment URL stream starts playing in Python
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
I found a solution eventually. I tried a node.js module called simpleomxcontrol and pulled this into NodeRed. This would start the player but not pause or stop it.
I then tied dbuscontrol.sh . It appeared to have a problem pulling in the 'stop' argument. So I edited dbuscontrol so it would only implement stop (no arguments required)(and send to exec node). I expect I could also edit dbuscontrol to implement pause or other requirements as single scripts if I ever need these.
Thank you to all who helped me find an answer. Mike