View Single Post
Old 10-03-2010, 11:32 AM   #2
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by Strupniveral View Post
Hi,

Is there any plan to apply the plugboards also when downloading a book from the web interface?
I don't have any plans. Someone else might.
Quote:
I'm also willing to put the hands on code (well, at least try to do so ), but before doing so I'd like to know if it's feasible according to current calibre implementation?
It is in theory possible. All book fetches go through a common method. That method would need to update metadata. In fact, the method already does update epubs (without plugboards), but all other formats are passed on unchanged.

Code of interest is in library.server.content.py.get_format()

Edit: you would also need to add a special device to the plugboard gui, permitting the user to target the content server. This device would need to be handled like send-to-disk, not conflicting with any device.

Last edited by chaley; 10-03-2010 at 11:45 AM.
chaley is offline   Reply With Quote