reHackable / scripts

[ THIS PROJECT IS CURRENTLY ON HALT :( ] A set of bash scripts that may enhance your reMarkable experience
GNU General Public License v3.0
234 stars 29 forks source link

ePUB placeholder never updates? #28

Open osresearch opened 3 years ago

osresearch commented 3 years ago

With a remarkable 2 running 2.4.1.30, the ePUB files installed with repush.sh never seem to be updated beyond the two page placeholder added in commit https://github.com/reHackable/scripts/commit/67b15a3dc448a954813f420fa050c9be56ac8550

The $UUID.ePUB file in ~/.local/share/remarkable/xochitl/ has the right sha1sum, so the file transfer worked, although the corresonding $UUID.content file still only has the two pages listed rather than the few hundred that are expected, and viewing the document on the table only shows the two empty placeholder pages.

Am I missing a step to have the tablet process the .epub file to populate the .content?

osresearch commented 3 years ago

PDF files work with repush.sh, however. Uploading ePUB directly via curl --form file=@foo.epub http://10.11.99.1/upload also works fine (for small enough files)

osresearch commented 3 years ago

If I ssh into the device I run epub2pdf --epub $UUID.epub --pdf $UUID.pdf, then it will update. Alternatively, if I load the empty two page document and change the font, the tablet appears to re-run epub2pdf or something under the covers to regenerate it, so that is a workaround. (I don't see a new process running to do the conversion, so I'm not certain what command line it uses for the conversion when invoked from the GUI)