Skip to content
This repository was archived by the owner on Nov 27, 2024. It is now read-only.

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

@krogsbell

Description

@krogsbell

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions