Hi eschwartz, thanks for the detailed info. Before I do this, I have some questions in hope of understanding what I am doing.
But first some more info for you.
The books already have a series_index, starting with 1. When I open the Metadata dialog from a single book, the field the series_index is in is called "Number" (and the value is 1.00 to be precize). This is the field I want to alter. And I want to do it in the calibre DB, not only when I transfer the books somewhere and not in a custom column (I don't want to sound rude, my english is not better, sry).
The problem is that I don't understand the script good enough to alter it the way I need it to work for me. I can't even see where to say that its going to be 4 digits max with zeros in front (0001 or 0987 or 2498 e.g.). As I understand it, it should not matter if I write this value in a new column or in an existing one!?
So I just alter
"cache.set_field('#formatted_series', dct)" to
"cache.set_field('#series_index', dct) and everything should work?
Can I alter a field that has the value I need to alter?
Sorry to bother you with this. I should probably not deal with this if I can't handle the syntax. But I would like it neat and tidy ...
Thx 4 F1.
st.
|