PlexKodiConnect icon indicating copy to clipboard operation
PlexKodiConnect copied to clipboard

Widget error messages

Open the-jeffski opened this issue 2 years ago • 1 comments

Setting up Nexus build and I get a stream of errors on the Kodi log from widgets showing items from the hub.

2023-01-20 13:16:23.496 T:15104 warning : ListItem.addStreamInfo() is deprecated and might be removed in future Kodi versions. Please use InfoTagVideo.addVideoStream(), InfoTagVideo.addAudioStream() and InfoTagVideo.addSubtitleStream(). 2023-01-20 13:16:23.496 T:15104 info : Skipped 2 duplicate messages.. Which hits the log for every item in the widget.

and

2023-01-20 14:04:29.986 T:7816 warning : "resumetime" in ListItem.setProperty() is deprecated and might be removed in future Kodi versions. Please use InfoTagVideo.setResumePoint(). 2023-01-20 14:04:29.987 T:7816 warning : "totaltime" in ListItem.setProperty() is deprecated and might be removed in future Kodi versions. Please use InfoTagVideo.setResumePoint().

I see this is referenced in widgets.py and it ends up throwing a row for every item in the widget. Looks like a reference change has been made that needs updating for Nexus onwards.

the-jeffski avatar Jan 20 '23 17:01 the-jeffski

And doing a bit of digging on what the code amend is I saw this https://forum.kodi.tv/showthread.php?tid=369255&page=2 seems there is a module available to make this an easier swap.

the-jeffski avatar Jan 23 '23 15:01 the-jeffski