Kodi Community Forum
[RELEASE] Gamma-X (formerly called "Xbox Net Loader") Xbox game manager and launcher - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Program Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=151)
+---- Thread: [RELEASE] Gamma-X (formerly called "Xbox Net Loader") Xbox game manager and launcher (/showthread.php?tid=15567)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13


- ruuk - 2005-11-19

affini:

let me see your xml again.
i have an update coming soon, i realized that even once you get the xml working it's not going to work because i was missing the two lines of code that would make it fetch from smb (i only had ftp working)

but the errors you are having have nothing to do with that so let me see that xml Smile

as i said when i released this version, the xbmc updater is very basic right now. when you get it to work it will work fine, but there isn't much else.

i will be making it more 'user friendly' Smile

the update should be up tonight, hopefully in the next hour or two.

ruuk


- Livin - 2005-11-19

the entire xbmcupdate.xml file...

Quote:<?xml version="1.0" ?>
<xbmc_update>
<!-- where xbmc is installed on you xbox !-->

<xbmc_dir path = "e:\apps\xbmc" />

<!-- ftp or smb url to the location of new xbmc dir !-->

<!-- <source url="ftp://user:[email protected]/mnt/hd40-2/xbox/e/xbmc/xbmc" />!-->
<source url='smb://office;[email protected]/xbmc' />
<!-- put the relative path for each file and directory you do not want !-->
<!-- copy to your xbox. !-->

<exceptions>
<dir="web" />
<dir="scripts" />
<file name="xboxmediacenter.xml" />
<file name="filezilla server.xml" />
<file name="skin\project mayhem iii\pal\dialogsubmenu.xml" />
<file name="skin\project mayhem iii\pal\home.xml" />
<file name="skin\project mayhem iii\pal16x9\dialogsubmenu.xml" />
<file name="skin\project mayhem iii\pal16x9\home.xml" />
</exceptions>

<!-- put relative source and absolute destination for every file you !-->
<!-- copied to an alternate location after all files are fetched. !-->


<copies>
<file name="default.xbe" dest="c:\xbmc.xbe" />
<file name="xboxmediacenter.xml" dest="e:\apps\xbmc\_xboxmediacenter.xml" />
<file name="filezilla server.xml" dest="e:\apps\xbmc\_filezilla server.xml" />
<file name="skin\project mayhem iii\pal\dialogsubmenu.xml" dest="e:\apps\xbmc\skin\project mayhem iii\pal\_dialogsubmenu.xml" />
<file name="skin\project mayhem iii\pal\home.xml" dest="e:\apps\xbmc\skin\project mayhem iii\pal\_home.xml" />
<file name="skin\project mayhem iii\pal16x9\dialogsubmenu.xml" dest="e:\apps\xbmc\skin\project mayhem iii\pal16x9\_dialogsubmenu.xml" />
<file name="skin\project mayhem iii\pal16x9\home.xml" dest="e:\apps\xbmcskin\project mayhem iii\pal16x9\_home.xml" />
</copies>

</xbmc_update>



- ruuk - 2005-11-19

affini:

i've finished the update and tested it with smb. i noticed that my example xml file was broken - whoops Smile

i'm in the process of updating my site.
in the meantime, i've fixed your xml.

here it is:

Quote:<?xml version="1.0" ?>
<xbmc_update>
<!-- where xbmc is installed on you xbox !-->

<xbmc_dir path = "e:\apps\xbmc" />

<!-- ftp or smb url to the location of new xbmc dir !-->

<source url="smb://office;[email protected]/xbmc" />

<!-- put the relative path for each file and directory you do not want !-->
<!-- copy to your xbox. !-->

<exceptions>
<dir path="web" />
<dir path="scripts" />
<file path="xboxmediacenter.xml" />
<file path="filezilla server.xml" />
<file path="skin\project mayhem iii\pal\dialogsubmenu.xml" />
<file path="skin\project mayhem iii\pal\home.xml" />
<file path="skin\project mayhem iii\pal16x9\dialogsubmenu.xml" />
<file path="skin\project mayhem iii\pal16x9\home.xml" />
</exceptions>

<!-- put relative source and absolute destination for every file you !-->
<!-- copied to an alternate location after all files are fetched. !-->


