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 12-14-2019, 11:58 AM   #1
Pr.BarnArt
Addict
Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.
 
Pr.BarnArt's Avatar
 
Posts: 329
Karma: 400746
Join Date: Jun 2011
Device: Pocketbook 902 / Ipad air/ kindle paperwhite
[Metadata Source Plugin] Goodreads_rating

There were several who asked for a plugin which can get and store the decimal rating of goodreads.
I gave it a try, just because I like to tackle a problem. But I am not a very good programmer. So this is more or less for fun and there sure will be better/smarter ways to solve this.

For this you need two plugins:
1. Goodreads_rating
I changed the original plugin ( thanks to Kiwidude) just a little.
The publisher-field now contains the publishersname, followed bij '#PrB.rating#' and then followed by the rating of goodreads.

2. F_rating
You can find it here or download it within calibre->preferences->plugins.

INSTALLATION (Thanks to arialvetica)

1. Download both linked plugins (current version is always at the bottom of the original post).
2. Install both linked plugins. To do this, click on "Preferences," then under the "Advanced" heading click on "Plugins." For each plugin, click on "Load plugin from file." Find the ZIP file you just downloaded, click "Open." Click "Yes" on the "Are you sure?" dialogue. Restart calibre after installing plugins.
3. There will be a new icon (looks like an orange starburst) in the main menu, called Frating. It has a menu with two options:
- Set decimal rating;
- Check and create custum column;

But you can also click the icon itself and it will run: set decimal rating;
This will check if there is already a custom column for this.
If not it wil create one and you have to restart calibre.
If the check is true, it will go on with putting the decimal rating in the custom column.

