2005-02-01, 19:44
hello
i'm trying to execute a script in the my videos section and it's not working. i try running it once and nothing happens. then i try it again and the system crashes and requires a hard boot. i added the '.py' extension to the list of video extensions in my xboxmediacenter.xml, but that just seems to show it in the my videos list, not make it executable.
the purpose for this is because i have many movies archived offline on cd, but i still want there to be an entry for it in the video database. so i have a script like '12 angry men.py' which contains something like this...
i'm not sure if it works yet or not, but i'd also like the scan feature to process .py files as well so the video database will contain all my offline archived movies.
so, any ideas on how to get this to work?
thanks
-except10n
i'm trying to execute a script in the my videos section and it's not working. i try running it once and nothing happens. then i try it again and the system crashes and requires a hard boot. i added the '.py' extension to the list of video extensions in my xboxmediacenter.xml, but that just seems to show it in the my videos list, not make it executable.
the purpose for this is because i have many movies archived offline on cd, but i still want there to be an entry for it in the video database. so i have a script like '12 angry men.py' which contains something like this...
Quote:import xbmc, xbmcgui
xbmcgui.dialog().ok('insert disc','insert disc #111')
xbmc.player().play('smb://home/cdrom/12angrymen-cd1.avi')
xbmcgui.dialog().ok('insert disc','insert disc #112')
xbmc.player().play('smb://home/cdrom/12angrymen-cd2.avi')
xbmcgui.dialog().ok('the end','please return discs to the proper location')
i'm not sure if it works yet or not, but i'd also like the scan feature to process .py files as well so the video database will contain all my offline archived movies.
so, any ideas on how to get this to work?
thanks
-except10n