Re: Addons4Xbox development
Posted: Fri Nov 16, 2012 4:42 am
That's right, BuZz dislikes log spamming. LOL
XBMC4Xbox – Media Center for the original Xbox
https://www.xbmc4xbox.org.uk/forum/
!BuZz wrote:If i set up a new addons4Xbox repository it would be nice if people like Jan would add their fixed up stuff, also, and hopefully we can get enough people helping that its kept up to date.
Sorry i have not read this before!BuZz wrote:anyway. still a lot of idea. right now im peeking at jans stuff to generate some diffs to see if using his changes would save some time on some of the non working plugins. If you can save me some time Jan by providing code changes that would be great too. isee in url resolver you disabled some login stuff. which "source" of url resolver did you use btw ? seems there are multiple forks, some which are different but with the same version numbers :/ what was the fix you did for getting urlresolver settings to show ?(i see you mentioned that in your release notes).
appreciate the comments.skatulskijean wrote: On most addons you have :
as example settings = xbmcaddon.Addon()
this will our scriptmodul.xbmcaddon not understand
you must put the addon id in it thats works
settings = xbmcaddon.Addon(id='plugin.video.svt')
BuZz wrote:some of the other stuff can be fixed without a new python also, as a quick fix.. such as the import json for example. should be doable. anyway, we can discuss more once I have the plugin in better shape and a repository setup.
Code: Select all
def play_youtube_video(video_id):
url = video_id
Code: Select all
def play_youtube_video(video_id):
print ("Playing video id: " + video_id )
url = video_id
Code: Select all
def play_youtube_video(video_id):
print ("Playing video id: " + video_id )
url = video_id.replace('plugin://plugin.video.youtube', 'plugin://video/YouTube')
the idea is we only host stuff that needs modification. anything else we should use the main repo, so the idea is to whitelist the stuff that works, or blacklist the stuff that doesnt - depending which works best - maybe blacklisting would be better as then new stuff would show up and we wouldnt need to update as often perhaps.whufclee wrote:This is brilliant news mate, can't wait to try it out.
So can I just clarify something... We would be able to install via the xbmc.org repo if the addon is in the whitelist and the Addons4Xbox repo would only host addons that have been adapted for xbox use?