View Single Post
Old 02-04-2014, 07:47 PM   #2398
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 7,037
Karma: 4604637
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by isubs111 View Post
Would it be possible to have a button made for your browser that would grab the current page address and start the download of fanfiction in Calibre without you having to go and copy and paste the address and add the download separately? The button could be saved onto your Favourites bar in Firefox for example. You could maybe also have all your options set and pre-saved so you won't have to go into Calibre to say 'yes' to add to library, etc.
Yeah, that would be nice, wouldn't it. But it's not that easy.

Calibre uses the GUI thread as the lock on the database. So there's no way (that I know of) to properly invoke a plugin in the GUI, from outside the GUI.

You could make a bookmarklet that used the FFDL web service version and save it to calibre's auto-add directory. Or use a browser add-on to call the FFDL CLI (or plugin CLI) to download and save it to calibre's auto-add directory. But that wouldn't help with updates and couldn't call the other plugins that FFDL integrates with.
JimmXinu is offline