2014-08-16, 22:23
(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.
Hi Nickr,
Could you expand on this? I'm trying to get your hack working but I'm not sure that I'm changing the right file. I'm running ubuntu and have gone to .xbmc/addons/ and found that the plugin.video.youtube file you mentioned is a folder in my case. I've tried removing the folder and creating plugin.video.youtube.py in it's place with your code - didnt work - and also replacing the existing code found in .xbmc/addon/plugin.video.youtube/default.py with your line of code - also didnt work.
I'm trying to get this alpha working with the reddit.com plugin as I cant seem to get any youtube videos to play in frodo, and this one seems to work while running the addon directly.