[XBOX] T3CH Upgrader (Python Script)

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
blittan Offline
Team-XBMC Handyman
Posts: 1,714
Joined: Jun 2004
Reputation: 11
Location: Sweden
Post: #61
i use Z: in xbmcscripts and it clears, also put the T3CH downloader to save rar there and its usually gone when I have rebooted.

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.
If you don't have the time to read them, please don't take the time to post in this forum!
For troubleshooting and bug reporting please make sure you read this first.
find quote
BigBellyBilly Offline
Skilled Python Coder
Posts: 959
Joined: Feb 2005
Reputation: 2
Location: UK
Post: #62
so you'd like it to download to Z: and unpack there, then copy to <installation_drive>\T3CH_<date>\normal_contents

The purpose of which is to save it from having an extra folder in the final path
eg
<installation_drive\T3CH_date\xbmc\normal_contents

It would also lengthen the process by having to copy from Z: to installation folder.

An advantage of not downloading to Z: is that the script can delete the rar when it everything is ok, not just on reboot, which also lessens the need to re-download.

So, is it worth it, does the extra subfolder of xbmc at present make a difference ?

My Addons (myTV, T3CH Upgrader, DVDProfiler, BBCPodRadio, Comics, Football, GoogleReader, reeplay.it, Metacritic, Phonebin, FileViewer,SVN Repo Installer (contributor)) available at Box.net
(This post was last modified: 2007-11-04 11:11 by BigBellyBilly.)
find quote
blittan Offline
Team-XBMC Handyman
Posts: 1,714
Joined: Jun 2004
Reputation: 11
Location: Sweden
Post: #63
I have modified the T3CH downloader to download the .rar to Z: extract the archive to e:\xbmc-upgrade, then delete all files i do not need/want. when that is done the script launches dvd2xbox and I use the filemanager there to copy all files from e:\xbmc-upgrade to e:\applications\xbmc (which is what is launched as my main dash)

If you delete the rar from the script, you could download to any drive, that isn't a problem..

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.
If you don't have the time to read them, please don't take the time to post in this forum!
For troubleshooting and bug reporting please make sure you read this first.
find quote
BigBellyBilly Offline
Skilled Python Coder
Posts: 959
Joined: Feb 2005
Reputation: 2
Location: UK
Post: #64
That seems a valid way of doing things, but I'm going to stick with the approach I've taken with the T3CH Upgrader.

Has anyone tried b16 yet or are most people waiting for a new build to appear ?

My Addons (myTV, T3CH Upgrader, DVDProfiler, BBCPodRadio, Comics, Football, GoogleReader, reeplay.it, Metacritic, Phonebin, FileViewer,SVN Repo Installer (contributor)) available at Box.net
find quote
BigBellyBilly Offline
Skilled Python Coder
Posts: 959
Joined: Feb 2005
Reputation: 2
Location: UK
Post: #65
b17

I found and fixed an error in the 'Custom File Copy' (it saved a buildname in destination path - now just saved $BUILD_NAME - so its reusable across any build). Please recreate your 'includes.txt'.

Added in extra file/folder deletes on exit:
_tools
win32
Changelog.txt

download from HERE

I used this to upgrade to T3CH 2007-11-04, took about 6 mins. Largely depends on the szie of your UserData.

cheers
BBB

My Addons (myTV, T3CH Upgrader, DVDProfiler, BBCPodRadio, Comics, Football, GoogleReader, reeplay.it, Metacritic, Phonebin, FileViewer,SVN Repo Installer (contributor)) available at Box.net
find quote
danomoseley Offline
Junior Member
Posts: 3
Joined: Nov 2007
Reputation: 0
Post: #66
just used b17 to update, everything went perfectly except _tools, win32, etc were not deleted. Also, would it be possible to have a setting for a batch mode where it remembers all previous settings and performs all tasks silently? I'd like to set it up to run on startup, and do everything without popups.
find quote
BigBellyBilly Offline
Skilled Python Coder
Posts: 959
Joined: Feb 2005
Reputation: 2
Location: UK
Post: #67
Thanks for trying it.

Did you also setup any additional files to copy over (from the Custom Files menu option) ?

Batch mode: Not a single prompt? How would you get back into the menu to change any settings ?
Or do you mean only do it silent if started with a switch from autoexec (eg -silent) otherwise, if started from scripts enter as normal to Main Menu.

Even if in silent mode, might be best to still have it give some indication/updates as to whats happening. could be done using xbmc notifications ?

_tools, win32: I use python rmtree() which should remove given path even if not empty. I thought it hadn't worked myself until I forced the ftp client (FileZilla) to refresh.

My Addons (myTV, T3CH Upgrader, DVDProfiler, BBCPodRadio, Comics, Football, GoogleReader, reeplay.it, Metacritic, Phonebin, FileViewer,SVN Repo Installer (contributor)) available at Box.net
(This post was last modified: 2007-11-05 13:05 by BigBellyBilly.)
find quote
BigBellyBilly Offline
Skilled Python Coder
Posts: 959
Joined: Feb 2005
Reputation: 2
Location: UK
Post: #68
danomoseley: Deleting of the extra folders; I've changed the code, seems more reliable now.

My Addons (myTV, T3CH Upgrader, DVDProfiler, BBCPodRadio, Comics, Football, GoogleReader, reeplay.it, Metacritic, Phonebin, FileViewer,SVN Repo Installer (contributor)) available at Box.net
find quote
danomoseley Offline
Junior Member
Posts: 3
Joined: Nov 2007
Reputation: 0
Post: #69
I did not set up any additional custom copies.

As for batch mode, -silent is what I was thinking but forgot to mention it. Notifications would be good, but I would think as few as possible would be ideal, like maybe one to notify a new build, or nothing at all for no new build, and one to notify the process has completed and possibly a popup for a restart option. I don't think any more then that would be necessary but if you think otherwise I could live with it.
find quote
BigBellyBilly Offline
Skilled Python Coder
Posts: 959
Joined: Feb 2005
Reputation: 2
Location: UK
Post: #70
got it.

Will still prompt for Reboot, but that's it.

nearly done, will post asap.

My Addons (myTV, T3CH Upgrader, DVDProfiler, BBCPodRadio, Comics, Football, GoogleReader, reeplay.it, Metacritic, Phonebin, FileViewer,SVN Repo Installer (contributor)) available at Box.net
find quote
Post Reply