|  03-09-2012, 03:19 PM | #1 | 
| Calibre Plugins Developer            Posts: 4,735 Karma: 2197770 Join Date: Oct 2010 Location: Australia Device: Kindle Oasis | 
				
				[Metadata Source Plugin] FictionDB
			 
			
			This plugin was requested on the Plugin Ideas sticky thread, and allows retrieving book metadata from the www.fictiondb.com website. This website can have good descriptions for books and often excellent potential tags data with a range of genre, sub-genre, time period and tags information that can be optionally retrieved into your tags column (configure in the preferences for this plugin). Note also that while the website supports multiple types of series (not only an author series but also multi-author and publisher series), this plugin will only retrieve for author series, and only if an order has been defined. This is due to the limitations of the calibre series column. Main Features: 
 Special Notes: 
 Paypal Donations: Last edited by kiwidude; 03-16-2024 at 11:14 PM. Reason: New version | 
|   |   | 
|  03-22-2012, 01:22 PM | #2 | 
| Wizard            Posts: 1,841 Karma: 4985051 Join Date: Sep 2010 Location: Maryland Device: Kindle | 
			
			Am trying to use this in Calibre v.0.8.42 to poll for metadata with no luck. Under configuration all boxes are checked.  I've even checked some of the books using the Search the Internet plug-in (FictionDB for book) and the info is definitely there. Any suggestions?
		 | 
|   |   | 
|  03-22-2012, 01:30 PM | #3 | 
| Calibre Plugins Developer            Posts: 4,735 Karma: 2197770 Join Date: Oct 2010 Location: Australia Device: Kindle Oasis | 
			
			@copyrite - I'm afraid I can't verify anything without specific details   Please post the log output (in a spoiler) from the metadata download window, that has all the details I need of the title/author/isbn and what it did succeed in doing or any errors that were thrown. | 
|   |   | 
|  03-22-2012, 01:48 PM | #4 | 
| Wizard            Posts: 1,841 Karma: 4985051 Join Date: Sep 2010 Location: Maryland Device: Kindle | 
			
			Here ya go... Spoiler: 
 Does it somehow need to query my account information? Thanks! | 
|   |   | 
|  03-22-2012, 01:58 PM | #5 | 
| Calibre Plugins Developer            Posts: 4,735 Karma: 2197770 Join Date: Oct 2010 Location: Australia Device: Kindle Oasis | 
			
			Thanks for that. Yuck - that looks like a line of debug code got left in my official release - ugh. I will take a look when I get home and push up a new release.
		 | 
|   |   | 
|  03-22-2012, 02:45 PM | #6 | 
| Calibre Plugins Developer            Posts: 4,735 Karma: 2197770 Join Date: Oct 2010 Location: Australia Device: Kindle Oasis | 
				
				v1.0.1 Released
			 
			
			Changes in this release: 
 Thanks for reporting it. | 
|   |   | 
|  03-22-2012, 03:16 PM | #7 | 
| Wizard            Posts: 1,841 Karma: 4985051 Join Date: Sep 2010 Location: Maryland Device: Kindle | 
			
			Alas, I only go to "D". But you, sir, get an A PLUS! (and a few pennies, to boot  ) Thanks so much for the lightning fast response! | 
|   |   | 
|  09-02-2012, 10:02 PM | #8 | 
| Enthusiast  Posts: 28 Karma: 10 Join Date: Dec 2009 Device: PRS-505; Galaxy Tab 7 | 
			
			Looks like this isn't working anymore. Returns a no matches found error on everything. Although the URLs in the log it picks up from the search result seem fine and go to the right book when I put them in a browser. Here's a log: Spoiler: 
 | 
|   |   | 
|  09-03-2012, 03:12 AM | #9 | 
| Calibre Plugins Developer            Posts: 4,735 Karma: 2197770 Join Date: Oct 2010 Location: Australia Device: Kindle Oasis | 
			
			That's because they have completely revamped their website, which always breaks metadata download plugins. I will have to see if the plugin can be resurrected...
		 | 
