View Single Post
Old 10-02-2013, 05:02 PM   #1
hakan42
Zealot
hakan42 is on a distinguished road
 
hakan42's Avatar
 
Posts: 136
Karma: 60
Join Date: Jul 2009
Location: Munich, Germany
Device: Nook Classic rooted; Galaxy S IV with Aldiko, other older devices
Accessing Series and Metadata with the "new api"

I used to (at least with the 0.9 tree) be able to access metadata and series information for a book with "self.metadata" and "self.series".

With the switch to db/backend.py, I can't find those methods anymore:
Code:
calibre, version 1.5.0
...
ERROR: Unhandled exception: <b>AttributeError</b>:'DB' object has no attribute 'series'
What is the current best practice to access this information?
hakan42 is offline   Reply With Quote