script.module.codequick icon indicating copy to clipboard operation
script.module.codequick copied to clipboard

Using script.module.codequick on Kodi Android requires addon name in code...

Open krogsbell opened this issue 1 year ago • 0 comments

When using script.module.codequick on Chromecast with Google TV HD with Kodi 20.2 (32bit) I get the following error

import urlquick File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.codequick/lib/urlquick.py", line 71, in _addon_data = xbmcaddon.Addon() ^^^^^^^^^^^^^^^^^ RuntimeError: No valid addon id could be obtained. None was passed and the script wasn't executed in a normal Kodi manner.

If I update line 71 to show: _addon_data = xbmcaddon.Addon('script.module.codequick')

all is OK again

Regards Hans

krogsbell avatar Jul 16 '23 08:07 krogsbell