View Single Post
Old 08-06-2019, 06:50 AM   #1
dalanicolai
Junior Member
dalanicolai began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Aug 2019
Device: PocketBook Touch Lux 3
Get filepath with bash or python

Hi everyone,

Excuse me for posting this seemingly very simple question, but I've already spent quite some time now to find out how to obtain the filepath of a book using either the caliber CLI or the database API.

I would like to use the calibre database to quicklaunch a book with ulauncher without opening the full calibre gui. For this I would like to implement the functionality in the "Tracker recoll docfetcher locate search" plugin.

Anybody knows a quick way to obtain the filepath using calibre tools?

(unfortunately I am only a hobbyist trying to learn python but understanding the calibre design is still quite overwhelming)

Thanks!
dalanicolai is offline   Reply With Quote