Posts: 59
Joined: Sep 2004
Reputation:
0
alex, did you already add the dialogprogress to the emulator? i'm trying to emulate the yarssr script but get the following message:
traceback (most recent call last):
file "c:\python23\yarssr.py", line 38, in -toplevel-
dialog = xbmcgui.dialogprogress()
attributeerror: 'module' object has no attribute 'dialogprogress'
Posts: 172
Joined: Jun 2004
Reputation:
0
Alexpoet
Skilled Python Coder
Posts: 172
actually, funny timing. no, it's not in there, but i've just been wrestling with that this week (after not really doing any work on the emulator in several months). i never quite figured out how the xbox progress dialog works, so when i built the emulator i didn't immediately know how to incorporate that, and it just got postponed (amid everything else that needed doing).
i'm looking into it now. i've got a very busy weekend ahead, but i might have something for you early next week. if you want, you can always stub out the class and function calls in the meantime (if you know how).
sorry for the inconvenience. i'll get to it as quickly as i can.
alexpoet
Posts: 13
Joined: Dec 2004
Reputation:
0
alex,
thanks for the fine utility.
only problem i have had with it is that win i execute a program from pythonwin, i can only execute it once. after i quit the script, i keep getting tkl errors keeping me from running the script again. all i can do is quit pythonwin and restart it.
any work arounds?
thanks
Posts: 707
Joined: Jul 2004
Reputation:
6
depends where your script is looking for the pic !
in my scripts i always use relative path to know everytime where are the pics (whatever path the script is located)
home=os.getcwd()
if not(emulateur):
home=home[:-1]
home=home+'\\'
this make the var 'home' get the actual dir where the script is launched from. then if i need pics :
pics_dir=home+'pics\\'
now pics_dir is a var pointing in %home%/pics/
then when i need to show a pic :
pics_dir+'picture.png'
picture.png is a pic file in the %home%/pics/
i think we should all scripters use such a trick. that way, we don't care where user install the script. as far as i am concerned, i install all my scripts in the q:\scripts\%scriptdir%\
where %scriptdir% is the name of script and content all files for script.
Posts: 160
Joined: Oct 2005
Reputation:
0
michal
Senior Member
Posts: 160
hi,
i've been searching and searching for these xbmc emulator scripts for a couple of days now. since alex's site has completely disappeared and the scripts don't appear to exist anywhere else on the net would someone here be able to make available the latest version of these scripts?
thanks in advance for your help.
regards,
michal
Posts: 2
Joined: Oct 2005
Reputation:
0
like michal (above), i am also searching for these emulator scripts.
i'm using activestate python 2.4? i'd appreciate any info on using it for xbox scripting and how it works with these emulator files. if scripters prefer another version of python, please name it.
i have revised the old tvtome script. for the curious, it can download the (now defunct) tvtome website from archive.org. it has helped me debug a new version, one intended to work with epguides.com but using tv.com to retrieve episode listings.
Posts: 160
Joined: Oct 2005
Reputation:
0
michal
Senior Member
Posts: 160
isn't there aybody out there who would be willing to provide me with the scripts?
i was working on a script that would automatically name and display in a show -> season - > episode tree all tv shows based on their filenames but i havn't been able to do any work in a week now as i cannot access my xbox for testing 99% of the time.
if anyone has any interest in such a script or even if you don't but can still provide me with the xbmc emulator scripts then i would appreciate it very much.
regards,
michal