2022-08-13, 16:05
I am hoping to get a developer discussion going around how folks are thinking about handling the migration from ListItem.setInfo() to InfoTagVideo and similar calls (i.e. ListItem.setProperty(), ListItem.addStreamInfo() etc..). I started testing with the Nexus Alpha 2 release for a video addon and the logs are full of the deprecation notice. There have been prior discussions regarding this migration happening. For some addons there could be quite a bit of code changes to handle the migration.
My first main question is whether folks are thinking of creating a new release for their addons for Nexus or try to maintain a common code release between Matrix and Nexus and detect the version number to determine whether to use ListItem.setInfo() or InfoTagVideo ? Or just let it go for now and ignore the log messages and deal with it in the future when it gets closer to ListItem.setInfo() support being dropped.
I can see the amount of deprecation messages in many video addons causing more work for debugging. I am leaning towards separate Matrix and Nexus releases of my addons in the future and maybe starting on one now to see if I find any issues with InfoTagVideo.
Thoughts ?
Jeff
My first main question is whether folks are thinking of creating a new release for their addons for Nexus or try to maintain a common code release between Matrix and Nexus and detect the version number to determine whether to use ListItem.setInfo() or InfoTagVideo ? Or just let it go for now and ignore the log messages and deal with it in the future when it gets closer to ListItem.setInfo() support being dropped.
I can see the amount of deprecation messages in many video addons causing more work for debugging. I am leaning towards separate Matrix and Nexus releases of my addons in the future and maybe starting on one now to see if I find any issues with InfoTagVideo.
Thoughts ?
Jeff