I'm trying to add a tag to my books based upon whether it's a graphic novel.
What I'm trying to do is:
Code:
comic_types = ["CBR", "CBZ", "CBT", "CBA", "CB7"];
formats = approximate_formats();
has_comic_formats = list_intersection(comic_types, formats,",");
# etc.
However, the definition of comic_types is obviously wrong (in that I get a "
Formatter: failed to scan program. Invalid input ..." error when I try to use it).
Does calibre have support for actual lists, or is it just all operating on Strings (and doing text-munging)?