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

loadPlaylist , when file not exist, don not right to reject error

Open noobakong opened this issue 3 years ago • 0 comments

Bug Description

if file not exist, not right to right reject

How To Reproduce

mpv.loadPlaylist use a not exist path

Software Versions
  • Node-Mpv: "node-mpv": "^2.0.0-beta.2",
  • MPV
    • mpv 0.33.0-302-g0c9e1e34fd Copyright © 2000-2020 mpv/MPlayer/mplayer2 projects built on Sun Aug 15 17:42:08 +08 2021 FFmpeg library versions: libavutil 57.4.100 libavcodec 59.4.101 libavformat 59.4.101 libswscale 6.0.100 libavfilter 8.1.103 libswresample 4.0.100 FFmpeg version: git-2021-08-14-acd07984
  • OS: Windows10
Additional context

in my test code fs.stat error with code not -2 but your code is -2 to judge don not to right code image

noobakong avatar Aug 23 '21 13:08 noobakong