| 
			
			 | 
		#841 | |
| 
			
			
			
			 Well trained by Cats 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,267 
				Karma: 61916422 
				Join Date: Aug 2009 
				Location: The Central Coast of California 
				
				
				Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 FWIW I make {series} into a collection and do NOT put it in the plugboard term. As a matter of fact, I dont even use the plugboard with my Aura2. I just configured the driver.   Index does not show (and I just noticed   ). Kobo uses a Database. I will play, but making Series into a collection is good
		 | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#842 | |
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905 
				Karma: 47303824 
				Join Date: Jul 2011 
				Location: Sydney, Australia 
				
				
				Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 When sorting by author or title, the Kobo devices do not use the series. They sort by author (as "LN, FN") and within that, by the book title. The title sorting uses what calibre calls "library_order". That means that articles at the start of the title are moved to the end. So, "The Jump Point" will be sorted as "Jump Point, The". If the above is an example from your device, the fact that the series are grouped together is a fluke. The titles just happen to sort that way. Kobo devices do support series sorting. As you have the series info on the device, sorting by that will put the series together in the correct order. That will be global in the library, not grouped within authors. But, there is also the authors list. From there you can view individual authors. This supports all the sorting options.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#843 | 
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905 
				Karma: 47303824 
				Join Date: Jul 2011 
				Location: Sydney, Australia 
				
				
				Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos 
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#844 | 
| 
			
			
			
			 Groupie 
			
			![]() ![]() ![]() Posts: 195 
				Karma: 245 
				Join Date: Aug 2009 
				Location: USA 
				
				
				Device: Kobo Clara Blue PRS 350 
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#845 | 
| 
			
			
			
			 Resident Curmudgeon 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,782 
				Karma: 150249619 
				Join Date: Nov 2006 
				Location: Roslindale, Massachusetts 
				
				
				Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3 
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#846 | 
| 
			
			
			
			 Resident Curmudgeon 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,782 
				Karma: 150249619 
				Join Date: Nov 2006 
				Location: Roslindale, Massachusetts 
				
				
				Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			@retro when you first add books to your Kobo, you have to eject the Kobo from the computer so the Kobo can finish updating the database. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Then you have to plug the Kobo back into the computer with Calibre active so it can populate the series. If you've not plugged your Kobo in a second time, your series info won't be there to sort by.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#847 | |
| 
			
			
			
			 Groupie 
			
			![]() ![]() ![]() Posts: 195 
				Karma: 245 
				Join Date: Aug 2009 
				Location: USA 
				
				
				Device: Kobo Clara Blue PRS 350 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 David and theducks explained that - (thank you, guys!).  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#848 | 
| 
			
			
			
			 Junior Member 
			
			![]() ![]() Posts: 8 
				Karma: 130 
				Join Date: Apr 2011 
				
				
				
				Device: Kindle 
				
				
				 | 
	
	
	
		
		
			
			 
			
			I just wanted to share this here because I spent the last few hours trying to narrow down how to accomplish this... 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Background: I recently converted my entire audiobook (multi-mp3 per book) collection into M4B's so that I could manage them with calibre following the "One File Per Book" pattern. (If anyone is interested in a decent way to batch-process that, feel free to PM me)... Once I loaded all of my M4B files into calibre, fixed up all the metadata, etc... it occurred to me that I would create a virtual library called "Audiobooks"... The search expression I used for that is: format:M4B. Easy enough. Now, some of the newly loaded audiobooks that I have, also have various e-book formats (epub, pdf, etc...) that I added to their calibre records for convenience. Problem: I have a virtual library that shows me all of my audiobooks... that's great, but what if I'm browsing through them and want a specific one to read on my tablet? So I decided to add a custom column that would be called "Audio Only"... basically if the book has only a single format, and that format is equal to "M4B" in my case, then it would show yes, otherwise if there were additional formats available it would show no... or a check/x-mark as it ended up. I'm a software dev, so writing some code isn't anything new, but I was surprised that I couldn't find something out here already to have a simple if... this and this are true ... then 'yes' else 'no' ... Solution: I created a custom column template that displays a green check if the book is "Audio Only", and a red X if it has non-audio formats attached to it. Here's how: Preferences -> Add your own columns -> Add Lookup Name: onlyaudio Column Heading: Audio Only Column Type: Column built from other columns Show checkmarks: Checked Template: Code: 
	program:cmp(count(template('[[format]]'), ','), 1, 'no', in_list(template('[[format]]'), ',', 'M4B', 'yes', 'no'), 'no')
