View Single Post
Old 09-29-2017, 02:35 AM   #6
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 33,732
Karma: 10215946
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
@jhowell: Nothing fancy. All plugins for the initial file type are called in arbitrary sequence. If the filetype is changed by plugin A then either plugin B will raise and error or handle the file, in either case it is processed.

The DeDRM plugin will need to be able to handle all filetypes (i.e. .kfx (monolithic), .kfx (split) and .kfx-zip). The device driver can have some non-plugin code to assemble split kfx into kfx-zip. So the device driver will always yield either monolothic kfx or kfx-zip. The DEDRM plugin will always yield monolithic kfx.

@HarryT: feel free to move these posts into their own thread, I'm not a moderator for this subforum.
kovidgoyal is offline   Reply With Quote