View Single Post
Old 05-14-2015, 08:09 AM   #1
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,453
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Auto-delete news

Given that the auto-connect feature is used primarily to download news and given requests such as NSILMike's, I decided to implement automatic deleting of news "books" after some time, matching what calibre does. If a book has the tag "News" and the author "calibre" (both case sensitive) then it is a candidate for deletion.

There are three new preferences:
  • A checkbox to turn on auto-deletion
  • A text preference to specify the "News" tag. This is necessary because in calibre the tag is controled by the language setting.
  • The number of days to wait. The deletion process runs at midnight, and if at that instant the book is older than this number of days then it will be deleted. This means that a book will persist from N to almost N+1 days.

The preferences screens are shown below.

I intend to release this feature to beta this weekend.

Comments?
Attached Thumbnails
Click image for larger version

Name:	Clipboard01.jpg
Views:	254
Size:	20.6 KB
ID:	138297   Click image for larger version

Name:	Clipboard03.jpg
Views:	240
Size:	52.3 KB
ID:	138298  
chaley is offline   Reply With Quote