Closed YoureMySoul closed 8 months ago
It's expected to happen, because this plugin doesn't cache property values.
It will fetch the property from mpv when the data is rendering (every frame).
IDK If it helps or not but I have isolated the environment with minimal configuration and ensured that no other scripts or configs interfere. Here is the results:
Then I found a workaround for the YouTube issue:
Properties
tab.ALL
filter option.INT64
.ALL
.Environment:
cmake . && cmake --build .
mkdir /tmp/debug_mpv
cd /tmp/debug_mpv
mkdir scripts
echo '` script-message-to debug show' > input.conf
cp /path/to/debug.so ./scripts/
mpv --config-dir=. "$ANY_YOUTUBE_URL"
Thank you for this useful plugin.
From: https://github.com/mpv-player/mpv/blob/master/TOOLS/lua/observe-all.lua
Note that watching/reading some properties can be very expensive, or require the player to synchronously wait on network (when playing remote files), so you should in general only watch properties you are interested in.
Well, the only way to resolve this issue may be using cache.
I see that it's expected for remote streams. Thank you for pointing that out. The workaround works for me; I think I can close the issue now.
To reproduce the issue:
mpv 'https://www.youtube.com/watch?v=mqgEYRtWMJU'
Then, I need to use
xkill
to terminate the frozen plugin.Environment:
uname -r
: 6.6.10-arch1-1OS
: archlinuxmpv --version
: v0.37.0DE/WM
: i3wm