Node-MPV
Node-MPV copied to clipboard
start is not a function
const mpvAPI = require('node-mpv');
const mpv = new mpvAPI();
mpv.start()
error:
mpv.start()
^
TypeError: mpv.start is not a function
use node-mpv-2 https://www.npmjs.com/package/node-mpv-2
const mpvAPI = require('node-mpv-2')
how nice is that, i have a problem, look into issues and i find my problem AND the solution as the top topic :)