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 09-18-2023, 12:26 PM   #241
josepinto
Connoisseur
josepinto began at the beginning.
 
Posts: 50
Karma: 10
Join Date: Apr 2005
Device: Nokia 5320
Hi,

Is the Status date automatically filled when Reading Progress is set or not?
josepinto is offline   Reply With Quote
Old 09-18-2023, 02:02 PM   #242
thiago.eec
Guru
thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.
 
Posts: 841
Karma: 1168455
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite
Quote:
Originally Posted by josepinto View Post
Hi,

Is the Status date automatically filled when Reading Progress is set or not?
Hi. No, it does not change your calibre metadata. It's read only.
thiago.eec is online now   Reply With Quote
Old 09-18-2023, 07:02 PM   #243
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 7,602
Karma: 54930589
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
I'm still running into the timezone error.

Glitched entries:
Spoiler:

Code:
    "3064": {
      "authors": [
        "Troon Harrison"
      ],
      "challenges": [
        "Annual"
      ],
      "date": {
        "__class__": "datetime.datetime",
        "__value__": "2023-09-18T09:47:15+00:00"
      },
      "genre": "Undefined",
      "last_year_pages": 0,
      "page_count": 244,
      "read_pages": 12,
      "records": {
        "0": {
          "date": null,
          "read_pages": 0,
          "status": 0
        },
        "1": {
          "date": {
            "__class__": "datetime.datetime",
            "__value__": "2023-09-18T09:41:38.328629+00:00"
          },
          "read_pages": 2,
          "status": 1
        },
        "2": {
          "date": {
            "__class__": "datetime.datetime",
            "__value__": "2023-09-18T09:47:15.657842+00:00"
          },
          "read_pages": 12,
          "status": 5
        }
      },
      "reread_count": 0,
      "shelf": "Reading",
      "status": 5,
      "title": "A Bushel of Light",
      "title_sort": "Bushel of Light, A"
    },

Code:
    "2050": {
      "authors": [
        "Lauren Brooke"
      ],
      "challenges": [
        "Annual"
      ],
      "date": {
        "__class__": "datetime.datetime",
        "__value__": "2023-09-18T13:14:14+00:00"
      },
      "genre": [
        "Fiction.Juvenile & Young Adult"
      ],
      "last_year_pages": 0,
      "page_count": 175,
      "read_pages": 175,
      "records": {
        "0": {
          "date": null,
          "read_pages": 0,
          "status": 0
        },
        "1": {
          "date": {
            "__class__": "datetime.datetime",
            "__value__": "2023-09-16T02:24:56.783767+00:00"
          },
          "read_pages": 2,
          "status": 1
        },
        "2": {
          "date": {
            "__class__": "datetime.datetime",
            "__value__": "2023-09-16T07:56:54.864767+00:00"
          },
          "read_pages": 19,
          "status": 11
        },
        "3": {
          "date": {
            "__class__": "datetime.datetime",
            "__value__": "2023-09-17T02:53:02.177498+00:00"
          },
          "read_pages": 37,
          "status": 21
        },
        "4": {
          "date": {
            "__class__": "datetime.datetime",
            "__value__": "2023-09-17T13:02:52.874554+00:00"
          },
          "read_pages": 58,
          "status": 33
        },
        "5": {
          "date": {
            "__class__": "datetime.datetime",
            "__value__": "2023-09-17T15:16:01.522764+00:00"
          },
          "read_pages": 72,
          "status": 41
        },
        "6": {
          "date": {
            "__class__": "datetime.datetime",
            "__value__": "2023-09-17T17:55:53.177558+00:00"
          },
          "read_pages": 86,
          "status": 49
        },
        "7": {
          "date": {
            "__class__": "datetime.datetime",
            "__value__": "2023-09-18T04:25:40.615923+00:00"
          },
          "read_pages": 105,
          "status": 60
        },
        "8": {
          "date": {
            "__class__": "datetime.datetime",
            "__value__": "2023-09-18T09:14:33.124847+00:00"
          },
          "read_pages": 140,
          "status": 80
        },
        "9": {
          "date": {
            "__class__": "datetime.datetime",
            "__value__": "2023-09-18T13:14:14.199287+00:00"
          },
          "read_pages": 175,
          "status": 100
        }
      },
      "reread_count": 2,
      "shelf": "Reread",
      "status": 100,
      "title": "Taking Chances",
      "title_sort": "Taking Chances"
    },


Non-glitched:

