v19 Addon Logging Deprecation: NOTICE/SEVERE levels to be deprecated by end of June '20
#18
Hello,
I am reaching out as earlier today, I started to see warning<general>: I am new to python itself as of about a month ago and about 6 months or so to the chats. Despite my somewhat long time use of Kodi. I'm curious to know, in these messages, is there a way for me to have dumbed down, to identify what exactly needs to be changed here? I assume you replace the old with the new. In the first example, I wasn't sure if I am supposed to list all three in the same spot with each other I found some of them but don't want to change anything until I have a clearer understanding. These were located in the Log Viewer. I am not around to try anything at the moment or send image of logfile. Thanks! For example:

ListItem.addStreamInfo() should be replaced with InfoTagVideo.addVideoStream(), InfoTagVideo.addAudioStream() and InfoTagVideo.addSubtitleStream().

OR 

Setting most vide properties through ListItem.setInfo() is deprecated and might be removed in future Kodi versions. Please use the respective setter in InfoTagVideo.

Please advise. Thanks!
Reply


Messages In This Thread
RE: Addon Logging Deprecation: NOTICE/SEVERE levels to be deprecated by end of June '20 - by davelee77 - 2023-10-11, 07:33
Logout Mark Read Team Forum Stats Members Help
Addon Logging Deprecation: NOTICE/SEVERE levels to be deprecated by end of June '200