chachmu/mpvDLNA

"Unable to find a correctly configured python call" message can be can be erroneous

Closed this issue · 1 comments

on line 119 of main.js [1] this.python == null , can be also if after upgrade python we don't had installed upnpclient,

so at least message should be : Please add the name of your python install to the .conf or check if you got pyhton upnpclient installed

[1]
https://github.com/chachmu/mpvDLNA/blob/main/main.js#L119

// None of the options worked, throw an error
if (this.python == null) {
    throw new Error("Unable to find a correctly configured python call: \n \
    in the following options: " + versions +
    "\n         Please add the name of your python install to the .conf file \n \
    using the format: python_version=python \n \
    or run mpv with the --msg-level=mpvDLNA=trace argument to see the errors");
}

wow , here it's worth writing an issue , thanks