Open tonycpsu opened 4 years ago
Eh, I don't think this is a full fix just yet. The issues with video-dec-params
and path
have gone away, but I think it just pushes the race condition problem elsewhere in the code. Now I get things like: Lua error: ...nyc/.mpv/scripts/mpv_thumbnail_script_client_osc.lua:890: bad argument #1 to 'max' (number expected, got nil)
. Getting errors far less often, but still getting them. @TheAMM , do you have any pointers on where to look for the problem?
i have similar problem maybe related to this issue
[mpv_thumbnail_script_client_osc] Lua error: .../.config/mpv/scriptsmpv_thumbnail_script_client_osc.lua:1080: attempt to compare nil with number
more info mentioned here
these are my logs is there some correlation ?
@tonycpsu Do all of the problems you encounter happen shortly after changing videos?
There seems to be a race condition (see #19) when a file is loaded where some properties are set and then later read as nil. This attempts to fix this by saving non-nil properties to the global state and reading from that. Seems to eliminate the problem so far.