<copies>
<file name="default.xbe" dest="c:\xbmc.xbe" />
<file name="xboxmediacenter.xml" dest="e:\apps\xbmc\_xboxmediacenter.xml" />
<file name="filezilla server.xml" dest="e:\apps\xbmc\_filezilla server.xml" />
<file name="skin\project mayhem iii\pal\dialogsubmenu.xml" dest="e:\apps\xbmc\skin\project mayhem iii\pal\_dialogsubmenu.xml" />
<file name="skin\project mayhem iii\pal\home.xml" dest="e:\apps\xbmc\skin\project mayhem iii\pal\_home.xml" />
<file name="skin\project mayhem iii\pal16x9\dialogsubmenu.xml" dest="e:\apps\xbmc\skin\project mayhem iii\pal16x9\_dialogsubmenu.xml" />
<file name="skin\project mayhem iii\pal16x9\home.xml" dest="e:\apps\xbmcskin\project mayhem iii\pal16x9\_home.xml" />
</copies>

</xbmc_update>

ruuk


- ruuk - 2005-11-19

new version 0.995b

+ fixed smb on xbmc update utility
+ added dialog for xml errors
+ added ability to check changelog and update if changed
+ fixed the example xml file for the update utility
+ other stuff =]

get it here: http://2ndmind.net/xnetload

enjoy Smile

ruuk






- Livin - 2005-11-19

i installed the 0.995b fresh & i used your posted xml for my setup.

error...

log:
Quote:18-11-2005 00:10:25 info loading skin file: myscripts.xml
18-11-2005 00:10:25 info loading skin file: dialogok.xml
18-11-2005 00:10:27 info traceback (most recent call last):
18-11-2005 00:10:27 info file "q:\scripts\gamma-x\xnetload.py", line 348, in oncontrol
18-11-2005 00:10:27 info self.control_response(control)
18-11-2005 00:10:27 info file "q:\scripts\gamma-x\xnetload.py", line 393, in control_response
18-11-2005 00:10:27 info import xbmcupdate
18-11-2005 00:10:27 info file "q:\scripts\gamma-x\xbmcupdate.py", line 144
18-11-2005 00:10:27 info config = r'''\
<?xml version="1.0" ?>
<xbmc_update>
<xbmc_dir path = "e:\xbmc" />
<source url='ftp://user:[email protected]/location' />
<exceptions>
<file name="xboxmediacenter.xml" />
</exceptions>
<copies>
<file name="default.xbe" dest="e:\dashboard\default.xbe" />
</copies>
</xbmc_update>
return config

class test_label:
def setlabel(self,text):
pass

def main():
from xnlmodules.dialogs import progress_dialog
if os.path.exists(os.path.join(utility.get_working_dir(),'xnlsettings')):
file = os.path.join(utility.get_working_dir(),'xnlsettings','xbmcupdate.xml')
else:
file = os.path.join(utility.get_working_dir(),'xbmcupdate.xml')
x = xbmc_update(file)
import time
import xbmcgui
xbmcgui.lock()
dialog = none
try:
dialog = progress_dialog()
dialog.start_bench = time.clock()
dialog.speed_label = test_label()
dialog.create('updating','updating xbmc.','please wait...')
x.progress = dialog
browsers.prog_dialog = dialog

not_copied = x.get_xbmc()
dialog.close()
dialog = none
finally:
xbmcgui.unlock()
if dialog: dialog.close()

if not_copied:
not_copied = ['not copied:'] + not_copied
dialogs.list_dialog('not copied',not_copied)
yes = xbmcgui.dialog().yesno('finished','update finished. restart xbox?')
if yes:
import xbmc
xbmc.restart()

main()
18-11-2005 00:10:27 info



- ruuk - 2005-11-20

affini:

you need to delete xbmcupdate.py and re-install it. somehow you still have your old version. i can tell because it has the ''' removed that i asked you to remove when i thought you were editing the xml file. =]

ruuk






- Livin - 2005-11-20

i did.. i deleted everything on my pc and xbox and reinstalled. i'll do it again...


- Livin - 2005-11-20

ruuk,
same problem... it must be an issue with the script. i used your zip download and the xml code you posted for me in this thread. nothing else.

here's my entire folder: my gamma-x folder


here's the current error...

