Skip to content

Release v1.0.1 breaks Nexus compatibility #5

@benyamin-codez

Description

@benyamin-codez

Version 1.0.1 breaks Nexus (Kodi v20) compatibility due to down-level python version (< v3.10) and missing window reference.

Fixed with the following:

--- ./a/utilities.py
+++ ./b/utilities.py
@@ -1,4 +1,5 @@
+from __future__ import annotations
 import json
 import re
 import xbmc
 import xbmcgui
@@ -7,9 +8,9 @@
 from urllib.parse import unquote
 from typing import Any
 
 # noinspection PyPackages
-from .constants import ADDON
+from .constants import ADDON, WEATHER_WINDOW
 # noinspection PyPackages
 from .logger import Logger

Untested on Omega or Piers...

Thanks for the great plugin, Jeremy.

Best regards,
Ben

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