Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Development

Notices

Reply
 
Thread Tools Search this Thread
Old 08-17-2012, 10:50 AM   #1
Pepin33
Zealot
Pepin33 has a complete set of Star Wars action figures.Pepin33 has a complete set of Star Wars action figures.Pepin33 has a complete set of Star Wars action figures.Pepin33 has a complete set of Star Wars action figures.Pepin33 has a complete set of Star Wars action figures.
 
Posts: 109
Karma: 419
Join Date: Aug 2012
Location: Spain
Device: Kindle Touch
Question Update custom column's content?

I'm a perfect rookie coding on phyton (and even more coding for Calibre).

So I began first looking at some plugins and trying to modify and fit it to my requirement.

I'm trying to upload some columns from a list and updating whith its contents some custom columns at Calibre library.

Now, I'm able to load the contents from the file into a colection (I look at code from some plugins to understand how to do it). But I don't know how I can do to update the content from a custom Calibre's column whith my data.

Can somebody give me some tricks for it? The easiest way, please, remember I'm a rookie...

Last edited by Pepin33; 08-17-2012 at 01:43 PM.
Pepin33 is offline   Reply With Quote
Old 08-18-2012, 02:16 PM   #2
Pepin33
Zealot
Pepin33 has a complete set of Star Wars action figures.Pepin33 has a complete set of Star Wars action figures.Pepin33 has a complete set of Star Wars action figures.Pepin33 has a complete set of Star Wars action figures.Pepin33 has a complete set of Star Wars action figures.
 
Posts: 109
Karma: 419
Join Date: Aug 2012
Location: Spain
Device: Kindle Touch
Right. I found it for myself. The function I was looking for is:
db.set_custom(book_id, value, colum_label)

Maybe it can help somebody.
Pepin33 is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
custom date column from two state column Dopedangel Library Management 7 01-03-2012 08:20 AM
help with custom column Noughty Library Management 4 10-15-2011 05:31 AM
Can custom book data be displayed in a custom column? kiwidude Development 9 03-02-2011 05:35 AM
Need help with this custom Column. Rie142 Library Management 2 02-20-2011 09:51 AM
custom column i need a little help shinken Calibre 3 09-15-2010 03:41 AM


All times are GMT -4. The time now is 11:47 PM.


MobileRead.com is a privately owned, operated and funded community.