Where does calibre store the library paths for the currently loaded library?
Hello,
Could someone please tell me how to get the currently selected/loaded Library path from calibre from inside a plugin using python?
For example, if the currently loaded library is at "c:\myLibraryPath", how do I get that information?
I assume there must be an API call for it, but I am not having any luck finding it in the API documentation.
I did see a call for getting a book's path, format_abspath(book_id, fmt), so I guess I could pull a random book and cut off the book part of the path? But seems like there would probably be a direct reference to the current library path?
Thank you for your time!
|