Posts: 9
Joined: Oct 2003
Reputation:
0
it'will be a nice feature when xbmc start's it runs some file automatictly, like startup.py and when xbmc quit's a separate file.
so i can program a python scripts that saves the state of the played file and when it starts up it continues where it finished, like
car cd players.
Posts: 68
Joined: Nov 2003
Reputation:
0
are there any links to documentation on how to use python with xbmc?
i am looking to write some code in python to connect to my replaytv and delete and possibly stream shows straight from the replay.
thanks,
cp
Posts: 68
Joined: Nov 2003
Reputation:
0
doh! i will check out python.org. as well as the scripts.
thanks for the tivoscripts. my mother-in-law has a tivo, so i will test it with hers and let you know the outcome.
darkie: couldn't in the scripts we code an error catching routine, that could use the dialogs to output any errors or something to let us know the script ran fine?
thanks again guys. tomorrow i will start my testing...
cp
Posts: 529
Joined: Sep 2003
Reputation:
0
darkie
Team-Kodi Member
Posts: 529
to cyberplague:, the error catching is already there. only need to be written to a dialog (which isn't a big deal, just didn't had the time yet)
Posts: 68
Joined: Nov 2003
Reputation:
0
darkie - awesome. i figured it was not active cause of time issues. any idea when it could be done? i don't need a specific date, just if it is going to be days, weeks or months before it gets written to a dialog. it would really help with python script development. which you already know.
keep up the great work. i wouldn't mind writing some documentation for the python side of things. let me know.
cp
Posts: 199
Joined: Oct 2003
Reputation:
0
darkie, is it possible to write a page of text to the screen? kind of like the script output screen i suppose.
btw, i did a dir(xbmc) to check what's available from importing xbmc, obviously dialog and dialogprogress are used in your example scripts so i can see what we can do with them, but what about window and ouput?
thanks for any info you can give.
burriko
Posts: 529
Joined: Sep 2003
Reputation:
0
darkie
Team-Kodi Member
Posts: 529
what i am busy with is to make it possible to create your own windows (add text / images / buttons and more) and display it, but this isn't finished yet.
xbmc.window as it is now in cvs is just an expiriment and doesn't do anything at all.
if you want to write to to screen you could use xbmc.output or sys.stdout for now
Posts: 199
Joined: Oct 2003
Reputation:
0
cool, thanks for the info. what you described sounds great, i look forward to seeing what develops.