diff --git a/lib/mpv/mpv.js b/lib/mpv/mpv.js index cd4de41..1f7aeaa 100644 --- a/lib/mpv/mpv.js +++ b/lib/mpv/mpv.js @@ -97,7 +97,6 @@ mpv.prototype = Object.assign({ // if http is included is sufficient // if it's a file, transform the path into the absolute filepath, such that it can be played // by any mpv instance, started in any working directory - source = source.includes('http') ? source : path.resolve(source); await new Promise ((resolve, reject) => { // socket to observe the command