Add-On Repository

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
spiff Offline
Grumpy Bastard Developer
Posts: 12,180
Joined: Nov 2003
Reputation: 82
Post: #11
We just compare file contents so as long as it is consequent it is fine

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
LRFalk01 Offline
Junior Member
Posts: 12
Joined: Mar 2012
Reputation: 0
Post: #12
That turned out to be a good thing seeing how the python script isn't generating the correct md5 anyway. I'll have to work on getting the script to work correctly. Thanks for the heads up Hitcher.
find quote
LRFalk01 Offline
Junior Member
Posts: 12
Joined: Mar 2012
Reputation: 0
Post: #13
Fixed the md5 not vailid issue on the generator script. It looks like it was an issue with how python opens files in Windows. Open the the file in 'rb' mode to fix the md5 not being right, also appended the file name. TeraCopy validates the file now. Everything is golden now. Thanks again everyone.
find quote
Hitcher Offline
Skilled Skinner
Posts: 9,927
Joined: Aug 2007
Reputation: 67
Location: Eastleigh, UK
Post: #14
Just noticed this myself as well.

I was previously using Little MD5-Creator to make them but have recently switched over to a more automated repo updater for my skins so as to eliminate human error.

EDIT: Care to post the updated script?

Thanks.

PS. Might also be worth editing the wiki link.

[Image: sig_zps3af3b48e.jpg]
(This post was last modified: 2012-04-06 18:02 by Hitcher.)
find quote
LRFalk01 Offline
Junior Member
Posts: 12
Joined: Mar 2012
Reputation: 0
Post: #15
Here you go:
addons_xml_generator.py
I changed the script from using the md5 import to using hashlib. From what I read, md5 is depreciated.

Yeah, the project is not quit ready for anyone to use yet. It is almost there. I do plan on spending some time on the wiki before I have anyone use it.
(This post was last modified: 2012-04-06 18:06 by LRFalk01.)
find quote
Hitcher Offline
Skilled Skinner
Posts: 9,927
Joined: Aug 2007
Reputation: 67
Location: Eastleigh, UK
Post: #16
I run mine using QuickPAR and for that to work there needs to be two spaces between the code and label.

[Image: sig_zps3af3b48e.jpg]
find quote
Post Reply