02-27-2021, 09:00 PM | #16 |
Junior Member
Posts: 7
Karma: 10
Join Date: Dec 2014
Device: Kindle Oasis
|
Plugin Rating Incorrect Sometimes
Love the plugin. Worked accurately for about %90 of my books. Some books show up as 0 or blank in the rating column despite having a rating on Goodreads. For Example "Next Stop Execution" shows up as 0 on f_ratimg but is rated 4.17 on Goodreads. I am using the latest version of calibre, and latest f_rating and Goodreads plugins.
Thanks! |
02-28-2021, 08:02 AM | #17 | |
Addict
Posts: 381
Karma: 401800
Join Date: Jun 2011
Device: Pocketbook 902 / Ipad air/ kindle paperwhite
|
Quote:
I presume the goodreads-plugin is looking at the audio-cd version of the title, which has a rating of zero. |
|
Advert | |
|
02-28-2021, 08:18 AM | #18 | |
Addict
Posts: 381
Karma: 401800
Join Date: Jun 2011
Device: Pocketbook 902 / Ipad air/ kindle paperwhite
|
Quote:
To prevent selecting audio-books, the original goodreads plugin should be modified. The goodreads-rating plugin is based ont that one. I don't modify the original goodreads-plugin, except adding the rating. Last edited by Pr.BarnArt; 03-02-2021 at 09:36 AM. |
|
06-07-2022, 11:18 AM | #19 |
Junior Member
Posts: 1
Karma: 10
Join Date: Jun 2022
Device: Calibre
|
Not able to get F_Rating to work
Hi Pr.BarnArt
I installed both plugins: Goodreads_rating 3.1.0 F_rating 3.2.0 I created the columns and it added it to my main view. I followed the instructions to download the metadata...but whenever I click on F_Rating, I always get: calibre, version 5.43.0 Database Update: Finished extracting rating from publisherfield - for a total of 0 books ...no matter how many books I try. I took a few screenshots...I hope this helps https://paste.pics/a326c5d4418af878d676c81025e53182 https://paste.pics/1d7122668a4d31c5a23dfc3b9760aaa6 https://paste.pics/8a7e437fdbb70aacef1490c86765406f https://paste.pics/52ac5d33f0ceb09c76a0b23715efb52c https://paste.pics/7842116702f9d92cbe3cbdb50ec29c7e Also, depending the the route I take to go get the metadata (from the Book Detail window, or from the window where we see all the books), I sometimes get this error https://paste.pics/c02f6589529fe93d60287f7e5d3254b1 Any help would be GREATLY appreciated. Thanks Alan |
06-12-2022, 04:54 AM | #20 |
Addict
Posts: 381
Karma: 401800
Join Date: Jun 2011
Device: Pocketbook 902 / Ipad air/ kindle paperwhite
|
first: is rating info added to the publishername, after a search with goodreads_rating?
second: if negative, can you give me an example of a book |
Advert | |
|
06-18-2022, 01:54 PM | #21 | |
Library Breeder (She/Her)
Posts: 1,149
Karma: 1900479
Join Date: Apr 2015
Location: Fullerton, California
Device: Kobo Aura HD (1) PW3 (4) PW3 2019 new edition (1)
|
Quote:
See attached - Note that it has the same ISBN Number for both books EDIT: SOrry, but I just realized that this is not the same problem that was listed. alain@expweb.ca stated that this happens ALL the time, so I doubt that my reasoning is the explaination. However, I still might have a point in the ratings delivered Last edited by Rellwood; 06-18-2022 at 01:57 PM. |
|
06-18-2022, 02:39 PM | #22 |
Library Breeder (She/Her)
Posts: 1,149
Karma: 1900479
Join Date: Apr 2015
Location: Fullerton, California
Device: Kobo Aura HD (1) PW3 (4) PW3 2019 new edition (1)
|
Is it possible to include a number of ratings column?
|
07-12-2022, 07:54 PM | #23 |
Guru
Posts: 714
Karma: 228142
Join Date: Sep 2017
Location: Argentina
Device: moon+ reader, kindle paperwhite
|
Please don't abandon this plugin, will there be support for v6 ?
|
07-13-2022, 06:12 AM | #24 |
Addict
Posts: 381
Karma: 401800
Join Date: Jun 2011
Device: Pocketbook 902 / Ipad air/ kindle paperwhite
|
|
07-13-2022, 07:51 PM | #25 |
Guru
Posts: 714
Karma: 228142
Join Date: Sep 2017
Location: Argentina
Device: moon+ reader, kindle paperwhite
|
Thanks for this update!!!!
Pr.BarnAt as a suggestion, will it be possible to collect the data shown in the image? the rating count ? Last edited by dunhill; 07-20-2022 at 08:50 PM. |
09-02-2022, 09:50 PM | #26 |
Junior Member
Posts: 1
Karma: 10
Join Date: Jun 2021
Device: kindle paperwhite 2
|
# of ratings modification
Hello,
I love this plug in! Thank you so much for spending time to create and maintain it! I had found a suggested edit to your code that added the count of ratings in the publisher field along with the rating itself (below). Though I am no programmer, I was able to use column formatting in Calibre to parse it and convert the text into 2 separate custom number columns so they were sortable. It really helps me understand how meaningful the rating is. Sadly, with the recent update to 4.0, I can't figure out how to incorporate below into the new version. Is there an easy way to do this or would it need to be re-written by something more capable than myself? ADDED THIS to your version based on 1.5.1 (I believe): try: mi.publisher, mi.pubdate = self.parse_publisher_and_date(root) # Added 1 line below mi.publisher = self.parse_rating_withcount(root) except: self.log.exception('Error parsing publisher and date for url: %r'%self.url) THEN ADDED THIS AT THE END: # Added section below def parse_rating_withcount(self, root): # rating_node = root.xpath('//div[@id="metacol"]/div[@id="bookMeta"]/span[@class="value rating"]/span') rating_node = root.xpath('//span[@itemprop="ratingValue"]') rating_count = root.xpath('//*[@itemprop="ratingCount"]/@content') # rating_node = root.xpath('//div[@id="metacol"]/div[@id="details"]/div[@class="buttons"]/div[@id="bookDataBox"]/div/div[@itemprop="inLanguage"]') self.log.info("parse_rating: rating_node=", rating_node) if rating_node and len(rating_node) > 0: try: self.log.info("parse_rating: have rating node - rating_node[0].text=", rating_node[0].text) rating_text = rating_node[0].text rating_value = float(rating_text) rating_text = rating_node[0].text + " " + rating_count[0] # rating_text = rating_count[0] return rating_text except: self.log.info("parse_rating: Exception getting rating") import traceback traceback.print_stack() return None |
12-18-2022, 11:25 AM | #27 |
Member
Posts: 11
Karma: 10
Join Date: Oct 2016
Device: Kindle Oasis
|
The Goodreads_Rating plugin is throwing an error for me this week (perhaps due to installing the newest version of Calibre?)
|
12-20-2022, 05:23 PM | #28 |
Addict
Posts: 381
Karma: 401800
Join Date: Jun 2011
Device: Pocketbook 902 / Ipad air/ kindle paperwhite
|
The original goodreads plugin now supports also the decimal rating. So I think there is no need for this plugin anymore. Also because the original goodreads plugin handles the seperate column for these ratings.
|
01-28-2023, 09:53 AM | #29 |
Junior Member
Posts: 1
Karma: 10
Join Date: Jan 2023
Device: Kobo
|
Is it just me?
Is it just me, or has the plugin stopped working?
Anyway, thanks for your work! |
01-29-2023, 06:09 PM | #30 |
Junior Member
Posts: 1
Karma: 10
Join Date: Dec 2018
Device: none
|
Thanks to Pr.BarnArt for this excellent plugin. Truly helped in keeping my library nicely curated.
Given that the original goodreads plugin now supports the decimal rating, and Pr.BarnArt's comment about sunsetting this (Goodreads_rating) plugin, I'd like to avoid rescraping my entire library with Goodreads just to get the rating. is there a relatively painless way to copy the Goodreads_rating values into the Goodreads plugin rating field? I took a quick look at the API, and the sqlite schema, and I'm not familiar enough yet to roll my own method. Anyone done this? Or have guidance on where to start? I figured the source for both plugins would be my next step. |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Metadata Source Plugin] Public.gr | wrangly | Plugins | 1 | 01-21-2021 07:53 AM |
[Metadata Source Plugin] Empty Plugin? (Fake Identifier) | mneimeyer | Plugins | 3 | 11-11-2019 08:07 PM |
[Metadata Source Plugin] Skoob | rodrigoccurvo | Plugins | 11 | 06-13-2019 06:44 PM |
[Metadata Source Plugin] Politeianet.gr | wrangly | Plugins | 0 | 01-07-2017 08:26 PM |
[Metadata Source Plugin] Amazon.it | nandocuci | Plugins | 2 | 05-18-2011 02:36 AM |