|   |   | 
|  09-03-2012, 01:19 PM | #10 | |
| Enthusiast  Posts: 28 Karma: 10 Join Date: Dec 2009 Device: PRS-505; Galaxy Tab 7 | Quote: 
 It's the main source I use for book synopsis, series info and genre tags so it'd be nice to have it working again. | |
|   |   | 
|  09-03-2012, 03:38 PM | #11 | 
| Calibre Plugins Developer            Posts: 4,735 Karma: 2197770 Join Date: Oct 2010 Location: Australia Device: Kindle Oasis | 
				
				v1.0.2 Released
			 
			
			Changes in this release: 
 | 
|   |   | 
|  09-03-2012, 10:22 PM | #12 | 
| Enthusiast  Posts: 28 Karma: 10 Join Date: Dec 2009 Device: PRS-505; Galaxy Tab 7 | |
|   |   | 
|  09-25-2012, 02:59 AM | #13 | 
| hopeless n00b            Posts: 5,126 Karma: 19597086 Join Date: Jan 2009 Location: in the middle of nowhere Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9 | 
			
			Hmm, plug-in doesn't seem to want to work if the book title has an apostrophe. FictionDB page: The Halfling's Gem Charon's Claw Code: calibre, version 0.8.70 Download complete: <p>Finished downloading metadata for <b>2 book(s)</b>. Proceed with updating the metadata in your library?<p>Could not download metadata and/or covers for 2 of the books. Click "Show details" to see which books. The Halfling's Gem (Failed metadata) (Failed cover) Charon's Claw (Failed metadata) (Failed cover) Code: #################### Log for Charon's Claw ####################
