View Single Post
Old 07-23-2022, 02:39 AM   #1
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,044
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
txt.png not rendering

I updated this column icon template:

Code:
program: 
   f = $formats;
   strcat
   (
		if "epub" inlist f then 'epub.png:' fi,
		if "pdf" inlist f then 'pdf.png:' fi,	
		if "azw3" inlist f then 'azw3.png:' fi,
		if "mobi" inlist f then 'mobi.png:' fi,
		if "cbz" inlist f then 'cbz.png:' fi,	
		if "txt" inlist f then 'txt.png:' fi,	
		if "paperbook" inlist f then 'paperbook.png:' fi,
		if "overdrive" inlist f then 'overdrive.png:' fi,	
		if list_difference(field('formats'), 'epub, pdf, azw3, mobi, cbz, paperbook, overdrive, txt', ', ') then 'unknown.png' fi	
   )
C:\Program Files\Calibre2\app\resources\images\mimetypes\txt. png is there, but it's not displaying. I don't think it's a template problem.

Last edited by ownedbycats; 07-23-2022 at 02:49 AM.
ownedbycats is online now   Reply With Quote