Media Server API
Use this module to talk to wTVision's Media Server version 3.x onward.
Instalation
npm i wtv-mediaserver-api
Usage
const mediaServer = { // Connects to localhost on the default port let status = await mediaServer // get Status Information on what's playing status = await mediaServer console // adds a file from Media Server's root media folder await mediaServer await mediaServer }
### Commands
- connect
- addFile
- play
- pause
- stop
- liveIn
- liveOut
- skipNext
- getStatus
- getPositionAndLength
- moveTo
- setDebug
- disconnect