2014-08-12, 05:25
after logging in using the google 2step verification, the folders load, but nothing in them except for watch history.
(2014-08-13, 13:17)dkplayaclub Wrote: enable 2 step verification
(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.
(2014-08-13, 18:44)tinybutstrong Wrote:(2014-08-13, 13:17)dkplayaclub Wrote: enable 2 step verification
I don't want more bureaucracy to my life.
Previous "official" Youtube addon is working fine, but I remember to authorize the app somewhat in a google url looooong time ago. Something similar is available for this addon?
(2014-08-13, 12:42)tinybutstrong Wrote: Login not working for me. I'm using the credentials used in youtube.com (gmail+pass), I don't have 2 step verification enabled. Any suggestion would be good.
(2014-08-16, 22:23)xbmcoholic Wrote:(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.
(2014-08-16, 22:23)xbmcoholic Wrote: I'm trying to get this alpha working with the reddit.com plugin
def getYoutubePlayPluginUrl(id):
if xbox:
url = "plugin://video/YouTube/?path=/root/video&action=play_video&videoid=" + id
else:
#url = "plugin://plugin.video.youtube/?path=/root/video&action=play_video&videoid=" + id
url = "plugin://plugin.video.bromix.youtube/?action=play&id=" + id
return url
<addon id="plugin.video.reddit_tv" name="Reddit.com" version="99999.0.0" provider-name="AddonScriptorDE">
(2014-08-17, 22:53)arithine Wrote: Is there a way to force the plugin to reload "My Subscriptions" when accessed from outside the plugin? Eg: through a favorite or sub-menu
<keymap>
<global>
<keyboard>
<F5>Container.Refresh</F5>
</keyboard>
</global>
</keymap>
(2014-08-18, 08:52)torenvalk Wrote:(2014-08-16, 22:23)xbmcoholic Wrote: I'm trying to get this alpha working with the reddit.com plugin
In the short term it will be easier to just edit the reddit addon rather than use a dummy youtube addon. Performance will also be better as it won't have to load another addon before playing a video.
Find the addon directory plugin.video.reddit_tv, edit default.py and comment out the plugin.video.youtube line and replace with plugin.video.bromix.youtube line as below.
Code:def getYoutubePlayPluginUrl(id):
if xbox:
url = "plugin://video/YouTube/?path=/root/video&action=play_video&videoid=" + id
else:
#url = "plugin://plugin.video.youtube/?path=/root/video&action=play_video&videoid=" + id
url = "plugin://plugin.video.bromix.youtube/?action=play&id=" + id
return url
Prevent updates from overwriting your changes by editing addon.xml and making the version number very large.
Code:<addon id="plugin.video.reddit_tv" name="Reddit.com" version="99999.0.0" provider-name="AddonScriptorDE">