Jump to content


Photo

Dxbmc : Your One Click Xbmc Build Solution


  • Please log in to reply
66 replies to this topic

#1 danomoseley

danomoseley

    X-S Member

  • Members
  • Pip
  • 73 posts

Posted 04 April 2007 - 09:24 PM

dailyXBMC is a sister program to XBMCDBR with many changes and added funtionality. If you compile your own XBMC, this is the program for you. With this program you will be able to build the program and ftp to your xbox with the click of a button and not have to worry about losing settings.

Below you will find screenshots and a list of changes from XBMCDBR and added functions.

Homepage / Download : http://code.google.com/p/dxbmc/

IPB ImageIPB Image


CODE
FEATURES:
Apart from the obvious features you can see from the screenshots:

-Only attempt ftp/email/shutdown if previous build rar is found, or XBMCDBR completed successfully
-FTP Folder can only be performed with a new build, while ftp rar can be performed as long as there is an existing build rar for the current day
-Option to delete local rar after successful ftp, build folder is automatically deleted
-Folders to add custom things before the build [Patches] and before the rar/transfer[Custom Extras], things this may include would be personal code changes in the patches folder or codecs/scripts/skins in the custom extras folder.
-Email support with gmail smtp, so the log can be emailed to you after the process is completed
-Command line options added, see readme in revision 007 for available options
-Integrated ftp client, can ftp rar, or folder with custom specified name, can overwrite UserData if user wishes but defaults to no. And can ftp to custom path.
-YOU CAN HAVE XBMC BUILT AND FTPed TO YOUR XBOX WITH ONE CLICK



Most people probably will not be interested in this.
CODE
XBMCDBR CHANGES / FUNCTION BREAKDOWN:

Integrated settings manager into main program
Organized program data into Data Folder
Fixed up some problems with progress bars(possibly caused by me)
Added time output to log messages
Combined all log output into one file, VS Log still independent
using Directory.Delete() now instead of XDirectory delete function
Added more error checking here and there

I'm still using most of the underlying functions from XBMCDBR as you can see here:
    doWork() - modified, basic logic retained
    Finish() - slight modifications
    getSource - minor modifications
                     [svn args for update and fresh added with one string instead of 3]
    rebuildXBMC - minor modifications
         added rebuild option [ no clean ]
    prepareBuild - very minor changes, if any
    getVsNetLocation - unchanged
    writeStreamInfo - unchanged
    writeProcessOut - unchanged
    messageAndClose - very minor changes
    runProcess - unchanged

Edited by pike, 04 April 2007 - 10:59 PM.


#2 LycoLoco

LycoLoco

    X-S Member

  • Members
  • Pip
  • 75 posts

Posted 04 April 2007 - 10:23 PM

Looks great! I'm giving it a test run right now. Thanks for building this - it'll be nice to not have to do any work anymore :-)

#3 djdafreund

djdafreund

    X-S Genius

  • Members
  • PipPipPipPip
  • 763 posts
  • Xbox Version:v1.4
  • 360 version:v5.0 (360S - trinity)

Posted 04 April 2007 - 10:42 PM

Yes, thank you so much. Looks very nice!! Trying it as i write this. I like the GMail option, in case i need to go to a friends house and grab my build!!!

#4 djdafreund

djdafreund

    X-S Genius

  • Members
  • PipPipPipPip
  • 763 posts
  • Xbox Version:v1.4
  • 360 version:v5.0 (360S - trinity)

Posted 04 April 2007 - 11:10 PM

I got an error when trying out DailyXBMC. It's an XBMCDBR Error message though.

---------------------------------------------------------------------------------------------------------------
XBMCDBR Failed
The error given was:
Value of '60000' is not valid for 'Value'. 'Value' should be between 'minimum' and 'maximum'.
Parameter name: Value

[OK]
---------------------------------------------------------------------------------------------------------------

Using x64 if that might be the cause, already trying XP compatibily in the meantime, just in case.

#5 danomoseley

danomoseley

    X-S Member

  • Members
  • Pip
  • 73 posts

Posted 04 April 2007 - 11:16 PM

QUOTE(djdafreund @ Apr 4 2007, 11:17 PM) View Post

I got an error when trying out DailyXBMC. It's an XBMCDBR Error message though.

---------------------------------------------------------------------------------------------------------------
XBMCDBR Failed
The error given was:
Value of '60000' is not valid for 'Value'. 'Value' should be between 'minimum' and 'maximum'.
Parameter name: Value

[OK]
---------------------------------------------------------------------------------------------------------------

Using x64 if that might be the cause, already trying XP compatibily in the meantime, just in case.


What options are you using and when did the error occur? I assume it was during rebuilding just after downloading the source? Thanks

edit: Just found the problem. Thanks for letting me know!

New revision 009 is available.

Edited by danomoseley, 04 April 2007 - 11:30 PM.


#6 djdafreund

