2014-08-18, 08:52
(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">