Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 06-25-2018, 05:15 PM   #76
nurbles62
Junior Member
nurbles62 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jun 2018
Device: Kindle for Samsung Tablets
Not Finding Existing Title

I've been trying to update a book titled "Relics: Two: by Nick Thayer and none of the metadata plug-ins can find it. The title is listed on FantasticFiction.com, but the match I get back is always wrong! I have calibre 3.26.1 and v1.20 of the FF plugin. Here's the log (with the google and amazon results removed):

Code:
Running identify query with parameters: 
{u'identifiers': {}, u'authors': [u'Nick Thacker'], u'timeout': 30, u'title': u'Relics: Two'} 
Using plugins: Fantastic Fiction (1, 2, 0), Google (1, 0, 0), Amazon.com (1, 2, 2) 
The log from individual plugins is below 

****************************** Fantastic Fiction (1, 2, 0) ****************************** 
Found 1 results 
Downloading from Fantastic Fiction took 0.888000011444 

--- 
Title               : Relics: One
Author(s)           : Nick Thacker
Series              : Relics Singularity #1
Identifiers         : ff:t/nick-thacker/relics-one
Comments            : 
Myers is a Relic. Cast out of society by a computer program that's far more efficient at managing and regulating human life than any human ever could be.   
The System is running everyone's life. It's quickly becoming smarter than humans, and it no longer has any need for leaders like Myers. There's a technological singularity coming, and only Myers knows how to stop it.   
The problem? He doesn't remember anything from the past 15 years. And now he's being hunted.  
 
Querying Country preference: https://clu.fantasticfiction.com/clu-js
Querying: https://www.fantasticfiction.com/dbs/books?bq='FF'&q=Relics+Nick+Thacker&start=0&size=20&rank=-visits_us&return-fields=booktype,title,atitle,vtitle,year,pfn,hasimage,authorsinfo,seriesinfo,db,imageloc
FantasticFiction url: u'https://www.fantasticfiction.com/t/nick-thacker/relics-one.htm'
Found authors: ['Nick Thacker'] 

******************************************************************************** 

******************************************************************************** 
The identify phase took 4.42 seconds 
The longest time (4.263000) was taken by: Amazon.com 
Merging results from different sources and finding earliest  publication dates from the worldcat.org service 
We have 3 merged results, merging took: 0.22 seconds
Any ideas or hope? Thanks!
nurbles62 is offline   Reply With Quote
Old 07-11-2018, 05:30 AM   #77
er0_senn1n
Member
er0_senn1n began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Jan 2011
Device: Sony PRS-350
Metadata ID search

Is it possible when downloading metadata for bulk files to have Calibre only search the author page in fantastic fiction and then match the title from there

ie. ff:g/david-lynn-golemon/

instead of

ff:g/david-lynn-golemon/event
er0_senn1n is offline   Reply With Quote
Old 07-11-2018, 07:59 AM   #78
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 14,732
Karma: 24696650
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo: Touch, Glo, Aura H2O, Glo HD, Aura ONE
Quote:
Originally Posted by er0_senn1n View Post
Is it possible when downloading metadata for bulk files to have Calibre only search the author page in fantastic fiction and then match the title from there

ie. ff:g/david-lynn-golemon/

instead of

ff:g/david-lynn-golemon/event
I'm not sure what you mean here. The latter is the id stored for the a book. It is intended to point directly to the book.

If what you mean is for the search to fetch the author page and only look for the title on that page, that is an interesting idea. But, it assumes that the author is correct. And it assumes something about how this plugin works. Most of the metadata source plugins fetch the search page results and parse that. But, this one uses a API. To do it the way you suggest, would mean a rewrite of the search. And I'm not sure it would be any more accurate than what is being done now.
davidfor is online now   Reply With Quote
Old 07-11-2018, 08:22 AM   #79
er0_senn1n
Member
er0_senn1n began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Jan 2011
Device: Sony PRS-350
Quote:
Originally Posted by davidfor View Post
I'm not sure what you mean here. The latter is the id stored for the a book. It is intended to point directly to the book.

If what you mean is for the search to fetch the author page and only look for the title on that page, that is an interesting idea. But, it assumes that the author is correct. And it assumes something about how this plugin works. Most of the metadata source plugins fetch the search page results and parse that. But, this one uses a API. To do it the way you suggest, would mean a rewrite of the search. And I'm not sure it would be any more accurate than what is being done now.
This is exactly what I meant, but it sounds like a lot of work for little gain, thanks for the reply though
er0_senn1n is offline   Reply With Quote
Old 07-11-2018, 08:34 AM   #80
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 14,732
Karma: 24696650
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo: Touch, Glo, Aura H2O, Glo HD, Aura ONE
Quote:
Originally Posted by nurbles62 View Post
I've been trying to update a book titled "Relics: Two: by Nick Thayer and none of the metadata plug-ins can find it. The title is listed on FantasticFiction.com, but the match I get back is always wrong! I have calibre 3.26.1 and v1.20 of the FF plugin. Here's the log (with the google and amazon results removed):