djdafreund

    X-S Genius

  • Members
  • PipPipPipPip
  • 763 posts
  • Xbox Version:v1.4
  • 360 version:v5.0 (360S - trinity)

Posted 05 April 2007 - 02:17 AM

Still error's, but this time it's a DailyXBMC error. Using default settings (til i get it progressing further passed normal build.) My settings are below-

<?xml version="1.0" ?>
- <xbmcdbz>
<cbatchmode>True</cbatchmode>
<cbuild>True</cbuild>
<cdelete>False</cdelete>
<cftpbuild>False</cftpbuild>
<cshutdown>False</cshutdown>
<cemail>False</cemail>
<ip>IP</ip>
<port>Port</port>
<user>Username</user>
<pass>Pass</pass>
<email>Email to</email>
<guser>Username</guser>
<gpass>Pass</gpass>
<buildtype>Fresh</buildtype>
<folder>Path</folder>
<ftptype>rar</ftptype>
<cfolder>False</cfolder>
<coverwriteuserdata>False</coverwriteuserdata>
<rename>XBMC</rename>
</xbmcdbz>

Error Message-

dXBMC has encountered a problem and needs to close. We are sorry for the inconvenience.
If you were in the middle of something, the information you were. . . . .. . .

It error's pretty close to the end of downloading the svn it looks like (in the bars.) Let me know if you want me to try something else.



#7 danomoseley

danomoseley

    X-S Member

  • Members
  • Pip
  • 73 posts

Posted 05 April 2007 - 02:28 AM

I'm tempted to say that it is an x64 error, since there is no output from the program. It just stops responding no? Whats the last thing in the log file? Anything out of the ordinary?

#8 djdafreund

djdafreund

    X-S Genius

  • Members
  • PipPipPipPip
  • 763 posts
  • Xbox Version:v1.4
  • 360 version:v5.0 (360S - trinity)

Posted 05 April 2007 - 02:31 AM

Nothing abnormal. I'll try running it on my server, which is XP Professional x32. See if thats the problem. I just deleted the log file to try from scratch again. I'll post the end of that here shortly. Error's about 92% of downloading the source svn when it error's.-

Here's the end of the log file-

