Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
noobakong opened this issue Aug 23, 2021 · 0 comments
Open
Labels

Comments

@noobakong
Copy link

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 noobakong added the bug label Aug 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant