2009-03-20, 18:18
Hi everybody,
I have few questions and remarks about the recent changes (post Atlantis) in XBMC API in Python (xbmc, xbmcplugin, xbmcgui).
I have notice with the last version of XBMC (from SVN) the method getSpinControl() has been removed form ControlTextBox class.
The consequence is scripts using a ControlTextBox doesn't offer text display on few pages or even worst the one calling getSpinControl() are broken and five an error like:
I understand XBMC is a living software (and an amzing one ), but I think it is a shame any change in Python API make script/plugin broken. I totally support improvement of the API, but just compatibility with previous API would be a big plus.
Thanks for your answers
I have few questions and remarks about the recent changes (post Atlantis) in XBMC API in Python (xbmc, xbmcplugin, xbmcgui).
I have notice with the last version of XBMC (from SVN) the method getSpinControl() has been removed form ControlTextBox class.
The consequence is scripts using a ControlTextBox doesn't offer text display on few pages or even worst the one calling getSpinControl() are broken and five an error like:
Code:
15:12:13 T:14100 M:965652480 NOTICE: 'xbmcgui.ControlTextBox' object has no attribute 'getSpinControl'
- My first question is why getSpinControl has been removed in the ControlTextBox class in xbmcgui API? And it is replaced by something else?
- My second question is why not keeping the API compatible with previous version of the API when such changes are made in it. For instance, if getSpinControl is replaced by something else, keeping it, mentioning in the doc that it is deprecated and what is the new API replacing it.
I understand XBMC is a living software (and an amzing one ), but I think it is a shame any change in Python API make script/plugin broken. I totally support improvement of the API, but just compatibility with previous API would be a big plus.
Thanks for your answers