01-20-2013, 03:41 AM | #76 |
Calibre Plugins Developer
Posts: 4,636
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
If the book being looked up has no isbn, then the plugin does a title/author search and at that point that is the one single scenario at which it could attempt to choose a particular format over another (presuming that it comes back in the results). However this approach would only work if (1) the book has no isbn prior to metadata lookup, (2) the edition you want comes back in the search results, and (3) that isbn is in the same isbn pool as any other metadata plugins enabled. Which is just too small a subset of circumstances for general users to rely upon it.
To be honest I haven't really noticed an issue with the existing behaviour - the covers I get back generally tend to be around 600px high or so. Though in the few circumstances where they are not I haven't gone looking to see if there is another edition on B&N that would have given a better cover. |
04-10-2013, 02:23 PM | #77 |
Junior Member
Posts: 1
Karma: 10
Join Date: Jul 2012
Device: Nook Simple Touch w/ Glowlight
|
Hi, just posting this here :-)
https://bugs.launchpad.net/calibre/+bug/1167426 Keep up the awesome work! |
04-15-2013, 09:40 AM | #78 |
Calibre Plugins Developer
Posts: 4,636
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
v1.2.10 released
Changes in this release:
Thx KoU for pointing this out. |
09-08-2013, 05:45 AM | #79 |
Confused N00b
Posts: 7
Karma: 10
Join Date: Sep 2012
Location: USA
Device: none
|
Just a quick note: This doesn't seem to work at all, without an isbn. Searching with a valid title and author returns "No matches found with query:", but taking the exact link and pasting into a browser returns the book. For example, one search, if I paste the exact query string, B&N's page has Showing all of 9 results for (what I searched). I'd guess B&N changed something and now the plugin doesn't correctly parse the results number? (If I click on the result and then copy the BN ID as isbn and retry searching metadata, it works fine... )
|
09-08-2013, 05:59 AM | #80 | |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
Quote:
|
|
09-08-2013, 06:26 AM | #81 | |
Confused N00b
Posts: 7
Karma: 10
Join Date: Sep 2012
Location: USA
Device: none
|
Intentional...
Quote:
I'm not knowledgeable enough to troubleshoot plugins, but I did look at the zip file; I know the first xpath is matching exactly, ie, this: <div id="search-results-1" data-bn-widget-name="search-results" class="list search-results"><ol class="result-set box" data-bntrack="Search Results list" data-bntrack-root="true" data-bntrack-pageaware="true"> <li class="result box has-badge" id="search-result0" data-bntrack="1"> But, I couldn't follow beyond that, with my limited knowledge. Further messing around shows, if there's a valid ISBN, but no 'author', it fails, which is irritating. (Ie, author = "Unknown" or blank...) All of the problem ones are, again, adult, so have only the BN ID (which is fine for me in my filename as an ISBN), but the plugin doesn't see the results as valid. Okay, here's a somewhat crude, but hopefully appropriate, example: http://www.barnesandnoble.com/s?stor...e+Dave+Praeger That returns a valid result. But, plugin say, me no give you love! calibre, version 1.2.0 ERROR: No matches found: <p>Failed to find any books that match your search. Try making the search <b>less specific</b>. For example, use only the author's last name and a single distinctive word from the title.<p>To see the full log, click Show Details. Running identify query with parameters: {u'authors': [u'Dave Praeger', u'Paul Provenza (foreword By)'], u'identifiers': {}, u'timeout': 30, u'title': u'Poop Culture: How America Is Shaped by Its Grossest National Product'} Using plugins: Barnes & Noble The log from individual plugins is below ****************************** Barnes & Noble ****************************** Request extra headers: [('User-agent', 'Mozilla/5.0 (Windows NT 6.1; rv:6.0) Gecko/20110814 Firefox/6.0')] Found 0 results Downloading from Barnes & Noble took 4.95199990273 Querying: http://www.barnesandnoble.com/s?stor...e+Dave+Praeger No matches found with query: u'http://www.barnesandnoble.com/s?store=book&keyword=Poop+Culture+Dave+Praeger' ************************************************** ****************************** The identify phase took 5.00 seconds The longest time (4.952000) was taken by: Barnes & Noble Merging results from different sources and finding earliest publication dates from the worldcat.org service We have 0 merged results, merging took: 0.00 seconds You can see that the exact query as printed returns 2 results, for that one. For pretty much everything else, there's just one result, so not even a need to figure out what's valid. I'm sorry I can't be more help. And it's not that big of a deal, I guess, since I only have 10 more left to search on by hand now, just disappointed because the B&N plugin seems like it would have been perfect to fill in the metadata. (All of these have the ISBN empty, and ISBN Extract bombs on them, so I wanted to avoid doing exactly what I'm doing, which is cutting and pasting each ISBN off B&N's site! ) |
|
09-08-2013, 07:19 AM | #82 |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
|
09-08-2013, 07:23 AM | #83 |
Calibre Plugins Developer
Posts: 4,636
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
@slothful - it is just a change to the B&N website. Will push a fix shortly.
|
09-08-2013, 08:14 AM | #84 |
Calibre Plugins Developer
Posts: 4,636
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
v1.2.11 released
Changes in this release:
|
09-08-2013, 10:11 PM | #85 |
Confused N00b
Posts: 7
Karma: 10
Join Date: Sep 2012
Location: USA
Device: none
|
Wow, that was some quick turnaround. I already did all by hand, but did a couple quick tests with the plugin, and everything works as would be expected, so confirmed all fixed. Nice job!
|
07-18-2014, 10:22 PM | #86 |
Wizard
Posts: 2,082
Karma: 8796704
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
Port for QT5
I have ported the Barnes & Noble plugin for Qt5.
Will read Code:
author = 'Grant Drake ported for qt5 by gbm 07.18.2014' version = ('qt5', 'test', 1) Remove the old plugin and install this one. Tested with calibre 1.202.0 and calibre 1.44 using linux Mint 17. bernie Updated the plugin with comment lines describing the changes for QT5 and updated the changelog.txt file listing the test version. Last edited by gbm; 07-21-2014 at 11:00 AM. Reason: udated file |
07-18-2014, 10:41 PM | #87 |
null operator (he/him)
Posts: 20,565
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@gbm - Did some simple tests with Windows portable V1.202 and Windows 64bit V1.45 - No problems
BR |
07-18-2014, 11:00 PM | #88 | |
Wizard
Posts: 2,082
Karma: 8796704
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
Quote:
On the edit Metadata Page and by the customize plugin on the preferences-plugins page. bernie |
|
07-19-2014, 12:10 AM | #89 | |
null operator (he/him)
Posts: 20,565
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
It works there too, I turned comments and ratings off & on, did downloads - no surprises BR |
|
07-21-2014, 11:00 AM | #90 |
Wizard
Posts: 2,082
Karma: 8796704
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Metadata Source Plugin] FictionDB | kiwidude | Plugins | 129 | 03-16-2024 11:14 PM |
Read a book's metadata in a Metadata source plugin? | J-H | Development | 2 | 03-30-2021 09:08 AM |
[Metadata Source Plugin] Empty Plugin? (Fake Identifier) | mneimeyer | Plugins | 3 | 11-11-2019 08:07 PM |
Unique Key Name with Barnes and Noble Plugin | laughingdragons | Plugins | 4 | 07-22-2013 09:34 PM |
[Metadata Source Plugin] Amazon.it | nandocuci | Plugins | 2 | 05-18-2011 02:36 AM |