Spoiler:
Code:
    "7808": {
      "authors": [
        "J.R.R. Tolkien"
      ],
      "challenges": [
        "Annual"
      ],
      "date": {
        "__class__": "datetime.datetime",
        "__value__": "2023-09-16T17:56:21+00:00"
      },
      "genre": [
        "Fiction.Fantasy & Paranormal"
      ],
      "last_year_pages": 0,
      "page_count": 3032,
      "read_pages": 1940,
      "records": {
        "0": {
          "date": {
            "__class__": "datetime.datetime",
            "__value__": "2023-07-28T23:21:47+00:00"
          },
          "read_pages": 1880,
          "status": 62
        },
        "1": {
          "date": {
            "__class__": "datetime.datetime",
            "__value__": "2023-08-13T21:11:05+00:00"
          },
          "read_pages": 1910,
          "status": 63
        },
        "2": {
          "date": {
            "__class__": "datetime.datetime",
            "__value__": "2023-09-16T17:56:21+00:00"
          },
          "read_pages": 1940,
          "status": 64
        }
      },
      "reread_count": 0,
      "shelf": "Reading",
      "status": 64,
      "title": "The Lord of the Rings",
      "title_sort": "Lord of the Rings, The"
    },
Code:
    "8284": {
      "authors": [
        "Paul Drew Stevens"
      ],
      "challenges": [
        "Annual"
      ],
      "date": {
        "__class__": "datetime.datetime",
        "__value__": "2023-09-12T01:06:08+00:00"
      },
      "genre": [
        "Nonfiction"
      ],
      "last_year_pages": 0,
      "page_count": 237,
      "read_pages": 237,
      "records": {
        "0": {
          "date": {
            "__class__": "datetime.datetime",
            "__value__": "2023-09-09T02:39:52+00:00"
          },
          "read_pages": 90,
          "status": 38
        },
        "2": {
          "date": {
            "__class__": "datetime.datetime",
            "__value__": "2023-09-10T00:04:09.358496+00:00"
          },
          "read_pages": 121,
          "status": 51
        },
        "3": {
          "date": {
            "__class__": "datetime.datetime",
            "__value__": "2023-09-10T12:58:46.834977+00:00"
          },
          "read_pages": 135,
          "status": 57
        },
        "4": {
          "date": {
            "__class__": "datetime.datetime",
            "__value__": "2023-09-10T16:52:26.967039+00:00"
          },
          "read_pages": 156,
          "status": 66
        },
        "5": {
          "date": {
            "__class__": "datetime.datetime",
            "__value__": "2023-09-10T17:36:03.336502+00:00"
          },
          "read_pages": 166,
          "status": 70
        },
        "6": {
          "date": {
            "__class__": "datetime.datetime",
            "__value__": "2023-09-10T23:30:35.560216+00:00"
          },
          "read_pages": 187,
          "status": 79
        },
        "7": {
          "date": {
            "__class__": "datetime.datetime",
            "__value__": "2023-09-11T10:37:34.402830+00:00"
          },
          "read_pages": 199,
          "status": 84
        },
        "8": {
          "date": {
            "__class__": "datetime.datetime",
            "__value__": "2023-09-11T23:20:08.857917+00:00"
          },
          "read_pages": 211,
          "status": 89
        },
        "9": {
          "date": {
            "__class__": "datetime.datetime",
            "__value__": "2023-09-12T01:06:08.176741+00:00"
          },
          "read_pages": 237,
          "status": 100
        }
      },
      "reread_count": 0,
      "shelf": "Read",
      "status": 100,
      "title": "Real Animal Heroes",
      "title_sort": "Real Animal Heroes"
    },


I provide the db if you need more investigation. Two of four 'reading' and most of the recent 'read' entries are glitched.

Last edited by ownedbycats; 09-18-2023 at 08:18 PM. Reason: removed attachment
ownedbycats is offline   Reply With Quote
Old 09-18-2023, 07:56 PM   #244
thiago.eec
Guru
thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.
 
Posts: 841
Karma: 1168455
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite
Quote:
Originally Posted by ownedbycats View Post
I'm still running into the timezone error.
I found the bug. It only affected books with empty dates. That's why I didn't notice here.

Test this version with a fix.

Last edited by thiago.eec; 09-19-2023 at 06:31 AM. Reason: Removed test version. Fixed.
thiago.eec is online now   Reply With Quote
Old 09-18-2023, 08:19 PM   #245
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 7,602
Karma: 54930589
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
That fixed it! The empty entries makes sense.
ownedbycats is offline   Reply With Quote
Old 09-19-2023, 06:01 AM   #246
josepinto
Connoisseur
josepinto began at the beginning.
 
Posts: 50
Karma: 10
Join Date: Apr 2005
Device: Nokia 5320
Quote:
Originally Posted by thiago.eec View Post
Hi. No, it does not change your calibre metadata. It's read only.
Yes, I understood that, as it is saved in a different database. But do I have to fill the column Status date manually or it changes to present date when I fill the column Reading Progress?
josepinto is offline   Reply With Quote
Old 09-19-2023, 06:50 AM   #247
thiago.eec
Guru
thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.
 
