Thread
:
Issue with metadata plugins
View Single Post
12-08-2015, 04:42 AM
#
2
kovidgoyal
creator of calibre
Posts: 45,382
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
There is no guarantee that the stream points to an actual file on the filesystem. If you need to use a file on the filesystem, copy the stream to a temporary file, then run your plugin, then copy it back. See for example metadata/pdf.py
kovidgoyal
View Public Profile
Visit kovidgoyal's homepage!
Find More Posts by kovidgoyal
Track Posts by kovidgoyal via RSS