|  10-16-2022, 01:25 AM | #1 | 
| want to learn what I want            Posts: 1,679 Karma: 7908443 Join Date: Sep 2020 Device: none | 
				
				Template search: book_producer metadata
			 
			
			Hi all! I'd like to do a template search for """book_producer""" containing "^calibre" with (formats:#=1 and formats: pdf). As shown in Calibre manual, that publication metadata field is available: This thread provides some examples (https://www.mobileread.com/forums/sh...d.php?t=347884) however i couldn't figure how to do write that query. Screenshot below shows what I tried, but that was just guesswork: Any help is appreciated.   | 
|   |   | 
|  10-16-2022, 08:33 AM | #2 | |
| Grand Sorcerer            Posts: 12,525 Karma: 8065948 Join Date: Jan 2010 Location: Notts, England Device: Kobo Libra 2 | Quote: 
 Last edited by chaley; 10-16-2022 at 09:00 AM. | |
|   |   | 
| Advert | |
|  | 
|  10-16-2022, 01:51 PM | #3 | |
| want to learn what I want            Posts: 1,679 Karma: 7908443 Join Date: Sep 2020 Device: none | Quote: 
 I have attached pics showing the values I'd like to filter, and two pdf files that contain the book-producer value. | |
|   |   | 
|  10-16-2022, 02:58 PM | #4 | |
| want to learn what I want            Posts: 1,679 Karma: 7908443 Join Date: Sep 2020 Device: none | Quote: 
 Welp. I could see many uses for that search, if it were doable.. (and I was pretty sure it was) | |
|   |   | 
|  10-16-2022, 03:28 PM | #5 | |
| Grand Sorcerer            Posts: 12,525 Karma: 8065948 Join Date: Jan 2010 Location: Notts, England Device: Kobo Libra 2 | Quote: 
 In the future, you can use the template dialog to do similar tests rather than create a column. This saves updating last_modified and triggering the backup. | |
|   |   | 
| Advert | |
|  | 
|  10-16-2022, 03:50 PM | #6 | |
| want to learn what I want            Posts: 1,679 Karma: 7908443 Join Date: Sep 2020 Device: none | Quote: 
   | |
|   |   | 
|  10-16-2022, 09:44 PM | #7 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 Join Date: Oct 2006 Location: Mumbai, India Device: Various | 
			
			book_producer is epub specific metadata, it's not in the standard set of builtin fields calibre supports in its database. It's present in the Metadata cclass because calibre sets it in epub files in various scenarios.
		 | 
|   |   | 
|  | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Template Search: Exact matching | ownedbycats | Library Management | 3 | 04-03-2022 05:01 PM | 
| Template: Converting a search & replace into a template | ownedbycats | Library Management | 11 | 03-26-2021 04:32 AM | 
| Bulk metadata Search/Replace: template function question | meghane_e | Library Management | 3 | 01-24-2019 09:32 PM | 
| template or search feature question | bulldogmo | Calibre | 2 | 08-06-2014 06:34 PM |