View Single Post
Old 11-02-2010, 07:55 AM   #1
nsomlai
Junior Member
nsomlai began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Nov 2010
Device: Kindle 3
Write custom column from Python

Hello,

Sorry for a noob question but I have one-day experience with Python.

I'm working on a metadata downloader plugin and I would like to store a source URL for the metadata. I have created a new database field called url (multiline, non-taggable text) and want my script to fill it in. This is what I tried:

mi = Metadata(title)
... fill in other stuff
mi.url = sourceurl

This doesn't give any error but also leaves the field empty.

Any help would be appreciated.
nsomlai is offline   Reply With Quote