Thread
:
[GUI Plugin] Resize Cover
View Single Post
08-30-2013, 02:45 AM
#
30
kovidgoyal
creator of calibre
Posts: 43,843
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
I looked at your plugin code, you seem to be operating on the cover file directly. That's a no-no. Use the cover access APIs the db provides instead, those will automatically invalidate caches.
db.cover()
and
db.set_cover()
kovidgoyal
View Public Profile
Visit kovidgoyal's homepage!
Find More Posts by kovidgoyal
Track Posts by kovidgoyal via RSS