[WINDOWS] Plugin or script to update Third-Party SVN builds?
rimmi2002
Senior Member Posts: 128 Joined: Jun 2008 Reputation: 0 |
Is there an script or plugin that can automatically update my XBMC with the new revs so I don't have to keep downloading the latest building and reinstalling them, Thanks.
Setup XBMC Build 33619 ASUS M4A78-EM mobo AMD X2 Regor 250 Processor Integrated 780g HDMI graphics. SP/DIF optical wire for sound Win 7 Prof 640bit + Onkyo SR606 + Panasonic Viera 50" 720p |
| find quote |
mpw222
Senior Member Posts: 117 Joined: Mar 2008 Reputation: 0 |
2009-03-21 19:48
Post: #2
I wrote a powershell script that does this for the jester builds. It needs to be run outside xbmc (it will close xbmc if running), and it requires .net 2 and powershell. I just have eventghost launch it. PM me if you're interested.
|
| find quote |
febox-pootz
Junior Member Posts: 38 Joined: Sep 2008 Reputation: 0 |
2009-03-21 21:50
Post: #3
i'm interested too... can you send me please? thanks man
|
| find quote |
Livin
Posting Freak Posts: 3,433 Joined: May 2004 Reputation: 17 Location: above ground |
2009-03-21 23:37
Post: #4
mpw,
maybe you can post it and someone might be able to convert it to an XBMC script? I'm not an expert but I play one at work. |
| find quote |
kay.one
Senior Member Posts: 151 Joined: Dec 2006 Reputation: 3 |
2009-03-22 02:05
Post: #5
could you please post the script on pastbin or even here so we can all use it,
|
| find quote |
mpw222
Senior Member Posts: 117 Joined: Mar 2008 Reputation: 0 |
2009-03-22 02:13
Post: #6
OK, here it is. I borrowed a wget function from a PowerShell repository, which is why it is written much better than the rest of the script. I'm definitely a scripting novice, so I encourage anyone to improve this or convert it to something that can be launched from inside xbmc.
What it does: 1. Downloads the html listing of jester's builds. 2. If a newer version is found (based on build number), the installer is downloaded. On the first run, it will always download the newest build. 3. The existing imdb scraper is preserved. 4. If xbmc is running, it gets closed. 5. New build installs silently. 6. Previous imdb scraper restored. 7. Build number written to ver.txt in xbmc directory. 8. XBMC starts in fullscreen. How to run it: 1. Vista and XP only: Download Powershell 2 CTP3 (PowerShell 1.0 might work). 2. XP only: Download .NET 3.5 (2.0 might work) 3. Open a PowerShell prompt. In Vista/7, you'll need to run as an admin. 4. Run "set-executionpolicy remotesigned" 5. From here on, it can be run with powershell.exe <path>\update-xbmc.ps1 by an administrator. Notes 1. Tested on XP, Vista and 7, x86 and x64. Running from a remote on Vista or 7 pretty much requires turning off UAC. Code: ################################################################################### |
| find quote |
kricker
Team-XBMC QA Specialist Posts: 3,307 Joined: Apr 2004 Reputation: 16 Location: Knoxville, TN |
2009-03-22 06:21
Post: #7
If someone gets this working stable in a XBMC plugin like BigBellyBilly's XBMC T3CH updater script, I'll setup a ftp/http site for Ikons and myself to post our builds. Jester to if he likes, but it looks like he already has a good system in place for himself.
I was told once a long time ago by BigBellyBilly that he'd welcome someone to modify his script for such an endeavor.
(This post was last modified: 2009-03-22 06:28 by kricker.)
|
| find quote |
kay.one
Senior Member Posts: 151 Joined: Dec 2006 Reputation: 3 |
2009-03-24 20:05
Post: #8
if you could upload your files to a simple html page, that could be parsed easily or even with an rrs feed i could modify this script to pick up any of the builds based on a parameter.
|
| find quote |
kricker
Team-XBMC QA Specialist Posts: 3,307 Joined: Apr 2004 Reputation: 16 Location: Knoxville, TN |
2009-03-24 20:53
Post: #9
PM me with directions on how you need it structured and we can start testing.
|
| find quote |
xexe
Fan Joined: Sep 2008 Reputation: 1 |
2009-03-24 21:33
Post: #10
Something worth considering in this excellent project is that each build exe should identify more than the vanilla build number.
Jesters format of: XBMCSetup-Rev17788-jester-ext.exe Is a good model to build upon. The main thing would be that if someone wanted say "the new Ikons with smoothvideo and HD tagging" if such a thing existed the filename contained that info. |
| find quote |

Search
Help