iwalton3 / plex-mpv-shim

Cast media from Plex Mobile and Web apps to MPV. (Unofficial)
MIT License
368 stars 21 forks source link

plex shows two instances of mpv-plex-shim, only one running #49

Open geeohgeegeeoh opened 3 years ago

geeohgeegeeoh commented 3 years ago

Screen Shot 2021-09-20 at 11 10 37 am I always see two instances of the shim in my sources list.

client is plex web player on OSX/Chrome

mpv-plex-shim is running via an mpv instance (not the libmpv binding) on Ubuntu/RPi4 over ethernet.

geeohgeegeeoh commented 3 years ago

here's my runstate: one python3 invocation of the shim, one instance of mpv running.

ggm@magicpudding:~$ ps ax|grep mpv
  49736 pts/1    Sl+   13:25 /usr/bin/python3 /usr/local/bin/plex-mpv-shim
  49743 pts/1    SLl+  14:53 mpv --input-default-bindings=yes --input-vo-keyboard=yes --input-media-keys=yes --include=/home/ggm/.config/plex-mpv-shim/mpv.conf --input-conf=/home/ggm/.config/plex-mpv-shim/input.conf --player-operation-mode=cplayer --idle=yes --input-ipc-server=/tmp/mpv193076854370656 --input-terminal=no --terminal=no
 249823 pts/0    S+     0:00 grep --color=auto mpv
ggm@magicpudding:~$
LAP87 commented 3 years ago

Same issue here, Windows 10, doesn't matter which browser.

iwalton3 commented 3 years ago

Neat... Do both of them work? Is the response from the Plex server (Devtools/F12 > Network) giving a duplicate response or are they different in some way?

I know historically the application has had issues tearing down old instances when you quit it, but as shown by the ps listing this issue it not that.

geeohgeegeeoh commented 3 years ago

Neat... Do both of them work?

(edited) yes.

Is the response from the Plex server (Devtools/F12 > Network) giving a duplicate response or are they different in some way?

can't see substantive differences.