Quote:19-11-2005 21:01:25 info loading skin file: myscripts.xml
19-11-2005 21:01:25 info loading skin file: dialogok.xml
19-11-2005 21:01:27 info traceback (most recent call last):
19-11-2005 21:01:27 info   file "q:\scripts\gamma-x\xnetload.py", line 340, in oncontrol
19-11-2005 21:01:27 info     self.control_response(control)
19-11-2005 21:01:27 info   file "q:\scripts\gamma-x\xnetload.py", line 385, in control_response
19-11-2005 21:01:27 info     import xbmcupdate
19-11-2005 21:01:27 info   file "q:\scripts\gamma-x\xbmcupdate.py", line 142, in ?
19-11-2005 21:01:27 info     main()
19-11-2005 21:01:27 info   file "q:\scripts\gamma-x\xbmcupdate.py", line 127, in main
19-11-2005 21:01:27 info     not_copied = x.get_xbmc()
19-11-2005 21:01:27 info   file "q:\scripts\gamma-x\xbmcupdate.py", line 45, in get_xbmc
19-11-2005 21:01:27 info     self.browser = browsers.get_browser(self.url)
19-11-2005 21:01:27 info   file "q:\scripts\gamma-x\xnlmodules\browsers.py", line 523, in get_browser
19-11-2005 21:01:27 info     return smbbrowser(url,path)
19-11-2005 21:01:27 info   file "q:\scripts\gamma-x\xnlmodules\browsers.py", line 49, in
19-11-2005 21:01:27 info     self.login()
19-11-2005 21:01:27 info   file "q:\scripts\gamma-x\xnlmodules\browsers.py", line 133, in login
19-11-2005 21:01:27 info     self.remote = smb.smb(self.ntdomain,self.ip)
19-11-2005 21:01:27 info   file "q:\scripts\gamma-x\xnlmodules\smb.py", line 338, in
19-11-2005 21:01:27 info     self.init__
19-11-2005 21:01:27 info     raise ex2
19-11-2005 21:01:27 info error: (10061, 'connection refused')
19-11-2005 21:01:27 info loading skin file: home.xml






- ruuk - 2005-11-21

affini:

actually what you just did fixed the xml error. the xml file loaded fine this time. this is a 'connection refused' error.

are you sure that 192.168.1.111 is the right ip?
(please don't be offended by my questions if they seem obvious)
are you using a non-standard port for smb?
do you have a firewall or router? it shouldn't matter if you are trying to connect from an xbox that has had no trouble with shares before, but it helps to know.
it is possible that we get the 'connection refused' with a failure of the logon. i'm assuming the user 'xbox' has no password because you have it blank.

in any case your almost there, we just need to find out why it is not connecting Smile

ruuk


- Livin - 2005-11-21

ruuk,

i fixed the connection problem... i did have the wrong ip. sorry.

but...
20-11-2005 21:30:41 info     raise sessionerror, ( 'authentication failed. (errclass: 3775016 and errcode: 3937789)' ( err_class, err_code ), err_class, err_code )
20-11-2005 21:30:41 info sessionerror: ('authentication failed. (errclass: 1 and errcode: 5)', 1, 5)

i'm using winxp and have my video/photos/music on the same pc with the same permissions and ntfs security.

it should be working as does all the other smb shares with the same setup:

pc = office : 192.168.1.10
ntfs security = everyone : read & execute
share permissions = everyone : full control

any ideas?






- ruuk - 2005-11-21

affini:

hmmm.....

let me just check a few things with you.

so 'office' is the computers netbios name (we don't want the workgroup),
'xbox' is the name of a user configured on the server machine with a blank password

that being clarified... it seems to be a logon error, which means it has nothing to do with anything after the @ in the url.
so, assuming that that is true, one (or more) of the following would seem to be the case:
'office' is wrong for the computer name (netbios name)
'xbox' is not correct for a user on the system
'xbox' has a password and that needs to be in url

if all those things check out, try:
office;@192.168.1.10/xbmc
office;[email protected]/xbmc
a different user on the machine

i also use xp and "smb://computername;[email protected]/share" works for me.

hopefully this helps






- smuto - 2005-11-21

Quote: <check_changelog check="true" url="[url]ftp://smuto:[email protected]/home/smuto/xbmc/docs/changelog.txt"[/url] file="docs/changelog.txt" />

problem here - can u give me more info


- ruuk - 2005-11-21

smuto try this (should work Smile ):

Quote:<check_changelog check="true" url="ftp://smuto:[email protected]/home/smuto/xbmc" file="docs/changelog.txt" />

the url needs to contain just a path.

ruuk

ps: i hope that is not your actual password Smile


- smuto - 2005-11-22

i think i try everything Rolleyes
script make a full update everytime

u sure then u added ability to check changelog to the script?

ps it's my real one Confusedaint:






- ruuk - 2005-11-22

smuto:

i'll look into it Smile