node-red-contrib-pi-omxplayer 1.0.0

A Node-RED node to control OMXPlayer on the Raspberry pi

npm install node-red-contrib-pi-omxplayer

A Node-RED node to control OMXPlayer on the Raspberry pi

This node will accept the following commands as msg.payload:

  • open
  • playpause
  • pause
  • stop
  • volumeup
  • volumedown
  • getduration
  • getposition
  • getstatus
  • getvolume
  • setvolume float (0-1)
  • setposition int

The file to play can be set either in the node configuration or by using msg.filename.

The filename set in the configuration has precedence over msg.filename.

The node will output it's current status periodically in the msg.status object. Calls to the different getter functions will also return a msg.status object.

Node Info

Version: 1.0.0
Updated 2 weeks, 1 day ago

Downloads

3 in the last day
33 in the last week
118 in the last month

Nodes

  • rpi-omxplayer

Keywords

  • node-red
  • omxplayer
  • raspberrypi
  • raspbian

Maintainers

  • natcl