Running identify query with parameters: 
{u'authors': [u'R.A. Salvatore'], u'identifiers': {}, u'timeout': 30, u'title': u"Charon's Claw"} 
Using plugins: FictionDB 
The log from individual plugins is below 
****************************** FictionDB ****************************** 
Request extra headers: [('User-agent', 'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)')] 
Found 0 results 
Downloading from FictionDB took 0.371000051498 
Querying: http://www.fictiondb.com/search/searchresults.htm - status=-&rating=-&pubgroup=0&isbn=&title=Charon%2527s+Claw&list=-&author=Salvatore&genretype=--&styp=6&datepublished=&imprint=0&srchtxt=multi&series=&myrating=-&dateread=&sgcode=0&tpcode=0&published=
No matches found with query: u'http://www.fictiondb.com/search/searchresults.htm' - 'status=-&rating=-&pubgroup=0&isbn=&title=Charon%2527s+Claw&list=-&author=Salvatore&genretype=--&styp=6&datepublished=&imprint=0&srchtxt=multi&series=&myrating=-&dateread=&sgcode=0&tpcode=0&published=' 
******************************************************************************** 
The identify phase took 0.41 seconds 
The longest time (0.371000) was taken by: FictionDB 
Merging results from different sources and finding earliest publication dates from the xisbn service 
We have 0 merged results, merging took: 0.00 seconds 
Failed to download metadata for Charon's Claw 
****************************** FictionDB Covers ****************************** 
Request extra headers: [('User-agent', 'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)')] 
Failed to download valid cover 
Took 0.240000009537 seconds 
No cached cover found, running identify
Querying: http://www.fictiondb.com/search/searchresults.htm - status=-&rating=-&pubgroup=0&isbn=&title=Charon%2527s+Claw&list=-&author=Salvatore&genretype=--&styp=6&datepublished=&imprint=0&srchtxt=multi&series=&myrating=-&dateread=&sgcode=0&tpcode=0&published=
No matches found with query: u'http://www.fictiondb.com/search/searchresults.htm' - 'status=-&rating=-&pubgroup=0&isbn=&title=Charon%2527s+Claw&list=-&author=Salvatore&genretype=--&styp=6&datepublished=&imprint=0&srchtxt=multi&series=&myrating=-&dateread=&sgcode=0&tpcode=0&published='
No cover found 
******************************************************************************** 
#################### Log for The Halfling's Gem ####################
Running identify query with parameters: 
{u'authors': [u'R.A. Salvatore'], u'identifiers': {}, u'timeout': 30, u'title': u"The Halfling's Gem"} 
Using plugins: FictionDB 
The log from individual plugins is below 
****************************** FictionDB ****************************** 
Request extra headers: [('User-agent', 'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)')] 
Found 0 results 
Downloading from FictionDB took 0.311000108719 
Querying: http://www.fictiondb.com/search/searchresults.htm - status=-&rating=-&pubgroup=0&isbn=&title=The+Halfling%2527s+Gem&list=-&author=Salvatore&genretype=--&styp=6&datepublished=&imprint=0&srchtxt=multi&series=&myrating=-&dateread=&sgcode=0&tpcode=0&published=
No matches found with query: u'http://www.fictiondb.com/search/searchresults.htm' - 'status=-&rating=-&pubgroup=0&isbn=&title=The+Halfling%2527s+Gem&list=-&author=Salvatore&genretype=--&styp=6&datepublished=&imprint=0&srchtxt=multi&series=&myrating=-&dateread=&sgcode=0&tpcode=0&published=' 
******************************************************************************** 
The identify phase took 0.45 seconds 
The longest time (0.311000) was taken by: FictionDB 
Merging results from different sources and finding earliest publication dates from the xisbn service 
We have 0 merged results, merging took: 0.00 seconds 
Failed to download metadata for The Halfling's Gem 
****************************** FictionDB Covers ****************************** 
Request extra headers: [('User-agent', 'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)')] 
Failed to download valid cover 
Took 0.240000009537 seconds 
No cached cover found, running identify
Querying: http://www.fictiondb.com/search/searchresults.htm - status=-&rating=-&pubgroup=0&isbn=&title=The+Halfling%2527s+Gem&list=-&author=Salvatore&genretype=--&styp=6&datepublished=&imprint=0&srchtxt=multi&series=&myrating=-&dateread=&sgcode=0&tpcode=0&published=
No matches found with query: u'http://www.fictiondb.com/search/searchresults.htm' - 'status=-&rating=-&pubgroup=0&isbn=&title=The+Halfling%2527s+Gem&list=-&author=Salvatore&genretype=--&styp=6&datepublished=&imprint=0&srchtxt=multi&series=&myrating=-&dateread=&sgcode=0&tpcode=0&published='
No cover found 
******************************************************************************** | 
|   |   | 
|  09-25-2012, 04:45 AM | #14 | 
| Calibre Plugins Developer            Posts: 4,735 Karma: 2197770 Join Date: Oct 2010 Location: Australia Device: Kindle Oasis | 
			
			@ILoveJDD - looking at the encoding in the log you show - are you sure those are not "curly" apostrophes rather than standard ones?
		 | 
|   |   | 
|  09-25-2012, 11:09 PM | #15 | 
| hopeless n00b            Posts: 5,126 Karma: 19597086 Join Date: Jan 2009 Location: in the middle of nowhere Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9 | 
			
			Nope. Before I downloaded metadata, I did a search and replace for curly apostrophes to regular ones. I believe %25 corresponds to the % sign so I'm guessing it's being double encoded or something. Perhaps the plugin searches for "The Halfling%27s Gem" and the website is translating it as "The Halfling%2527s Gem".
		 | 
|   |   | 
|  | 
| Thread Tools | Search this Thread | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| [Metadata Source Plugin] BOL.com (NL) | Pr.BarnArt | Plugins | 564 | 10-24-2025 12:35 PM | 
| [Metadata Source Plugin] Skoob | rodrigoccurvo | Plugins | 11 | 06-13-2019 06:44 PM | 
| [Metadata Source Plugin] DIZZIE_NL | Pr.BarnArt | Plugins | 7 | 08-11-2014 01:48 PM | 
| [Metadata Source Plugin] catawiki | drMerry | Plugins | 0 | 06-28-2011 08:42 PM | 
| [Metadata Source Plugin] Amazon.it | nandocuci | Plugins | 2 | 05-18-2011 02:36 AM |