View Single Post
Old 11-29-2018, 05:33 AM   #264
baskerville
Evangelist
baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.
 
baskerville's Avatar
 
Posts: 446
Karma: 305160
Join Date: Aug 2015
Device: Kobo Glo HD, Kobo Aura ONE
I've released 0.5.4.

The metadata format has changed and manual intervention is required. It might be a good practice to always backup your settings and metadata before upgrading. The attached Python script will perform the conversion:
Code:
./fix_metadata.py < .metadata.json > metadata.json
mv metadata.json .metadata.json
Please note that the script assumes that you haven't changed the value of reader.engine in Settings.toml.

List of changes:
  • Fix the reported rotation issue.
  • Fix chapter navigation in the built-in ePUB renderer.
  • Reduce the area of the corner regions to avoid unintentional activations.
  • Preload the next and previous pages.
  • Load the hyphenation patterns at runtime: you might want to remove the unneeded patterns in the hyphenation-patterns directory.
  • Limit the number of consecutive hyphens that the paragraph-breaker library might generate.
  • Decrease the size of the book title font.
  • Import more metadata from ePUBs.
  • Add a setting to trigger the auto import process at startup: import.startup-trigger.
  • Add a setting to traverse hidden directories during import: import.traverse-hidden.
  • Add a setting to set custom images for the suspend, power off and share intermissions: intermission-images. The setting can be set through the contextual menu of a book strip, in the Set As submenu.
Attached Files
File Type: py fix_metadata.py (619 Bytes, 206 views)
baskerville is offline   Reply With Quote