Thread
:
Metadata update.
View Single Post
12-12-2015, 12:31 PM
#
10
chaley
Grand Sorcerer
Posts: 12,457
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
The row is position in the list of books, not the book_id.
One way to get the book id from the row is
Code:
book_id = self.gui.library_view.model().id(rows[0])
Last edited by chaley; 12-12-2015 at
12:34 PM
. Reason: make getting the book id an assignment
chaley
View Public Profile
Visit chaley's homepage!
Find More Posts by chaley
Track Posts by chaley via RSS