jaseg
jaseg
That runtime error is caused by mpv geting a ```log-handler``` option it doesn't know. The ```log_handler``` parameter to the MPV constructor is supposed to be [caught by that constructor](https://github.com/jaseg/python-mpv/blob/master/mpv.py#L535) and...
I tested this exact script on an up-to-date debian sid against python-mpv v0.3.3 and libmpv 0.26.0-3 and it worked without any problems. I'd first try getting an up-to-date ffmpeg/libmpv. If...
Could you tell me your libmpv version and post a script causing the hang?
Ok, I still can't reproduce this. The pure presence of a ```log_handler``` should not make a difference but you could try setting ```loglevel='terminal-default'``` without setting a ```log_handler```. The ```loglevel``` is...
That's really interesting! That points towards some raciness in the cleanup of mpv handles. I will definitely look into that further when I have some time to spare.
I'm pretty sure this is referring to an older version of the mpv doc. According to the current [mpv's client.h doc](https://github.com/mpv-player/mpv/blob/master/libmpv/client.h#L428) all options you'd reasonably expect to be changeable after...
Over at https://github.com/jaseg/python-mpv/issues/233 someone observed a simililar issue. What I noticed there is that on the following stream: https://media-ice.musicradio.com/CapitalMP3 mpv still seems to grow by a few hundred kB every...
Here's a repro for this. On my system I was able to consistently trigger this type of exception by importlib.reload'ing a module. It seems ipython gets confused when the module...
@alexmojaki A way to catch reloading modules would be to insert a [`MetaPathFinder`](https://docs.python.org/3/library/importlib.html#importlib.abc.MetaPathFinder) at index 0 of [`sys.meta_path`](https://docs.python.org/3/library/sys.html#sys.meta_path). When any module is reloaded, that finder will get its `find_spec` method...
I agree that it is still possible to break this solution, but there are some mitigating factors at play and I think the practical risk is very low. * A...