Posts: 841
Karma: 1168455
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite
Hi, @ownedbycats.

I made an optimization to the auto add feature. Since you have a huge database and use this feature, this may have caused a slowdown for you.

Previously, it would search the entire calibre db for the tag, then added all the books with that tag. This was completely insane, as this operation repeated itself over and over again. I've now switched to catching a metadata change to the auto add column, and add the book at this moment. So, no search at all.

Please, test this version and tell me if you see any difference.

Last edited by thiago.eec; 09-20-2023 at 07:48 AM. Reason: Removed test version. New version released.
thiago.eec is online now   Reply With Quote
Old 09-19-2023, 07:00 AM   #248
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 7,602
Karma: 54930589
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Much faster!
ownedbycats is offline   Reply With Quote
Old 09-19-2023, 07:05 AM   #249
thiago.eec
Guru
thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.
 
Posts: 841
Karma: 1168455
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite
Quote:
Originally Posted by ownedbycats View Post
Much faster!
Great! Thanks for testing.
thiago.eec is online now   Reply With Quote
Old 09-19-2023, 07:51 AM   #250
thiago.eec
Guru
thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.
 
Posts: 841
Karma: 1168455
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite
Quote:
Originally Posted by josepinto View Post
Yes, I understood that, as it is saved in a different database. But do I have to fill the column Status date manually or it changes to present date when I fill the column Reading Progress?
No. You need to fill it manually.
thiago.eec is online now   Reply With Quote
Old 09-19-2023, 02:06 PM   #251
BrandonGiesing
Junior Member
BrandonGiesing began at the beginning.
 
BrandonGiesing's Avatar
 
Posts: 8
Karma: 10
Join Date: Apr 2022
Location: Missouri, USA
Device: Kobo Sage & Kindle Paperwhite 4
Can't open any part of the plugin (except the options window), throws this message
Quote:
Traceback (most recent call last):
File "calibre_plugins.Reading_Goal.main", line 170, in manage_reading_goal
File "calibre_plugins.Reading_Goal.main", line 834, in update_database
File "calibre_plugins.Reading_Goal.main", line 248, in add_to_goal
File "calibre_plugins.Reading_Goal.main", line 1019, in get_book_info
OSError: [Errno 22] Invalid argument
BrandonGiesing is offline   Reply With Quote
Old 09-19-2023, 03:15 PM   #252
thiago.eec
Guru
thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.
 
Posts: 841
Karma: 1168455
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite
Quote:
Originally Posted by BrandonGiesing View Post
Can't open any part of the plugin (except the options window), throws this message
This looks like a permission error. What OS? Do you see a 'Reading_Goal_Data_****.json' file in your calibre config directory?

**** means a bunch of numbers and letters (your calibre library id).
thiago.eec is online now   Reply With Quote
Old 09-19-2023, 04:57 PM   #253
BrandonGiesing
Junior Member
BrandonGiesing began at the beginning.
 
BrandonGiesing's Avatar
 
Posts: 8
Karma: 10
Join Date: Apr 2022
Location: Missouri, USA
Device: Kobo Sage & Kindle Paperwhite 4
Quote:
Originally Posted by thiago.eec View Post
This looks like a permission error. What OS? Do you see a 'Reading_Goal_Data_****.json' file in your calibre config directory?

**** means a bunch of numbers and letters (your calibre library id).
Windows 11, there's a file in there and it was working just fine like a half hour prior.
BrandonGiesing is offline   Reply With Quote
Old 09-19-2023, 07:01 PM   #254
thiago.eec
Guru
thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.
 
Posts: 841
Karma: 1168455
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite
Quote:
Originally Posted by BrandonGiesing View Post
Windows 11, there's a file in there and it was working just fine like a half hour prior.
Can you please send the me file, so I can check it?
thiago.eec is online now   Reply With Quote
Old 09-20-2023, 07:48 AM   #255
thiago.eec
Guru
thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.
 
Posts: 841
Karma: 1168455
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite
Version 1.1.9 - 20 Sep 2023

- Fix for empty dates preventing the 'Show records' button to work
- Improved the auto add feature: instead of searching the database, now it adds the book when a change to the auto add column is detected
thiago.eec is online now   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
[GUI Plugin] Reading List kiwidude Plugins 1288 08-11-2023 07:40 PM
[GUI Plugin] Save Virtual Libraries To Column (GUI) chaley Plugins 14 04-04-2021 05:25 AM
Reading Goal KyBunnies Audiobook Discussions 12 10-25-2017 05:29 PM


All times are GMT -4. The time now is 09:05 AM.


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