Node-MPV icon indicating copy to clipboard operation
Node-MPV copied to clipboard

start is not a function

Open prismspecs opened this issue 1 year ago • 2 comments

const mpvAPI = require('node-mpv');
const mpv = new mpvAPI();

mpv.start()

error:

mpv.start()
     ^

TypeError: mpv.start is not a function

prismspecs avatar Aug 21 '23 18:08 prismspecs

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

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

mxyue avatar Oct 05 '23 14:10 mxyue

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

emcodem avatar Mar 06 '24 22:03 emcodem