2005-04-21, 16:40
first comment is that you probably should try a newer version of xbmc. there have been a bunch of changes (including bug fixes) to the xbmc python module in early april.
as for the error log you posted, the player errors probably happened after you tried to exit the live tv screen? when the live tv window is closed, the code first destroys the player object that was created for live tv playback... then the window should've closed. if it didn't then the player object would no longer exist and you would get a bunch of errors any time you tried to do anything that used the player object. i can change the way the code works so that it will recreate the player object if it doesn't exist or not delete the player object stored in the window (and let python clean it up when the window is destroyed) but if everything is working as it should, the player object should never be accessed after an attempted window close.
that last error is a bit puzzling... win had to exist for the domodal() call so why does it no longer exist. i remember seeing that error before (last year)... the fix at the time was to comment out the line.
as for the error log you posted, the player errors probably happened after you tried to exit the live tv screen? when the live tv window is closed, the code first destroys the player object that was created for live tv playback... then the window should've closed. if it didn't then the player object would no longer exist and you would get a bunch of errors any time you tried to do anything that used the player object. i can change the way the code works so that it will recreate the player object if it doesn't exist or not delete the player object stored in the window (and let python clean it up when the window is destroyed) but if everything is working as it should, the player object should never be accessed after an attempted window close.
that last error is a bit puzzling... win had to exist for the domodal() call so why does it no longer exist. i remember seeing that error before (last year)... the fix at the time was to comment out the line.