View Single Post
Old 08-09-2015, 03:34 AM   #983
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Moderator Notice
Discussions moved from the Plugboard, template, and custom composite column recipes thread
Quote:
Originally Posted by jbaumann View Post
Hi,

since I'm using the KoboTouch driver there is no differentiation regarding the extension. What I did is the following:

{formats:'contains($, "PDF", "PDF", "Books")'}/{author_sort} - {series}{series_index:0>2s| | - }{title}

Since I have PDF files only as a fallback if I have no EPUB (and for those scientific articles), I can safely assume that if the list of book formats contains PDF then there is no other usable format. So I simply decide on that where to place the respective book...

Btw., I have the impression that with this change the KoboUtilities plug-in doesn't work correctly, but I have to follow up on that.
I can't see anything in that template that would stop any of the functions in the Kobo Utilities plugin from working. I can't think of anything it does with the filenames directly. The only reason it sees them is they are used in the Kobo database as keys. But, if something isn't working, tell me and I'll look at it.

Last edited by PeterT; 08-11-2015 at 12:53 PM.
davidfor is offline