Disc Title
#1
all:

any way i can get the filename title of an inserted disc...?

i'm not talkin imdb stuff (yet) but for instance if a backed-up dvd has disc name of "pearl_harbor" or hecj even "untitled" how can i get at that in my script?

i thought i was close with: listings = os.listdir('d:\\')

but that just does an ls..?

as always thanks a bunch!
-tartag
Reply
#2
hey guys if this is something i should be able to find, my appologies but a pointer would be appreciated.

if it is not a plausable option i'd be great if there is an authoritive response it would save the remaining hair on my head!

thanks,
-tartag
Reply
#3
i think you can access the information through the httpapi 'getshares' call. currently from python the only way you can access the information is with the webserver running and check a url on http://127.0.0.1/xbmccmds/xbmchttp?command=getshares
edit real format

httpapi - http://prdownloads.sourceforge.net/xbmc/...c?download

other stuff for good measure.
xbmcbuiltin - http://manual.xboxmediacenter.de/wakka.p....s&v=98v
pydoc - http://home.no.net/thor918/xbmc/xbmcgui.html
pydoc - http://home.no.net/thor918/xbmc/xbmc.html


good luck!



Reply
#4
excellent... i will start there.

thanks!
Reply
#5
should of looked a little closer at the python api... they added a httpapi call a few months ago.

http://home.no.net/thor918/xbmc/xbmc.htm...utehttpapi

the most up to date documentation of the httpapi is of course the source code.

http://cvs.sourceforge.net/viewcvs....=markup

there is a list of commands near the bottom. that getshares command does look like a good bet though...
Reply
#6
yes, getshares will tell you the title of the disc if you have a d:\ share. it'll be in parenthesis just like in xbmc's list view:

music;dvd drive (empty);d:\
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply

Logout Mark Read Team Forum Stats Members Help
Disc Title0