From 44e9f6e44b49693fc758c4b8fd5c23bbce3f4e9b Mon Sep 17 00:00:00 2001 From: Nolan Cassidy Date: Thu, 15 Jul 2021 17:19:21 -0700 Subject: [PATCH] Stop checking for only http --- lib/mpv/mpv.js | 1 - 1 file changed, 1 deletion(-) 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