DiMartinoXBMC / script.module.libtorrent

python-libtorrent for Kodi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

New version of libtorrent not imported until Kodi is reset

ChopChopKodi opened this issue · comments

When I force the version of libtorrent to use, the addon unzips and installs the new library version in the temporary folder but then, when I press the run button, it always imports the old one until I close Kodi and open it again.
Don't know if it's a bug but it feels strange

It's not a bug, kodi (or should I say python) imports library only 1 time, you kinda have to use "del" to unimport it, that slows work A LOT, so if you want to force it in your plugin, just delete the namespace.