![]() |
|
[WINDOWS] Automatic Update Client for XBMC - Printable Version +- XBMC Community Forum (http://forum.xbmc.org) +-- Forum: Help and Support (/forumdisplay.php?fid=33) +--- Forum: Supplementary Tools for XBMC (/forumdisplay.php?fid=116) +--- Thread: [WINDOWS] Automatic Update Client for XBMC (/showthread.php?tid=48517) |
- Shadok - 2011-03-20 20:20 I guess you could make the date the revision number ? This way the updater code would not need to be altered and only the update.xml file would have to be deleted the first time. Ex : XBMC-RevYYYYMMDD.zip - kricker - 2011-03-20 20:24 Yeah. That's what I was mentioning earlier. I'm looking into how to get that done automagically now. - Shadok - 2011-03-20 20:27 Too bad you removed all the files from the ftp, I could have tried to rename one and see if it worked with the updater. - Shadok - 2011-03-20 20:29 Mmmh, I guess i could zip my own install, upload it with the right name and check it this way. EDIT: trying it
- kricker - 2011-03-20 20:53 Yeah. I thought "I'll clean up all the old files and just build a new one and up it." Then of course I am getting build errors So I am starting back from a fresh source folder.
- Shadok - 2011-03-20 21:24 Getting a little rusty ?
- Shadok - 2011-03-20 21:37 Uploading XBMC-Rev20110320-dx.zip - Shadok - 2011-03-20 21:42 Okay, it works fine, BUT, the installer only care for the 6 first digits so if you have more than a build the same month, it won't work. Maybe i should have adapted the regexp. 2011-03-20 20:42:09.2814-NLog.LoggerImpl.Write|Trace|Successfully downloaded html page http://xbmc.shadowprojects.net/shadok/ 2011-03-20 20:42:09.2814-NLog.LoggerImpl.Write|Info|Trying to parse out the builds list from HTML string 2011-03-20 20:42:09.2814-NLog.LoggerImpl.Write|Info|Total of 1 builds were found. Latest:201103 2011-03-20 20:42:09.2814-NLog.LoggerImpl.Write|Info|Latest available build:201103. Currently installed:35744 2011-03-20 20:42:09.2814-NLog.LoggerImpl.Write|Info|Rev:35744, Installation Date:16/01/2011 23:27:20, Supplier: 2011-03-20 20:42:09.2970-NLog.LoggerImpl.Write|Info|Rev:35744, Installation Date:16/01/2011 23:27:20, Supplier: 2011-03-20 20:42:47.0958-NLog.LoggerImpl.Write|Info|Rev:35744, Installation Date:16/01/2011 23:27:20, Supplier: 2011-03-20 20:42:47.1114-NLog.LoggerImpl.Write|Info|Setting System State to [ES_CONTINUOUS] 2011-03-20 20:42:47.1270-NLog.LoggerImpl.Write|Info|Rev:35744, Installation Date:16/01/2011 23:27:20, Supplier: 2011-03-20 20:42:47.1426-XbmcUpdate.UpdateEngine.UpdateManager.DownloadBuild|Info|Downloading build 201103 from the server 2011-03-20 20:44:49.4156-NLog.LoggerImpl.Write|Info|Download completed successfully 2011-03-20 20:44:50.3516-NLog.LoggerImpl.Write|Info|Rev:35744, Installation Date:16/01/2011 23:27:20, Supplier: 2011-03-20 20:44:50.3672-NLog.LoggerImpl.Write|Info|Rev:35744, Installation Date:16/01/2011 23:27:20, Supplier: 2011-03-20 20:44:50.3984-NLog.LoggerImpl.Write|Info|Extracting Update 201103 to C:\Program Files (x86)\XBMC\Update-dx\temp\\XBMC-201103\\xbmc\ 2011-03-20 20:47:43.2312-NLog.LoggerImpl.Write|Info|All files extracted successfully 2011-03-20 20:47:43.2312-NLog.LoggerImpl.Write|Info|Rev:35744, Installation Date:16/01/2011 23:27:20, Supplier: 2011-03-20 20:47:43.2468-NLog.LoggerImpl.Write|Info|Rev:35744, Installation Date:16/01/2011 23:27:20, Supplier: 2011-03-20 20:47:43.2624-NLog.LoggerImpl.Write|Info|Closing all instances of XBMC 2011-03-20 20:47:44.2764-NLog.LoggerImpl.Write|Info|Rev:35744, Installation Date:16/01/2011 23:27:20, Supplier: 2011-03-20 20:47:44.2920-NLog.LoggerImpl.Write|Info|Copying folder 'C:\Program Files (x86)\XBMC\Update-dx\temp\\XBMC-201103\\xbmc\' ... 2011-03-20 20:48:21.9816-XbmcUpdate.UpdateEngine.UpdateManager.ApplyUpdate|Info|Successfully updated to build 201103 - kricker - 2011-03-20 21:48 Yes, but it looks like it only reads "201103" not "20110320". I might need to drop the 20 part of the year so the day gets read. This also still limits it to only daily builds. Which is fine to me. - kricker - 2011-03-20 22:06 Yeah. I am not getting it to download. Time to edit the regex. I gotta run now. If you come up with the proper regex let me know please I have uploaded a build in the normal location. It has the date and GIT revision number in it.
|