So I created a custom column that simply shows the amazon identifier:
Code:
{identifiers:select(amazon)}
However, what I also want to do is be able to edit that information via the column, i.e. I want to be able to click on that column and actually change the amazon identifier (e.g. set one if none exists), but when I click on the column it takes me to the column edit dialog.
Is this possible?
EDIT: I got the stuff below to work. I'm more interested in the above question.
EDIT 2: I think I just found the answer to this question in
the documentation:
Quote:
You cannot change the data contained in a composite column. If you edit a composite column by double-clicking on any item, you will open the template for editing, not the underlying data. Editing the template on the GUI is a quick way of testing and changing composite columns.
|
Is that by any chance outdated? Is there a plugin that might facilitate this? If not, oh well
If not, is there an easier way to edit metadata? In particular I would like to perform these two tasks:
1. find "fake" mobi-asin identifiers (the ones formed from UUIDs or whatever). For example, e92954ea-723f-4997-8b2d-015bc74acfe7, I could match that using a regular expression I imagine, I can use something like the following regular expression:
Code:
[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}
I think I managed to accomplish this by using the custom column I created for the mobi asin:
Code:
#mobi_asin:"~[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}"
It seems to work.
2. I want to be able to select some books and copy the "amazon" identifier to the "mobi-asin" identifier. I looked at the "edit metadata in bulk" feature and it almost seems like what I want. It lets me choose a search field and identifier type. However, it doesn't seem to show me a way of replacing that field with the book's amazon identifier. Is this possible?
I got it to work just now, but I'm not sure if there is a more direct/concise way of doing this:
screenshot