Kodi Community Forum
How to access dvd drive - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26)
+--- Thread: How to access dvd drive (/showthread.php?tid=7077)



- DevOXide - 2004-11-09

ummmm hi guys.

just started my adventures in python and have a lil
question. i have read all i can, been trough all the forum
threads, and nothing came up. i might be blind or just plain
stupid.....but this is what i can not find out......

how the heck can i get a list of the files on a dvd in python (xbmc) ?
seems to me that the dvd is not mounted to a normal drive letter, am i correct? something like iso9660:/ or whatever.
how do i access this from python?

would like to get the media label also...

i have tried to use xbmc.info****.getdvdlabel() but it requires
some parameters, which by the way i can not find the spec for.
the documentation for the xbmc and the xbmcgui python stuff is at it's best quite scarce i am afraid to admit.....

anyhow, wouldn't be here if it not where for the fact that xbmc
is the best since sliced bread for me !