PDA

View Full Version : Access to the xbox dvd


afeno
2004-12-23, 13:22
hello experts developers,
i'm having problems to access to the xbox's dvd-rom.

my problem:
os.listdirdoesn't work in my script:

example:

import os, os.path, sys
import xbmc, xbmcgui

class test(xbmcgui.window):
* *def __init_ _(self):
* * * *listings = os.listdir('d:\\')
* * * *print listings

w = test()
w.domodal()
del w


when i try any other drive (c or f) it's working perfect but i want to access the dvd....
and yes, there is a dvd inside the drive...

do you know how can i do that?
i almost finish my multi-subtitle script.

with this script you can select the movie, then select the subtile and then whatch the movie with the selected subtitle :)

:help:

thanks to all.
best regards and merry christmas and happy new year!

alfredo fenoglio

pike
2004-12-23, 13:27
is media in dvdrom when you boot xbmc ?
try that, if that works, it's a known bug

afeno
2004-12-23, 14:27
is media in dvdrom when you boot xbmc ?
try that, if that works, it's a known bug
yes, there is a dvd in the dvd-rom when xbmc boot up.
and it doesn't work...