View Single Post
Old 11-17-2015, 01:32 PM   #1
Ephemerality
Addict
Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.
 
Posts: 328
Karma: 800105
Join Date: Feb 2013
Device: PW1
Sending additional files to Kindle

Hi there,
I'm looking for a bit of plugin advice as I'm unsure as to what the best option might be. I have a standalone application that generates Kindle X-Rays and other misc files. My ultimate goal is to have the "send to device" option also send the .asc files when it sends the book and apnx file (which I now realize is generated within the device driver itself).
I was hoping to simply save them in the same location as the book file but after much fiddling I discovered that the device driver has no method of accessing the original path of the book it is sending, so it is unable to scan for/send any additional files from that path.
My plan B ideas are either:
  • Hook into the 'send to device' process before the book is copied to the temp location and save the path somewhere the driver can access (requires no configuration but is messy/unsafe/unreliable?)
  • Add a setting to specify the path to the X-Ray Builder output directory and scan/send files from there (is there an option to add a folder-chooser to the plugin preferences dialog?) -- requires minor config, thus less ideal, but if it works it works...
Any thoughts?

Thanks

Last edited by Ephemerality; 11-17-2015 at 01:34 PM.
Ephemerality is offline   Reply With Quote