View Single Post
Old 03-15-2013, 05:51 PM   #1236
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: 6,313
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
Version 1.7.13 - 15 Mar 2013
  • Remove BBCode--fimfiction.net adapter doesn't use it anymore.
  • Add "add_to_" feature to ini config. Allow higher priority sections to *add* to any ini param rather than replace it.
  • Add calibre CLI.
  • Add "marked:ffdl_success/failed" to added/updated/failed books.
  • Add "Show added/updated" pref using above.
  • Preserve log page in epub across overwrites as well as updates.
  • Drag and drop emails from Thunderbird on FFDL URL box to add URLs.
Command Line Interface(CLI)

Starting with calibre 0.9.23, calibre offers a command-line interface (CLI) for calling plugins.

This plugin supports that option and allows the user to call the plugin's basic functionality from outside calibre without having to install Python or get the plugin's files separately.

(Note that at this time, FFDL via calibre CLI will use your personal.ini settings from your library, but does not add to or update your library.)

Details:
Code:
Usage: calibre-debug.exe --run-plugin FanFictionDownLoader -- [options] <storyurl>

Options:
  -h, --help            show this help message and exit
  --library-path=LIBRARY_PATH, --with-library=LIBRARY_PATH
                        Path to the calibre library. Default is to use the
                        path stored in the settings.
  -f FORMAT, --format=FORMAT
                        write story as FORMAT, epub(default), mobi, text or
                        html
  -c CONFIG, --config=CONFIG
                        read config from specified file(s) in addition to
                        calibre plugin personal.ini,
                        ~/.fanficdownloader/personal.ini, and ./personal.ini
  -b START, --begin=START
                        Begin with Chapter START
  -e END, --end=END     End with Chapter END
  -o NAME=VALUE, --option=NAME=VALUE
                        set an option NAME=VALUE
  -m, --meta-only       Retrieve metadata and stop.  Or, if --update-epub,
                        update metadata title page only.
  -u, --update-epub     Update an existing epub with new chapters, give epub
                        filename instead of storyurl.
  --update-cover        Update cover in an existing epub, otherwise existing
                        cover (if any) is used on update.  Only valid with
                        --update-epub.
  --force               Force overwrite of an existing epub, download and
                        overwrite all chapters.
  -l, --list            Get list of valid story URLs from page given.
  -d, --debug           Show debug output while downloading.
JimmXinu is offline