mediaminister

Results 130 comments of mediaminister

> There are lots of string literals in the code, which in python 2 are not unicode but string. If you force sys.argv to unicode you would be mixing string...

Most likely the arguments in `argv` are not decoded to unicode in the `run` function. Converting the incoming arguments to unicode should fix this problem: ```python for i, arg in...

> I guess that the calling add-on is not using unicode_literals while this add-on now does. The problem with the routing add-on is that `sys.argv` doesn't support unicode strings in...

VRT NU add-on is also hit by this when using a `path` identifier.(` @plugin.route('/url/')`) Stripping of a trailing slash means changing the variable in this case. This should never have...

Thanks for coming up with this interesting proof of concept! However I see some problems to make this the main approach in our add-on for getting the Widevine CDM on...

> Can we determine how much memory is free/available to us? This is not implemented but it should be possible using a standard linux command and execute this with `run_cmd()`...

> So, we may want to allow for this only after accepting the EULA once, or maybe as long as the EULA does not change. I didn't see a Widevine...

> Currently unit tests fail. Strange, maybe related to this: https://github.community/t/segmentation-fault-when-running-binary-in-a-job/18418

@horstle I found and fixed the problem: - the segmentation fault was caused by loading the shared library several times in quick succession. Unloading the library fixes this. There was...

Okay, I removed the fallback. Tests fail, but now you can see why.