@byron
Why you switch not to git (github) is a better option to day .
Most what was located on svn it's switched to git as exsample (main xbmc)
And with this you have more options.
When i think back on the time with python 2.4 i found the[removed] it used git on the addon self (i have not adapted the github code on the addon and have only commit out on the adapted addon self then it's uses requests and this was with python 2.4 not easy to emulate:
Anyway:
[edit -addon link removed -
http://www.xbmc4xbox.org.uk/forum/viewt ... f=4&t=2820 - this includes linking to addons as code examples]
I hope this can help when you switch to git i have it not tested on xbmc4xbox but i think the test is a option for You.
https://github.com/jacquev6/PyGithub
short intruction:
http://jacquev6.github.io/PyGithub/v2/i ... troduction
cookebook
http://jacquev6.github.io/PyGithub/v2/cookbook.html
EDIT 1:
When you only wants to recursiv download from svn like wget you can that do over a python script.
You can first read the skin.xml for the VersionNumber and point it out i mean 3.5.4.1 to 3541 as example variable i use inetversion
than read the Versions Number from the installed skin on the skin.xml and point it out the Version what installed is 3.5.4.0 poit it out to 3540
then you do it's like that:
Code: Select all
inetversion='3.5.4.2'
inetversion=inetversion.replace('.','')
instversion='3.5.4.1'
instversion=instversion.replace('.','')
#you can use re.sub for replace to
if inetversion > instversion:
print 'new Version'
print '-----------'
print 'downloading and install new Version'
else:
print 'no new version aviable'
pass
but better where when you install the skin you storing the version and you must than only access one version this from inet so you can update the skin self only option is to use a other skin on this moment.or you use a autostart script what with the next run show what is on the Folder (this what you have downloaded switch to a other skin (i can not say its that on xbmc python working and install the new skinversion and switch back to the new installed skin.
a working solution for recursives downloading over python have i found
regards Jan