ronie Wrote:From: https://github.com/xbmc/repo-scripts/pul...-248954552
there are a couple of addons in our repo that include the mutagen module in the addon itself.
those addons don't depend on the script module, but on older versions of kodi, the script module will be used (if it's installed) instead of the internal one.
so no, there's no addon depending on it, removing it from the repo won't break those addons,
but if a newer version gets installed through another repo (which this pr is all about) breakage can occur.
Hi Ronie,
Thanks for replying, I thought it best to move it to the forum rather than discuss it on a closed pull request, hope that's OK.
I think this can be broken into 2 section if I understand correctly.
The first is that nothing is using the mutagen module in the official addon repo (Now confirmed by 3 different people) - therefore, as previously discussed - it can (and should) be safely removed. Am I correct in thinking there is no way in Kodi to install just a module - it can only be pulled in as a dependency. In which case it is not possible for people to install it stand-alone - please can we re-open:
https://github.com/xbmc/repo-scripts/pull/268
And get the module removed?
The second issue sounds a little more concerning, it's not a behaviour I have seen before - and I have serious concerns, as what you appear to be saying is that if I have one addon that references another file/library and another addon has the same file/library name - then it will read it from another addon in preference to the one in my own addon? That sounds very strange - and as all my addons have the same lib/settings.py (with class Settings) I would have thought that I would have seen this. (but never have)
And if that is the case, it really wouldn't matter what I named the model in my repo - if it is pulled in regardless and used in preference - the behaviour is the same?
However, you say "but on older versions of kodi" how old do you mean, before Gotham?, Frodo? And is this behaviour fixed in a particular release? Please can you clarify this?
Thanks
Rob