10:12: A Data Folder\XBMC\visualisations\Spectrum\presets.zip
10:12: A Data Folder\XBMC\web
10:12: A Data Folder\XBMC\web\web.rar
10:12: A Data Folder\XBMC\web\Project_Mayhem_webserver_V1.1.2.rar
10:12: A Data Folder\XBMC\web\Project_Mayem_III_webserver_v1.0.rar
10:12: A Data Folder\XBMC\web\Changelog_WebServer.txt
10:13: U Data Folder\XBMC
10:13: Checked out revision 8420.
10:13: Task [SVN checkout 1] Complete
10:13: Got revision number as [8420]
10:13: Checkout completed in 1 attempts
10:13: Running Task [Get Changelog XML]
10:13: File [Data Folder\SVN\svn] Args [ log https://svn.sourcefo...bmc/trunk/XBMC/ --limit 100 --xml]
10:13: Task [Get Changelog XML] Complete
10:13: Running Task [Build Changelog]
10:13: File [Data Folder\XBMC\tools\changelog\changelog] Args [Data Folder\Changelog.xml]
10:13: Task [Build Changelog] Complete
10:13: getSource completed at 92% using maximum 60000
10:13: Copying Patches directory to be compiled
10:13: Patches directory copied
10:13: Looking for Visual Studio using key SOFTWARE\Microsoft\VisualStudio\7.1
10:13: MessageBox: [Build Error] Build of XBMC Failed!
Please check the log file for details...
10:13: System.NullReferenceException: Object reference not set to an instance of an object.
at dXBMC.Form1.getVsNetLocation()
at dXBMC.Form1.rebuildXBMC()
10:13: at dXBMC.Form1.getVsNetLocation()
at dXBMC.Form1.rebuildXBMC()
10:13: rebuild completed at 0% using maximum 5600
10:13: Fatal error while running XBMCDBR, see log file
10:13: Email Skipped, Process completed

Edited by djdafreund, 05 April 2007 - 02:37 AM.


#9 danomoseley

danomoseley

    X-S Member

  • Members
  • Pip
  • 73 posts

Posted 05 April 2007 - 02:40 AM

I assume you have visual studio and the xdk installed?

#10 djdafreund

djdafreund

    X-S Genius

  • Members
  • PipPipPipPip
  • 763 posts
  • Xbox Version:v1.4
  • 360 version:v5.0 (360S - trinity)

Posted 05 April 2007 - 02:47 AM

Your assumption is correct. XBMCDBR (latest beta) is working just fine. I just compiled a version earlier before reading this post.

#11 danomoseley

danomoseley

    X-S Member

  • Members
  • Pip
  • 73 posts

Posted 05 April 2007 - 03:02 AM

I can tell what function it's happening in, and I've narrowed it down to about 10 lines, can you just run this version and post the output you get? http://www.box.net/shared/syqrj2eq6v

#12 djdafreund

djdafreund

    X-S Genius

  • Members
  • PipPipPipPip
  • 763 posts
  • Xbox Version:v1.4
  • 360 version:v5.0 (360S - trinity)

Posted 05 April 2007 - 03:06 AM

Here ya go.

10:43: ::dXBMC Process Started::
10:43: SETTINGS:
Batch: False
Build: True
BuildType: Local
Rebuild: False
FTP: False
IP: IP
Port: Port
User: Username
Path: Path
Delete: False
FTP Folder: False
Rename: XBMC
Overwrite: False
Email: Email to
Gmail User: Username
Shutdown: False
10:50: Checked out revision 8421.
10:50: Task [SVN checkout 1] Complete
10:50: Got revision number as [8421]
10:50: Checkout completed in 1 attempts
10:50: Running Task [Get Changelog XML]
10:50: File [Data Folder\SVN\svn] Args [ log https://svn.sourcefo...bmc/trunk/XBMC/ --limit 100 --xml]
10:50: Task [Get Changelog XML] Complete
10:50: Running Task [Build Changelog]
10:50: File [Data Folder\XBMC\tools\changelog\changelog] Args [Data Folder\Changelog.xml]
10:50: Task [Build Changelog] Complete
10:50: getSource completed at 92% using maximum 60000
10:50: Copying Patches directory to be compiled
10:50: Patches directory copied
10:50: Looking for Visual Studio using key SOFTWARE\Microsoft\VisualStudio\7.1
10:50: MessageBox: [Build Error] Build of XBMC Failed!
Please check the log file for details...
10:51: System.NullReferenceException: Object reference not set to an instance of an object.
at dXBMC.Form1.getVsNetLocation()
at dXBMC.Form1.rebuildXBMC()
10:51: at dXBMC.Form1.getVsNetLocation()
at dXBMC.Form1.rebuildXBMC()
10:51: rebuild completed at 0% using maximum 5600
10:51: Fatal error while running XBMCDBR, see log file
10:51: Email Skipped, Process completed

Edited by djdafreund, 05 April 2007 - 03:15 AM.


#13 danomoseley

danomoseley

    X-S Member

  • Members
  • Pip
  • 73 posts

Posted 05 April 2007 - 03:46 AM

Give it another go:
http://www.box.net/shared/3reb01scns

#14 chad000

chad000

    X-S Member

  • Members
  • Pip
  • 122 posts

Posted 05 April 2007 - 04:07 AM

Tried to run the program and I keep getting this...

Mash here

#15 djdafreund

djdafreund

    X-S Genius

  • Members
  • PipPipPipPip
  • 763 posts
  • Xbox Version:v1.4
  • 360 version:v5.0 (360S - trinity)

Posted 05 April 2007 - 04:08 AM

Her'es the log from that last one you had me try.

11:43: A Data Folder\XBMC\web\web.rar
11:43: A Data Folder\XBMC\web\Project_Mayhem_webserver_V1.1.2.rar
11:43: A Data Folder\XBMC\web\Project_Mayem_III_webserver_v1.0.rar
11:43: A Data Folder\XBMC\web\Changelog_WebServer.txt
11:43: U Data Folder\XBMC
11:43: Checked out revision 8423.
11:43: Task [SVN checkout 1] Complete
11:43: Got revision number as [8423]
11:43: Checkout completed in 1 attempts
11:43: Running Task [Get Changelog XML]
11:43: File [Data Folder\SVN\svn] Args [ log https://svn.sourcefo...bmc/trunk/XBMC/ --limit 100 --xml]
11:43: Task [Get Changelog XML] Complete
11:43: Running Task [Build Changelog]
11:43: File [Data Folder\XBMC\tools\changelog\changelog] Args [Data Folder\Changelog.xml]
11:43: Task [Build Changelog] Complete
11:43: getSource completed at 92% using maximum 60000
11:43: Copying Patches directory to be compiled
11:43: Patches directory copied
11:43: Looking for Visual Studio using key SOFTWARE\Microsoft\VisualStudio\7.1
11:43: Object reference not set to an instance of an object.
11:43: Cannot find visual studio at []
11:43: Trying old reg key SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\devenv.exe
11:43: MessageBox: [Build Error] Build of XBMC Failed!
Please check the log file for details...
11:43: System.NullReferenceException: Object reference not set to an instance of an object.
at dXBMC.Form1.getVsNetLocation()
at dXBMC.Form1.rebuildXBMC()
11:43: at dXBMC.Form1.getVsNetLocation()
at dXBMC.Form1.rebuildXBMC()
11:43: rebuild completed at 0% using maximum 5600
11:43: Fatal error while running XBMCDBR, see log file
11:43: Email Skipped, Process completed




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users