Join GitHub today
[Binary Addon] Provide instance version when creating AddonInstance #15369
[Binary Addon] Provide instance version when creating AddonInstance
This PR adds an optional CreateInstance overridable method which provides the interface version compiled inside kodi. No adaption of existing addons necessary.
Beside this the current addon system is not downgrade capable for binary addons.
Motivation and Context
For the binary addon inputstream.adaptive I need to know which API version is compiled in kodi to implement workarounds for the combination old(er) kodi + newer inputstream addon.
How Has This Been Tested?
inputstream addon, with / without this PR combinations.
Types of change
@peak3d you tested the following 4 combinations (same version obvious isn't that interesting?