View Single Post
Old 06-03-2025, 03:45 PM   #1
mitsie
Member
mitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
Posts: 15
Karma: 12814
Join Date: Jun 2025
Device: PocketBook 4
Smile Accessing filepath from Metadata Plugin

Does anybody know how to access the Filepath or even the BookID from within the Identify class as part of a metadata plugin?

I noticed the `calibre.utils.filename` but couldn't find a class to return the current path of the current book sent via the metadata thread.

Is there a quick way to get it? Or do I need to include the DB, run a search on the book title to get the book ID, and then do a search on the file paths?

Just wondered if there was an easy way to do this. My plugin is nearly complete.

Just need the file location for each metadata submission as the worker cycles through each title to finish it off.
mitsie is offline   Reply With Quote