2014-08-08, 11:04
(2014-08-08, 02:02)nickr Wrote: 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 requestand turns it into this requestCode: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.
Thanks nickr. I will try this, but the best thing about bromix youtube addon is speed. your method sacrifices speed somewhat. This will be noticeble on Pi? but not so much on modern hardware.
So basically these are the steps.
get bromix addon in xbmc.org repo
get the authors of addons you would like to change their code to download this youtube addon instead of the old (if they are willing to)
show yatse that enough addons have moved to this youtube addon, so they can change their code
this addon becomes "officially the" youtube addon?
but right now im going to try nickr method...oh I forgot I dont know python lol