Hello there.
Thanks for allowing me to join for forum.
I've been using Calibre for a while, but it's only now that I've sat down to organise all my books and audio books.
I've got about 680 books so far, with about 35 or so that have an audiobook version. I've added the audiobooks into Calibre - they have file formats of .m4a, .m4b, and .mp3.
I'm trying to create a custom column that uses the Formats column to check for those file formats and then populate an
'Audiobook' column with the text
'Audiobook available' or something similar.
I can get it to work with this code for one format,
Code:
program: contains(field('format'),'m4a','Audiobook available','')
so if a title has a format of .m4a, the
'Audiobook' column will show
'Audiobook available', but I can't figure out how to modify this so it will pick up .m4b and .mp3 files. I assume it will need some sort of nested statement or something - my programming knowledge stops at VB.net!!
Any help would be appreciated.
Thanks in advance