Code:
Running identify query with parameters: 
{u'identifiers': {}, u'authors': [u'Nick Thacker'], u'timeout': 30, u'title': u'Relics: Two'} 
Using plugins: Fantastic Fiction (1, 2, 0), Google (1, 0, 0), Amazon.com (1, 2, 2) 
The log from individual plugins is below 

****************************** Fantastic Fiction (1, 2, 0) ****************************** 
Found 1 results 
Downloading from Fantastic Fiction took 0.888000011444 

--- 
Title               : Relics: One
Author(s)           : Nick Thacker
Series              : Relics Singularity #1
Identifiers         : ff:t/nick-thacker/relics-one
Comments            : 
Myers is a Relic. Cast out of society by a computer program that's far more efficient at managing and regulating human life than any human ever could be.   
The System is running everyone's life. It's quickly becoming smarter than humans, and it no longer has any need for leaders like Myers. There's a technological singularity coming, and only Myers knows how to stop it.   
The problem? He doesn't remember anything from the past 15 years. And now he's being hunted.  
 
Querying Country preference: https://clu.fantasticfiction.com/clu-js
Querying: https://www.fantasticfiction.com/dbs/books?bq='FF'&q=Relics+Nick+Thacker&start=0&size=20&rank=-visits_us&return-fields=booktype,title,atitle,vtitle,year,pfn,hasimage,authorsinfo,seriesinfo,db,imageloc
FantasticFiction url: u'https://www.fantasticfiction.com/t/nick-thacker/relics-one.htm'
Found authors: ['Nick Thacker'] 

******************************************************************************** 

******************************************************************************** 
The identify phase took 4.42 seconds 
The longest time (4.263000) was taken by: Amazon.com 
Merging results from different sources and finding earliest  publication dates from the worldcat.org service 
We have 3 merged results, merging took: 0.22 seconds
The problem is the colon in the name. Most of the metadata source plugins are programmed to remove anything after a colon in the title before doing the search. This is because it is a common way to do a subtitle. Unfortunately, it means the plugins do not find titles like this.

I'm not sure what the best thing to do here is. Changing the plugin to not strip the subtitle would mean that this search would work. But, it would be inconsistent with most of the other searches. Also, it isn't just the colon used as the subtitle separator, but also anything in parentheses of various types.

A workaround is to remove the colon yourself before doing the search. This did find the correct book when I tested it. And removing "Relic:" also worked. I tested a couple of other books and both of these worked as well.

As I said, I'm not sure what the best whether to change this. I'm tending to not doing it to be consistent. But, if there is a consensus that it is wrong, it is a simple change in the code.
davidfor is online now   Reply With Quote
Old 07-12-2018, 08:37 AM   #81
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,603
Karma: 13662888
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
Quote:
Originally Posted by davidfor View Post
The problem is the colon in the name. Most of the metadata source plugins are programmed to remove anything after a colon in the title before doing the search. This is because it is a common way to do a subtitle.

...~~~...

But, if there is a consensus that it is wrong, it is a simple change in the code.
I say let it be. Truncating the subtitle as a default is probably best.
DoctorOhh is offline   Reply With Quote
Old 07-12-2018, 10:00 AM   #82
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 21,784
Karma: 20975546
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: K4NT, Galaxy Tab 2(RIP)
Quote:
Originally Posted by DoctorOhh View Post
I say let it be. Truncating the subtitle as a default is probably best.
Seconded
theducks is offline   Reply With Quote
Old Today, 03:22 PM   #83
nurbles62
Junior Member
nurbles62 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jun 2018
Device: Kindle for Samsung Tablets
Smile

Quote:
Originally Posted by davidfor View Post
The problem is the colon in the name.
Thanks for the info. Now that I am aware of the "colon issue" I will endeavour to follow your instructions for manually "tweaking" the search for the few books I have that are only unique in subtitle. The others seem to always be found OK, since the titles are unique already -- I never realized the subtitles were being ignored because they seemed to be matching fine until the most recent set with three books named in the style "One Title for All Three: Unique Subtitle For Each"

So, not broken or even having a problem. Just a matter of a little bit of info that wasn't in my knowledge bank. Thanks for helping and for a great Calibre plug in!
nurbles62 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Metadata Source Plugin] Goodreads kiwidude Plugins 406 07-07-2018 04:42 AM
[Metadata Source Plugin] Barnes & Noble kiwidude Plugins 133 06-25-2018 02:48 AM
Small Change to Metadata Source plugin API kovidgoyal Development 2 04-25-2011 02:55 PM
Where is Fantastic Fiction? GA Russell General Discussions 6 04-24-2011 06:57 PM
Fantastic Fiction website Leep General Discussions 23 03-09-2011 06:08 AM


All times are GMT -4. The time now is 10:24 PM.


MobileRead.com is a privately owned, operated and funded community.