2020-07-31, 22:13
(2020-07-31, 17:58)FXB78 Wrote:(2020-07-31, 17:47)drinfernoo Wrote: Hey, everyone! Today I've pushedNew artwork looks great, very polished. What's the 'Icon Color' option in Settings, it just throws an error?2.1.0
, which adds new add-on artwork, icon "themes", which you can set in settings, and vastly improves the "Active Widgets" menu, as well as squashing a few other bugs I've found along the way
EDIT: Oh yeah, and before anyone asks, I do intend on letting you change color theme per-widget
This is what I see in the log:
Code:NOTICE: plugin.program.autowidget: [ mode: set_color ]
ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.NameError'>
Error Contents: global name 'utils' is not defined
Traceback (most recent call last):
File "/storage/.kodi/addons/plugin.program.autowidget/main.py", line 11, in <module>
router.dispatch(_plugin, _handle, _params)
File "/storage/.kodi/addons/plugin.program.autowidget/resources/lib/common/router.py", line 138, in dispatch
utils.set_color()
File "/storage/.kodi/addons/plugin.program.autowidget/resources/lib/common/utils.py", line 126, in set_color
choice = dialog.yesno('AutoWidget', utils.get_string(32133),
NameError: global name 'utils' is not defined
-->End of Python script error report<--
Ah, crud! That's my mistake, but will fix shortly.
"Icon Color" changes the color of various icons throughout the add-on (like a "theme"), including menu icons and the next/previous page icons, and can be set to any of the colors defined in CSS5 (color codes like
limegreen
, crimson
, or darkmagenta
), or any arbitrary (valid) hexadecimal color code.For a list of compatible color codes, see the same source I used: https://www.rapidtables.com/web/css/css-color.html
I'll get a
2.1.1
hotfix pushed within the hour.EDIT: Fixed in
2.1.1
.