husudosu / mpv-remote-node

MPV Remote plugin
MIT License
47 stars 8 forks source link

Bug : Leftover Child Processes #7

Open NaiveInvestigator opened 2 years ago

NaiveInvestigator commented 2 years ago

Whenever after watching a vid, some child processes are always left around, tho i don't know why. image image

This is a big problem for me as like it interferes with other scripts i have. Sorry for disturbing again :<

husudosu commented 2 years ago

No worries. I'll look into it.

husudosu commented 2 years ago

I've checked on Windows machine and it seems MPV launches only "Node.JS" and "Console Windows Host" that should be expected. Node.JS runs the Remote server and Console Windows Host runs the console process for Node JS. What other plugins not working? Maybe there's a port, socket issue. image

NaiveInvestigator commented 2 years ago

I've checked on Windows machine and it seems MPV launches only "Node.JS" and "Console Windows Host" that should be expected. Node.JS runs the Remote server and Console Windows Host runs the console process for Node JS. What other plugins not working? Maybe there's a port, socket issue.

Not that one there should be other mpv processes open too but with a different PID. Easiest way to find that is to close mpv then search for the child process. If it doesn't show up at your machine then probably there is something weird on my enviroment then. If that was the case, sorry for bother you. But this doesn't happen tho if i don't run the server script.

AgentConDier commented 7 months ago

This occasionally happens on my linux machine as well. I haven't been able to track down the exact circumstances yet. There shouldn't be any MPV instances open right now, but some are showing up in the task manager: grafik

system info mpv-remote-node version is git commit 1209b0aea37ad28f1eb05e44c2a51ee92187c746 ``` $ mpv -v [cplayer] Command line options: '-v' [cplayer] mpv 0.35.1 Copyright © 2000-2023 mpv/MPlayer/mplayer2 projects [cplayer] built on UNKNOWN [cplayer] FFmpeg library versions: [cplayer] libavutil 57.28.100 [cplayer] libavcodec 59.37.100 [cplayer] libavformat 59.27.100 [cplayer] libswscale 6.7.100 [cplayer] libavfilter 8.44.100 [cplayer] libswresample 4.7.100 [cplayer] FFmpeg version: 5.1.4-0+deb12u1 [cplayer] [cplayer] Configuration: meson configure build -Dprefix=/usr -Dbuildtype=plain -Doptimization=plain [cplayer] List of enabled features: alsa av-channel-layout caca cdda cplayer cplugins cuda-hwaccel cuda-interop dmabuf-interop-gl dmabuf-interop-pl dmabuf-wayland drm drm-is-kms dvbin dvdnav egl egl-drm egl-helpers egl-x11 ffmpeg ffnvcodec gbm gl gl-wayland glibc-thread-name glob glob-posix gpl iconv jack javascript jpeg jpegxl lcms2 libarchive libass libavdevice libbluray libdl libm libmpv-shared libplacebo libplacebo-next librt linux-fstatfs lua52 manpage-build memfd_create noexecstack pipewire plain-gl posix pulse rubberband rubberband-3 sdl2 sdl2-audio sdl2-gamepad sdl2-video sixel spirv-cross stdatomic threads uchardet vaapi vaapi-drm vaapi-egl vaapi-libplacebo vaapi-wayland vaapi-x-egl vaapi-x11 vdpau vector vt.h vulkan wayland wayland_protocols_1_24 x11 xv zimg zlib [cplayer] Reading config file /etc/mpv/encoding-profiles.conf [cplayer] Applying profile 'default'... [cplayer] Reading config file /home/me/.config/mpv/mpv.conf [cplayer] Applying profile 'default'... [cplayer] Setting option 'slang' = 'jpn,eng' (flags = 4) [cplayer] Setting option 'alang' = 'jpn,ger,eng' (flags = 4) [cplayer] Setting option 'save-position-on-quit' = '' (flags = 4) [cplayer] Setting option 'ignore-path-in-watch-later-config' = '' (flags = 4) [cplayer] Setting option 'write-filename-in-watch-later-config' = '' (flags = 4) [cplayer] Setting option 'sub-file-paths' = '/home/me/Downloads' (flags = 4) [cplayer] Setting option 'screen' = '0' (flags = 4) [cplayer] Setting option 'v' = '' (flags = 8) [ifo_dvdnav] Opening /home/me/.config/mpv/input.conf [bdmv/bluray] Opening /home/me/.config/mpv/input.conf [file] Opening /home/me/.config/mpv/input.conf [input] Parsing input config file /home/me/.config/mpv/input.conf [input] Input config file /home/me/.config/mpv/input.conf parsed: 1 binds [cplayer] mpv 0.35.1 Copyright © 2000-2023 mpv/MPlayer/mplayer2 projects [cplayer] built on UNKNOWN [cplayer] FFmpeg library versions: [cplayer] libavutil 57.28.100 [cplayer] libavcodec 59.37.100 [cplayer] libavformat 59.27.100 [cplayer] libswscale 6.7.100 [cplayer] libavfilter 8.44.100 [cplayer] libswresample 4.7.100 [cplayer] FFmpeg version: 5.1.4-0+deb12u1 [cplayer] [cplayer] Usage: mpv [options] [url|path/]filename [cplayer] [cplayer] Basic options: [cplayer] --start=
BhaturaGuy commented 1 month ago

Same issue here for for a long time