View Single Post
Old 08-28-2023, 07:42 AM   #1
neil_swann80
0000000000101010
neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.
 
neil_swann80's Avatar
 
Posts: 5,891
Karma: 12981955
Join Date: Mar 2023
Location: An island off the coast of Ireland
Device: PB632 [HD3]
Edit Book Info directly from PocketBook - epub format & FW6+ only

Here is a quick and simple way to edit specific book info directly from a PocketBook, focusing on the PocketBook library categories of:
  • Author Name
  • Book Title
  • Series Title
  • Number in Series
  • Genre

Installation
Place "setup.app" (available HERE) into the applications directory of your device (/mnt/ext1/applications) and run it from the device itself. This will add the prerequisite files the script needs to your device and initiate a restart.

Use
Simply long-press a book from the Home Screen or Library and you will have the option to:
Open with > Edit Book info
where you will be prompted to enter the new details for the attributes listed above. Once complete you'll be asked to overwrite the existing epub file or create a new epub file by entering a filename. When you're finished editing, restart your device and relaunch the Library app. It can take 10-30 seconds after relaunching the Library app for changed information to update and display.

Book series
Whenever you modify the following three book attributes:
Author Name
Series Title
Genre

a series template text file is created (in "/mnt/ext1/Series Templates"). This allows you to select a template when editing books of the same series rather than retyping the same info every time. The text files are saved with a .tif extension so they can be managed/deleted easily via the Gallery application.

Please leave a comment on whether the package works for you, and/or if you have any suggestions for changes/additions. [You will likely need to be on firmware 6+.]

Thanks to:
  • This script is based on rkomar's "edit-epub" script and uses his sh_ivtool, zip and unzip binaries available from HERE
  • This script also uses a method of merging a TAR file into the script to unpack prerequisite files; functionality I borrowed from ezdiy's jailbreak installer. (jailbreak not required for this script to function however)

The "Edit Book info" installer can be found HERE

Last edited by neil_swann80; 08-28-2023 at 10:59 AM.
neil_swann80 is offline   Reply With Quote