Quote:
Originally Posted by BetterRed
I would like to get a list of the folder paths for books currently displayed in the book list - preferably just a "simple" URI list as in
...
Or if someone could point me at a simple plug in that I could hack.
|
This wouldn't actually be very hard.
- Start with the example GUI plugin from the calibre documentation.
- Use self.gui.library_view.get_selected_ids() to get the ids of selected books
- Loop on that list calling self.gui.current_db.path(book_id, index_is_id=True)
- Use ViewLog (from calibre.gui2.dialogs.message_box import ViewLog) to display the list of book dirs.