j-holub / Node-MPV

A NodeJs Module for MPV Player
https://www.npmjs.com/package/node-mpv
MIT License
116 stars 73 forks source link

start is not a function #111

Open prismspecs opened 11 months ago

prismspecs commented 11 months ago
const mpvAPI = require('node-mpv');
const mpv = new mpvAPI();

mpv.start()

error:

mpv.start()
     ^

TypeError: mpv.start is not a function
mxyue commented 9 months ago

use node-mpv-2 https://www.npmjs.com/package/node-mpv-2

const mpvAPI = require('node-mpv-2')

emcodem commented 4 months ago

how nice is that, i have a problem, look into issues and i find my problem AND the solution as the top topic :)