|06-21-2011, 01:29 PM||#1|
"chaley", not "charley"
Join Date: Jan 2010
Device: Many android devices
API change: db2.authors_with_sort_strings
FYI in case any plugin developer uses this API:
The return value of the method authors_with_sort_string in library.database2.py has changed. The method returns the authors for a given book. Formerly it returned a list of tuples containing two values: (author_name, author_sort). It now returns a list of tuples containing three values: (author_id, author_name, author_sort); author_id has been added. Author_id is the id of the author in the authors table. The other two values are unicode strings. Note that this method replaces '|' characters in the author's name with commas.
In addition, a new API has been added: books_for_author( id_, index_is_id=False). Given an author_id, the method returns a list of ids of books referring to that author. It returns  if no books are found.
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|calibre's new plugin API||kovidgoyal||Plugins||26||05-07-2011 02:43 PM|
|Small Change to Metadata Source plugin API||kovidgoyal||Development||2||04-25-2011 02:55 PM|
|New metadata API in 0.8 questions||kiwidude||Development||38||04-18-2011 10:42 AM|
|Goodreads has published an API||EricLandes||Calibre||6||01-12-2011 04:39 PM|
|Ubook plugin api||Dopedangel||Reading and Management||0||08-25-2007 06:54 AM|