[XBOX] T3CH Upgrader (Python Script)

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Livin Online
Posting Freak
Posts: 3,446
Joined: May 2004
Reputation: 17
Location: above ground
Post: #41
BBB,
I'd like to make a feature request to support user customizations. It works like this...

Source files
- from Network share, or URL
- e.g. customized files to include

List of excluded & included files/folders
- this allows for custom or mod'd XMLs/Scripts/Images/etc not be overwritten

Example XML Code:

EXCLUDES (items not to copy over from source)
smb://<server>/<sharename>/xbmc/skin/Project Mayhem III/Home.XML
smb://<server>/<sharename>/xbmc/scripts/
smb://<server>/<sharename>/xbmc/UserData/guisettings.xml

INCLUDES
Source = smb://<server>/<sharename>/CustomFiles/*.*
Target = /e/apps/xbmc/skin/Project Mayhem III/
Settings = Overwrite, BAKoriginal

I'm not an expert but I play one at work.
find quote
BigBellyBilly Offline
Skilled Python Coder
Posts: 959
Joined: Feb 2005
Reputation: 2
Location: UK
Post: #42
they seem like a good idea.
The user could use the file browser to build the inc/exc lists.

Speaking of file browser, has anyone seen it when the file browser shows each drive letter twice ?

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: #43
Affini:
Quote:EXCLUDES (items not to copy over from source)
smb://<server>/<sharename>/xbmc/skin/Project Mayhem III/Home.XML
smb://<server>/<sharename>/xbmc/scripts/
smb://<server>/<sharename>/xbmc/UserData/guisettings.xml

Could I just clarify:

Your example of excludes, is list of saved files/folder you'd like to copy from your smb location over the new installation after the extraction is complete ?

My confusion is because that reads just like what you want you INCLUDE list to do too ?

As it stands, the downloaded rar is extracted to its own folder, it doesn't overwrite anything. So I think the list you propose, really only are INCLUDES, those that you want copying (to the new build) from your own smb location ?

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-10-29 12:59 by BigBellyBilly.)
find quote
kricker Online
Team-XBMC QA Specialist
Posts: 3,308
Joined: Apr 2004
Reputation: 16
Location: Knoxville, TN
Post: #44
BigBellyBilly Wrote:...
Speaking of file browser, has anyone seen it when the file browser shows each drive letter twice ?
I have. It happened after a few upgrades. To get rid of it I did a fresh install without copying over my Userdata stuff. Then I just moved over my advancedsettings.xml and databases and thumbnails.

Read this before using these builds.
XBMC win32 SVN builds
Changelog
find quote
gzusrawx Offline
Fan
Posts: 383
Joined: Aug 2006
Reputation: 0
Location: Massachusetts
Post: #45
I believe that is due to the fact that newer builds automatically add default sources when the build is first launched.
find quote
gzusrawx Offline
Fan
Posts: 383
Joined: Aug 2006
Reputation: 0
Location: Massachusetts
Post: #46
so maybe you could exclude "default" sources from the file that's copied over, I know that might get complicated
find quote
stanley87 Offline
Skilled Python Coder
Posts: 561
Joined: Sep 2006
Reputation: 2
Location: Chch, New Zealand
Post: #47
Hi BBB,

For more on wat Affini needs done see thread: http://forum.xbmc.org/showthread.php?tid=28199

I did half of it but didn't get around to having time to build a GUI.
find quote
Livin Online
Posting Freak
Posts: 3,446
Joined: May 2004
Reputation: 17
Location: above ground
Post: #48
BigBellyBilly Wrote:Affini:


Could I just clarify:

Your example of excludes, is list of saved files/folder you'd like to copy from your smb location over the new installation after the extraction is complete ?

My confusion is because that reads just like what you want you INCLUDE list to do too ?

As it stands, the downloaded rar is extracted to its own folder, it doesn't overwrite anything. So I think the list you propose, really only are INCLUDES, those that you want copying (to the new build) from your own smb location ?

I'm thinking a full update routine... so Excludes would be needed since most of the files you'd want to update, except (excluding) the files the user has mod'd (e.g. customized) -- anything in the UserData, other XMLs in the Skins folders, etc.
If you, by default, set everything to overwrite and only Exclude the specific files you want to keep, there are far less items to specify. Nod

I'm not an expert but I play one at work.
find quote
kricker Online
Team-XBMC QA Specialist
Posts: 3,308
Joined: Apr 2004
Reputation: 16
Location: Knoxville, TN
Post: #49
I think that is a good point.

Read this before using these builds.
XBMC win32 SVN builds
Changelog
find quote
kricker Online
Team-XBMC QA Specialist
Posts: 3,308
Joined: Apr 2004
Reputation: 16
Location: Knoxville, TN
Post: #50
...on a side note regarding this updater:
My softmod is loading from evoxdash.xbe on my E: drive. The upgrader swaps out the dashes on C:. I was driving Big Belly Billy and myself crazy until I discovered my xbox was actually using the evoxdash.xbe on the E: drive.

I remember once when I did a softmod it asked where to load from, but now that I do it, it just asks which dash to load but not where the loader is. Can someone give me a clue on how to get it to load from C:? I am going to check out the new SID 5.01, maybe this option has made it back in....or most likely it has been so long I have forgotten something.

Read this before using these builds.
XBMC win32 SVN builds
Changelog
find quote
Post Reply