Skip to content

Commit

Permalink
Merge pull request #37 from harmtemolder/fix-koreader-to-calibre-rating
Browse files Browse the repository at this point in the history
Fixing koreader to calibre rating
  • Loading branch information
kyxap authored Aug 9, 2024
2 parents 969bee9 + 56816d2 commit 4683637
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ changed/removed from `sidecar_contents` data structure:
- `first_bookmark` removed
- `last_bookmark` removed
- `bookmarks` renamed to `annotations`
- `rating` uses 5-point instead 10-point scale
- `rating` KOreader uses 5-point but calibre 10-point scale
- `date_sidecar_modified` removed from `calculated`

### Things to consider
Expand Down
1 change: 1 addition & 0 deletions config.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
'as entered on the book’s status page.',
'type': 'rating',
'sidecar_property': ['summary', 'rating'],
'transform': (lambda value: value * 2), # calibre uses a 10-point scale
}, {
'name': 'column_review',
'label': 'Review column:',
Expand Down

0 comments on commit 4683637

Please sign in to comment.