XBMC Changelog
#1
sourceforge changed servers and the log pages source has changed slightly.

replace the following three functions in class main:

Quote:    def get_log(self):
       reresult = re.search("added/fixed: \(dd-mm-yyyy\) \(please specify date in cet\)\n(.*)</pre>", self.data, re.dotall | re.ignorecase )
       changelog = reresult.group(1)
       temp = changelog.splitlines(true)
       prefinal = ""
       for x in range(listrange):
           prefinal = prefinal + temp[x]
       final = prefinal.replace("  - ", '')
       final = final.replace("<", '<')
       final = final.replace(">", '>')
       final = final.replace("&", '&')
       final = final.replace(""", '"')
       
       return final
   
   def get_data(self):
       data = urllib.urlopen("http://xbmc.cvs.sourceforge.net/xbmc/xbmc/changelog.txt?view=markup")
       self.data = data.read()
   
   def get_info(self):
       reresult = re.search("<br /><em>(.*)</em>", self.data, re.ignorecase )
       result = reresult.group(1)
       return result



For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
Reply
#2
can somebody with a account commit this changes to xbmcscripts.com so this new version is available to all users who are not reading in this forum?

thanks nuka1195 for fixing this. Smile



My XBOX built into a Sony Hifi CD-Player Case
XBOX Hifi Media Center Picture Gallery

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.


Image
Reply

Logout Mark Read Team Forum Stats Members Help
XBMC Changelog0