View Single Post
Old 12-22-2010, 06:13 AM   #134
chaley
Wizard
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 3,879
Karma: 285970
Join Date: Jan 2010
Location: France
Device: Sony PRS-300, HTC WM6.5, Samsung Galaxy Nexus, HTC Sensation
@kiwidude: I doubt that it matters to you, but just in case -- database2.set_series() now accepts series strings of the form 'xxxxx[nnn]'. If given such a string, it will set both the series and the series index. Given 'xxxxx', only the series is set. The change affects both the standard series column and custom series-like columns.

One consequence is that series names that end in bracketed numbers will not lead to joy. For example, changing the series 'Foo[1][4.20]' to 'Bar[1]' will set the series name to 'Bar' and the 4.20 to 1.

Another consequence is that one can now set series indices with search/replace.
__________________
Support calibre developers at no cost to you by using calibre's get books feature.
Use Calibre Companion to wirelessly connect your Android phone or tablet to calibre
charles.haleys.org/calibre
chaley is offline