View Single Post
Old 01-21-2011, 01:23 PM   #1
meme
Sigil developer
meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.
 
Posts: 1,274
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
Help with plugin writing

I'm playing around with writing a plugin (I can get a basic script to run) but I was wondering how I can get access to the name of the mount point used by my device once Calibre mounts it. i.e. what code do I need to return the string that gives say "/media/Kindle" which is where it mounts for me?

I probably need to spend a bit more time looking at other plugins, though I haven't seen any that do this - if you know of any or code in Calibre that gives an example I'd appreciate the pointer. Maybe I should start with something simpler
meme is offline   Reply With Quote