Skip to content

Plugin alters file on upload, breaking koreader sync. #25

@dppattison

Description

@dppattison

Koreader sync depends on a binary hash to match identical book files across devices. This calibre plugin is altering the epub on upload, making sync impossible. It would be nice if there was a toggle for this, although it's not clear why it's necessary at all.

After using the plugin to upload files, a test:

finn@lc:~/book/Calibre/Cormac McCarthy/Suttree (39)$ wget http://crosspoint.local/download?path=%2Fbook%2FMcCarthy%2C%20Cormac%2FSuttree%20-%20Cormac%20McCarthy.epub -O ~/Downloads/tmp/sutt.epub
--2026-04-17 22:38:44--  http://crosspoint.local/download?path=%2Fbook%2FMcCarthy%2C%20Cormac%2FSuttree%20-%20Cormac%20McCarthy.epub
Resolving crosspoint.local (crosspoint.local)... 192.168.50.249
Connecting to crosspoint.local (crosspoint.local)|192.168.50.249|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2144076 (2.0M) [application/epub+zip]
Saving to: ‘/home/finn/Downloads/tmp/sutt.epub’

/home/finn/Downloads/tm 100%[============================>]   2.04M   331KB/s    in 6.3s    

2026-04-17 22:38:51 (331 KB/s) - ‘/home/finn/Downloads/tmp/sutt.epub’ saved [2144076/2144076]

finn@lc:~/book/Calibre/Cormac McCarthy/Suttree (39)$ md5sum ~/Downloads/tmp/sutt.epub 
1b7c7c1a63d7c45c590eb60da5734459  /home/finn/Downloads/tmp/sutt.epub
finn@lc:~/book/Calibre/Cormac McCarthy/Suttree (39)$ md5sum Suttree\ -\ Cormac\ McCarthy.epub 
a932769d8ae169e300fc6b1bd18ab74b  Suttree - Cormac McCarthy.epub
finn@lc:~/book/Calibre/Cormac McCarthy/Suttree (39)$

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions