View Single Post
Old 01-19-2024, 06:44 AM   #2
capink
Wizard
capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.
 
Posts: 1,203
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
Template language has a function called has_extra_files(). You can leverage this doing the following template search (copy paste into calibre search bar):

Code:
template:"""program: 
	if has_extra_files() then 'yes' else 'no' fi#@#:t:yes"""
A little slow because it uses templates, but it gets the job done. If you are going to use it often, it is a good idea to make this a saved search.
capink is offline   Reply With Quote