2014-08-08, 02:02
Getting bromix's addon into the xbmc.org repo will not mean that every other addon will start using it by default. The name of the addon is still different and the calling mechanism is different - see post #53.
I think that the reason that addons that need youtube download the "official" addon is that they specifically have plugin.video.youtube as a pre-requisite.
It seems to me that you could fool the system and dependent addons, into using bromix's addon by replacing plugin.video.youtube with a short python script which takes this request and turns it into this request
Call it plugin.video.youtube and replace the existing "official" plugin with it on your system. All dependent addons will think the "official" addon is present, will hand off their request which will be converted to a bromix addon request.
I think that the reason that addons that need youtube download the "official" addon is that they specifically have plugin.video.youtube as a pre-requisite.
It seems to me that you could fool the system and dependent addons, into using bromix's addon by replacing plugin.video.youtube with a short python script which takes this request
Code:
file=plugin://plugin.video.youtube/?path=/root/video&action=play_video&videoid=%VIDEOID%
Code:
plugin://plugin.video.bromix.youtube/?action=play&id=%VIDEOID%
Call it plugin.video.youtube and replace the existing "official" plugin with it on your system. All dependent addons will think the "official" addon is present, will hand off their request which will be converted to a bromix addon request.