View Single Post
Old 05-14-2015, 09:19 AM   #4
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,354
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by NSILMike View Post
Can N be set to different values for individual items? For instance if I use Calibre to download and sync a weekly or monthly magazine, how would that work?
Thinking about this, I can do something that pushes the complexity back to you but would solve the problem.

When you schedule a news download, calibre lets you add extra tags to the news source that will be applied to every book. My thought is that you could add a special tag that tells CC how long news books downloaded by this source should remain on the device. Possible example: cc_delete_after_N where N is the number of days for this news source.

CC would process the news normally using the "master" days number. No book would be deleted if it is younger than this value. CC would then check for the existence of a tag beginning with "cc_delete_after_". If CC finds such a tag it would strip the number off the end and delete the book only if that many days (actually (number * 24) hours) had passed.
chaley is offline   Reply With Quote