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.
|