Page 3 of 12

Re: Addons4Xbox development

Posted: Mon Dec 10, 2012 12:48 pm
by BuZz
Jan: whufclee can set you up with access - all hosted on google code. please PM him. Please that login is working on youtube. Didn't test ;-)

whufclee:

I have addressed some of the issues you mentioned - still more to do but:

When there was an depedent module/addon installed, it did indeed fail. now it will install over the top silently. I have also added the xbmcaddon module to the repository, and made the [removed] dependent on the new version. it should now overwrite any old one, so please can you grab the latest addons4xbox installer and try and reinstall [removed] and we can see if this solves it.

The xbmcaddon is also an updated version, that should play better with this.

temhil:

there is a lot of commented out code in this part, where the dependent libraries are installed (and around the codebase in general). I am struggling a little bit to work out what is what in places (my last change took a fair amount of time to work out), are you able to help to clean up stuff at all which is no longer needed ? Do you still have an xbox in the cupboard? I realise you have moved on to xbmc, but I would really appreciate any further help :) if you dont have an xbox I realise this would be a problem, but it would be technically possible to run this on an old xbmc - such as a pre addons build perhaps.

Anyway, fully understand if you can't and I hopefully I will become more familar with the code ;-)

Re: Addons4Xbox development

Posted: Mon Dec 10, 2012 1:12 pm
by Kozz
I'm also going to have a good run with this when I wake up, was there anything in particular that needs attention or further testing for breakage etc. ? Also should we hold of focusing on what addons install or break for the time being till you tweak the code some more?

Jan I'm happy to see you here, you have a lot to contribute and I believe things can only improve for xbmc4xbox now that we are all on the same page :)

Re: Addons4Xbox development

Posted: Mon Dec 10, 2012 6:06 pm
by skatulskijean
Kozz wrote:Jan I'm happy to see you here, you have a lot to contribute and I believe things can only improve for xbmc4xbox now that we are all on the same page :)
I was not on a other page but i say what i think not more!

Regards Jan

Re: Addons4Xbox development

Posted: Mon Dec 10, 2012 6:12 pm
by BuZz
I updated [removed] again, to fix the script error after playing a video. was actually a [removed] script bug it seems, so I fed it upstream also.

Re: Addons4Xbox development

Posted: Mon Dec 10, 2012 7:32 pm
by skatulskijean
@BuzZ
Thanks !

Please change on the urlresolver the pfad for Youtube on youtube py line 37 from:
plugin = 'plugin://plugin.video.youtube/?action=play_video&videoid=' +\
to:
plugin = 'plugin://video/YouTube/?action=play_video&videoid=' +\

and from the vimeo.py line 37 from:
plugin = 'plugin://plugin.video.vimeo/?action=play_video&videoid=' +\

to:
plugin = 'plugin://video/Vimeo/?action=play_video&videoid=' +\


thanks

Regards Jan

Re: Addons4Xbox development

Posted: Mon Dec 10, 2012 7:52 pm
by BuZz
will do - or you can do it if you get there first as I'm right in the middle of some code patches ;-) this could probably be worked around in the xbmc4xbox code actually, but then its a quick plugin fix

Re: Addons4Xbox development

Posted: Mon Dec 10, 2012 10:39 pm
by temhil
Great work Buzz, thanks!

Re: Addons4Xbox development