![]() --- This can be adapted to give you a yes/no column if the book contains only one specific format and no others... just paste that in there and replace the M4B with whatever format you want to single out... if it is the ONLY one present, the column will have a value of yes, otherwise no... you can swap those around as needed also to gain the desired result. One possible improvement I may work on is in the event I someday store more than a single audio format inside calibre, in which case I would need to go through all of the formats and check them... at that point it becomes more complex because I could potentially have >1 formats but have them all be audio... I'll leave that one for another day.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#849 | 
| 
			
			
			
			 Guru 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 922 
				Karma: 810834 
				Join Date: Sep 2017 
				Location: Buenos Aires, Argentina 
				
				
				Device: moon+ reader, kindle paperwhite 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Hello people, I am looking for a way to put an icon in the column "Estado" if the column "V.Decimal" is empty. The column "V.Decimal" your query name in the custom columns is # gr1. I have tried with spreadsheets but I do not find the result someone could guide me. From already thank you very much
		 
		
	
		
		
			 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#850 | 
| 
			
			
			
			 Addict 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 201 
				Karma: 266070 
				Join Date: Dec 2010 
				Location: Spain 
				
				
				Device: Win10,Win11,Ubuntu,PockbookLux44 
				
				
				 | 
	
	
	
		
		
			
			 
				
				Help: Composite column like 'authors'
			 
			
			
			Help, please! I dare say somebody has done this already, but my search hasn't found any example I can follow... 
		
	
		
		
		
		
		
		
		
		
		
		
	
	I have added to my library a column #aliases, to contain the pseudonym(s) of the book author(s), and I would wish to get it working the same as the 'authors' column: view as 'FN LN', but have it in the tag browser as 'LN, FN'. I have got 'almost' there, by adding a 'column from other columns' #aliases_sort, to appear in the tag browser. Hitch: after wrestling with the reference for template functions, the nearer I have got is: {#aliases:sublist(-1,0, ), #aliases:sublist(0,-1, )} which: * fails down for names like 'Thomas J. Bassler, MD' and adds a comma after single names like 'Homerus' * Would likely go haywire if applied to a multi-valued column, like 'Ivar Jorgensen & Mark Phillips' So, instead of trying to reinvent the wheel, I come for help, **please**. Many thanks!  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#851 | 
| 
			
			
			
			 Enthusiast 
			
			![]() ![]() Posts: 34 
				Karma: 100 
				Join Date: Oct 2014 
				
				
				
				Device: Likebook Mars 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Is there a way to create a column to list the number of items within the series that this book is a member of?  I tried {series:count(,)} but that just displayed 1 for everything, not sure if I'm using it wrong or that function can't be used here. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Goal is to find and remove all series with only one member (an old holdover to when I was on a Kindle device where putting everything in a series made browsing through the series list easier, but not necessary anymore for my current device) so if there's an alternate means to do so that would also work. I thought about just batch unsetting the #1 entry from every series in my library (which seems like it could be accomplished easily enough with find/replace on batch metadata edit) and then manually going back and fixing it for all the ones that actually belong to a real series, but wondering if a better way exists.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#852 | ||
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,525 
				Karma: 8065948 
				Join Date: Jan 2010 
				Location: Notts, England 
				
				
				Device: Kobo Libra 2 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 I suggest you make a second column #aliases_sort, entering the value you want to see for the sort. That way it is correct. Unfortunately it means you must edit that field when you add a new book. If there are multiple authors for a book then both the #aliases and the #aliases_sort should have "Contains names" checkbox checked. Quote: 
	
  | 
||
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#853 | |
| 
			
			
			
			 Addict 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 201 
				Karma: 266070 
				Join Date: Dec 2010 
				Location: Spain 
				
				
				Device: Win10,Win11,Ubuntu,PockbookLux44 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Spoiler: 
 I post it just in case someone can think of an improvement--'first name + last name' can usually be copied and pasted (i.e., from wikipedia)--the bore is to change to 'sort mode'. I think this kind of doubled columns 'as author' can come handy also for translators, illustrators...  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#854 | 
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 9 
				Karma: 10 
				Join Date: Jul 2015 
				
				
				
				Device: iPad mini with kindle app 
				
				
				 | 
	
	
	
		
		
			
			 
				
				New Column Help Please
			 
			
			
			I have one column that displays the asin (I figured out how to do this) 
		
	
		
		
		
		
		
		
		
		
		
		
	
	I would like to create a column that displays the file name of the book And a column that compares the asin column and the file name column and retures 1 if the same and 2 if different Can someone help me with this please. It has been a while since of used calibre. thank you  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#855 | |
| 
			
			
			
			 null operator (he/him) 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,018 
				Karma: 30277294 
				Join Date: Mar 2012 
				Location: Sydney Australia 
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 
 The names 'file', 'asin', and 'result' are illustrative. BR  | 
|
| 
		
 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
            
| Tags | 
| custom column, tag, tags | 
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Should composite columns appear in Grouped Searches? | ownedbycats | Library Management | 3 | 02-13-2021 04:43 PM | 
| Having problems with composite columns and save/send templates | Trel | Calibre | 4 | 09-26-2016 04:21 PM | 
| Tooltips for narrow columns | theducks | Library Management | 7 | 03-16-2015 11:58 PM | 
| Techniques to use plugboards, custom columns and templates | kovidgoyal | Library Management | 0 | 01-26-2011 05:21 PM |