For creating the column you can also slect the menu option: "Check and create custom column." (Optional: You can change the Column Heading through Preferences: Add Your Own Columns. Double-click on the #gr1 column, and type whatever you prefer in the "Column Heading" field. Do NOT change the lookup name.)


USAGE

To download ratings for an individual book (good for checking if you've done setup correctly.)
1. Click on a book title in the main calibre window.
2. Click on "Edit metadata individually".
3. Next to "Download metadata," click on the Configure Download icon (looks like a "Preferences/Settings" icon, hover-text should read "Change how calibre downloads metadata.")
4. Ensure "Goodreads_Rating" is the ONLY checked Source, then Apply changes.
5. Click on "Download metadata".
6. When the download is complete, click "OK" first for the metadata, then "OK" again for the cover.
7. Click "OK" again to save changes and close the Edit Metadata window.
8. Click on the "Run frating" icon (looks like an orange starburst).
After this processes, you'll see a dialogue box either confirming whether it worked ("Finished extracting rating from publisherfield - for a total of X books") or not ("Finished extracting rating from publisherfield - for a total of 0 books"). Click OK to close the dialogue. Now, in the main calibre window, in this book's row and under the gr_ratings column, you should see a number ranging from 0.0 to 5.0.

To download ratings in bulk
1. Select a range of books in the main calibre window.
2. Click on "Download metadata and covers".
3. Click on "Configure Download".
4. Ensure "Goodreads_Rating" is the ONLY checked Source, then Apply changes.
5. Click on "Download only metadata".
6. When the download is complete, click "Yes".
7. Click "OK" again to save changes and close the Edit Metadata window.
8. Click on the "Run frating" icon (looks like an orange starburst).
9. Click on "Set decimal retings." After this processes, you'll see a dialogue box either confirming whether it worked ("Finished extracting rating from publisherfield - for a total of X books") or not ("Finished extracting rating from publisherfield - for a total of 0 books"). Click OK to close the dialogue. Now, in the main calibre window, in each book's row and under the gr_ratings column, you should see a number ranging from 0.0 to 5.0.

!NOTE: When downloading metadata from your usual sources (to get book covers, tags, etc), you'll need to go back to the "Configure Download" window and select your preferred sources. When downloading Goodreads Decimal Ratings, you'll need to repeat the steps to download ONLY from Goodreads_Rating.


Enjoy
Paypal Donations:
  • If you find this plugin useful please feel free to show your appreciation.

Version History:
Spoiler:

2019-12-14
v. 3.0.0. based on Goodreads 1.4.0

Attached Files
File Type: zip goodreadsX-3.0.zip (22.6 KB, 3151 views)

Last edited by Pr.BarnArt; 12-14-2019 at 01:58 PM.
Pr.BarnArt is offline   Reply With Quote
Old 12-20-2019, 08:54 PM   #2
Rellwood
Library Breeder
Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.
 
Rellwood's Avatar
 
Posts: 610
Karma: 1900141
Join Date: Apr 2015
Location: Fullerton, California
Device: Kobo Aura HD (1) PW3 (4) PW3 2019 new edition (1)
Im not sure if you are watching this board, but I am having problems getting the ratings to populate in the columns - even if the publisher has the rating in it.

This is a new problem (within the past update) which I had to do because of other plugins requiring it.
Calibre 4.6
Rellwood is offline   Reply With Quote
Advert
Old 12-21-2019, 09:21 AM   #3
Pr.BarnArt
Addict
Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.
 
Pr.BarnArt's Avatar
 
Posts: 329
Karma: 400746
Join Date: Jun 2011
Device: Pocketbook 902 / Ipad air/ kindle paperwhite
Quote:
Originally Posted by Rellwood View Post
Im not sure if you are watching this board, but I am having problems getting the ratings to populate in the columns - even if the publisher has the rating in it.

This is a new problem (within the past update) which I had to do because of other plugins requiring it.
Calibre 4.6
I see no issues when using 4.6.

Just to check:
using Goodreads_rating 3.0.0 ?
seperator between Publisher and rating: #PrB.rating# ?
using F_rating 3.1.0 ?
try F_rating.menu-> Check and create custom column.

what is the result if you click F-rating

Last edited by Pr.BarnArt; 01-18-2020 at 12:39 PM.
Pr.BarnArt is offline   Reply With Quote
Old 01-17-2020, 01:31 PM   #4
Lynnloi
Junior Member
Lynnloi began at the beginning.
 
Lynnloi's Avatar
 
Posts: 4
Karma: 10
Join Date: Nov 2018
Device: iPad
frating not transferring decimal rating any longer

Hi.

Thank you for your most helpful plugin which I have used for some time.

I have not used the Calibre for several months and had just updated the plugins today. I noticed that the decimal ratings are no longer updated when I applied "frating" with the orange burst. I could see the decimal rating linked to the publisher e.g.

Tamara Gill#PrB.rating#4.36

However, the value is not transferred to the rating column anymore. Message given is:

calibre, version 4.8.0
Updated database: Finished extracting rating from publisherfield
- for a total of 0 books


Lynn
Lynnloi is offline   Reply With Quote
Old 01-18-2020, 12:35 PM   #5
Pr.BarnArt
Addict
Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.
 
Pr.BarnArt's Avatar
 
Posts: 329
Karma: 400746
Join Date: Jun 2011
Device: Pocketbook 902 / Ipad air/ kindle paperwhite
Quote:
Originally Posted by Lynnloi View Post
.
I applied "frating" with the orange burst. I could see the decimal rating linked to the publisher e.g.
Tamara Gill#PrB.rating#4.36

However, the value is not transferred to the rating column anymore.
I cannot reproduce this
I tested with calibre 4.8 and ( 4.99 Beta python 3) with no errors
Goodreads-rating seems to work ok , according to the Publisher field.
Did you update f_rating to 3.1.0 ?
It is renamed to Float-rating (F-rating)

Last edited by Pr.BarnArt; 01-18-2020 at 12:50 PM.
Pr.BarnArt is offline   Reply With Quote
Advert
Old 01-20-2020, 09:03 AM   #6
Lynnloi
Junior Member
Lynnloi began at the beginning.
 
Lynnloi's Avatar
 
Posts: 4
Karma: 10
Join Date: Nov 2018
Device: iPad
Hi BarnArt,

I just noticed there is a newer orange-burst button on top labeled 'F_frating', in addition to the older orange-burst labeled "frating". I had been clicking on the older button and expecting it to work. It works perfectly now that I am clicking on the newer 'F_frating'.

Thank you very much for your response.


-Lynn-
Lynnloi is offline   Reply With Quote
Old 01-20-2020, 11:27 AM   #7
Pr.BarnArt
Addict
Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.
 
Pr.BarnArt's Avatar
 
Posts: 329
Karma: 400746
Join Date: Jun 2011
Device: Pocketbook 902 / Ipad air/ kindle paperwhite
Quote:
Originally Posted by Lynnloi View Post
Hi BarnArt,

I just noticed there is a newer orange-burst button on top labeled 'F_frating', in addition to the older orange-burst labeled "frating". I had been clicking on the older button and expecting it to work. It works perfectly now that I am clicking on the newer 'F_frating'.

Thank you very much for your response.


-Lynn-
Good, you can remove the old plugin, it was a beta version. For the new one you will receive updates within Calibre

Last edited by Pr.BarnArt; 01-20-2020 at 04:56 PM.
Pr.BarnArt 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] Empty Plugin? (Fake Identifier) mneimeyer Plugins 3 11-11-2019 09:07 PM
[Metadata Source Plugin] Skoob rodrigoccurvo Plugins 11 06-13-2019 07:44 PM
[Metadata Source Plugin] Politeianet.gr wrangly Plugins 0 01-07-2017 09:26 PM
[Metadata Source Plugin] Public.gr wrangly Plugins 0 01-03-2017 10:19 PM
[Metadata Source Plugin] Amazon.it nandocuci Plugins 2 05-18-2011 03:36 AM


All times are GMT -4. The time now is 02:11 PM.


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