Posted: Tue Dec 11, 2012 12:57 pm
by skatulskijean
BuZz wrote:will do - or you can do it if you get there first as I'm right in the middle of some code patches ;-) this could probably be worked around in the xbmc4xbox code actually, but then its a quick plugin fix
- can it not do on moment setting new up my notebook with winxp and tortise for a changing solution!
- next problem with what a version can i adapt with the last stable or the current nightlie (the xbmcswift 2 Fork (Big Thanks to dersphere ) is working on the last stable but works not on the last nightlies !

you can see the changes here https://github.com/skatulskijean/xbmcsw ... /xbox_fork

and the first fixed addons here https://github.com/skatulskijean
I adapt the other xbmcswift 2 addons later!

Regards Jan

Re: Addons4Xbox development

Posted: Tue Dec 11, 2012 7:48 pm
by BuZz
added your youtube/vimeo path fixes. thanks.

Re: Addons4Xbox development

Posted: Tue Dec 11, 2012 9:52 pm
by skatulskijean
@BuzZ

Thanks

have you the last ecostream changes added and streamcloud

changes since here:

https://github.com/Lynx187/script.modul ... rlresolver

Regards Jan

Re: Addons4Xbox development

Posted: Wed Dec 12, 2012 8:34 am
by Kozz
Should the youtube login be working now? I tried the one on the addon4box installer, for me it doesn't script error but timesout trying to login, might be something to do with YT's recent site changes?

Re: Addons4Xbox development

Posted: Wed Dec 12, 2012 8:46 am
by skatulskijean
@KozZ

BuzZ make nothing other as i when he adapt 1 Channel or Youtube !
The login is for me not working and i think for others not working to!
It give no magic !
And i think it same error hat is on the log (it can not read complete )
Python like postdata redirect and others simple not working right on the standart python 2.4 !
The Developers make a newer Python Version and the Python Versions have codechanges that she better work as the old Version!
We can fix many is the same what BuzZ say as example integrate the way from socket timeout from python2.5 to python 2.4 and others but it will not bring the same as when we change to a newer python !
I devenitiv understand that it was not a working integrated python 2.6 Version for xbmc!
But when we can change to python 2.5 (most of the syntax problem since with this solved - and we can then look to integrate changes from python 2.6 or better!)

You have a Timeout problem , then set socket.timeout value to a working solution

Regards Jan

PS :BuzZ thanks for your work!

Re: Addons4Xbox development

Posted: Wed Dec 12, 2012 3:38 pm
by skatulskijean
@ BuzZ

For better organisation and no duplicate work i adapt BlibTv and Vimeo from eden repro (Than we have what most mainline addons have as dependencies to stream videos)

next step since all xbmcswift addons for the xbmcswift2 (Version)
Radio
Shoutcast2

4Players Videos
Academic Earth
Al Jazeera
Apple iTunes Podcast
BörsenTV
Classic Cinema
CollegeHumor
Documentary.net
myVideo.de
Dump.com
Wimp.com and others

next all german addons and Xstream as urlresolver Addon!

then i make a blacklist from the rest the addons from the main repro (video)what works or not and resize the fanart from 1 Cannel and tumbnails
to a xbox friendly resolution (we have a with this better response and a little bit more ram free)


I have BlipTv partical working (must delet the download ability) i hope i have access and can it add to addon4xbox installer xbmc4xbox repro!
I hope all works right i am a nob with svn and other !


I have a qestion why you put the dependencies from scriptmodule.common.cache on the addons!
I think it is a service addon an it give only the storageserver but the storageserver on xbmc4xbox will not work or will have some work!
All addons what we have working works only with a Storageserverdummy(But it works not all with the same)!
I delete for the moment all Download ability over scriptmodule.simpledownloader and on the Contextmenu from the addon self!
The scriptmodule simpledownloader will not work or will have some work and is for many people on main xbmc not the right working solution to!


Regards Jan

Re: Addons4Xbox development

Posted: Wed Dec 12, 2012 3:49 pm
by BuZz
I didn't add that dependency so I assume it was there already. I disabled use of the downloader from youtube, and removed that dependency at least. If the cache isn't used then of course that can be removed too. I didn't spend much time on the youtube. it was meant as a starting point, and im sure there is lots of room for improvement.

Re: Addons4Xbox development

Posted: Wed Dec 12, 2012 3:57 pm
by skatulskijean
Thanks BuzZ

@KozZ

please help with adapting from addons from your country or what i have no access from my country!

Re: Addons4Xbox development

Posted: Wed Dec 12, 2012 4:20 pm
by Kozz
Will do Jan

First I want to have a look at the spreadsheet we have on google docs, I think whufclee might have started testing some of the xbmc.org ones again, But it might help us when it comes time to sort the blacklist or whatever.

@Whufclee is this the right one? https://docs.google.com/spreadsheet/ccc ... JalE#gid=0
if not do you guys think its best to start a new one sorted per repo?

Re: Addons4Xbox development

Posted: Wed Dec 12, 2012 5:27 pm
by skatulskijean
@KozZ
my solution for adapting is a working main xbmc install to test the addons from the main repro!
Then the newest nightly and the actual stable on my build and the addon 4xbox installer to access the addons from the main repro !
When the addon or script is working on main xbmc i install it over addon 4xox installer !
When i have a script error i look first on the addon.xml and on the debug log!
I think the most addons what since on xbmc.org repro /video have i adapted on last time for my jan's xbmc4xbox versions!
when it give a new version and i can access the code over svn or git (most since git) i put the changes on the adapted addon to and look it works!
when not i change the changes backward thats works!
we can devinitiv not say that a addon from any repro works with the next version or not!


Regards Jan

Re: Addons4Xbox development

Posted: Wed Dec 12, 2012 11:38 pm
by whufclee
@kozz: Yes that's the most current spreadsheet we done, if you remember we just wanted to get XAI out to everyone as a stop-gap installer asap so I think there were a few addons we didn't add to the list at the end of all that testing. Hopefully it might still be of some use but a new blacklist spreadsheet is probably a good idea.

Re: Addons4Xbox development

Posted: Thu Dec 13, 2012 1:53 pm
by skatulskijean
@ BuzZ

I have plugin BlipTv added !
Please can you make the changes on the repro addon.xml that i have a example again and create the md5 hash!
we can i self create the md5 hash!

I have make the first bad thing i have it on tortoise svn not first added and it give no diffs !
But i have understand i must first the original addon copy to the location and then add on tortois svn and then make the changes !
I hope that is not a Prolem i make it with the next additions better!


Regards Jan

Re: Addons4Xbox development

Posted: Thu Dec 13, 2012 5:59 pm
by Kozz
Hey Jan

I had the same problem if I did my checkout of only the addons folder, I did another checkout from this address https://addons4xbox.googlecode.com/svn/ so It fetches the entire repo first, then when you commit to anything it will ask for your user and password the first time. I can edit the main addon.xml without doing anything to the md5

Good luck

I added your bliptv and Vimeo to the addons.xml this time, they install and work great !! Let us know if you still have problems editing the addons.xml