View Single Post
Old 06-04-2014, 11:38 PM   #4
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: 45,382
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Since the person that maintains this driver (Kolenka) is no longer active and I dont have this device, it is a little hard to debug. Looking at the code, as best as I can tell, the calibre driver creates the mimetype in the books table in books.db. It is set to whatever mimetype is guessed from the file extension for the file on the device.

See https://github.com/kovidgoyal/calibr...driver.py#L478

What is present in the mime_type column in the books table for books uplaoded by calibre?
kovidgoyal is offline   Reply With Quote