|  04-11-2021, 10:04 AM | #1 | 
| Connoisseur  Posts: 79 Karma: 10 Join Date: Mar 2021 Device: android phone | 
				
				Sort books by their last read time
			 
			
			Is it possible to sort books by the their last read time?
		 | 
|   |   | 
|  04-11-2021, 10:29 AM | #2 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 Join Date: Oct 2006 Location: Mumbai, India Device: Various | 
			
			No, you can see recently read books on the home page and get the full list by clicking browse all downloaded books.
		 | 
|   |   | 
|  04-11-2021, 12:21 PM | #3 | 
| Well trained by Cats            Posts: 31,250 Karma: 61360164 Join Date: Aug 2009 Location: The Central Coast of California Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A | 
			
			Is this question about the builtin Viewer (V) or when using the Browser w/content server ? I think Kovid answered the latter. In the Viewer: Open Book (on the menu: you might need to tap Esc to see it) gives you a list of previous (recently) viewed | 
|   |   | 
|  04-12-2021, 09:30 AM | #4 | ||
| Connoisseur  Posts: 79 Karma: 10 Join Date: Mar 2021 Device: android phone | Quote: 
 Quote: 
 And this is a good alternative. | ||
|   |   | 
|  04-12-2021, 10:33 AM | #5 | 
| Well trained by Cats            Posts: 31,250 Karma: 61360164 Join Date: Aug 2009 Location: The Central Coast of California Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A | 
			
			The Browse all downloaded books button is ONLY visible on the Home screen when using the content server browser. (You don't download except to ADD to the Library. Viewing just USES the Library copy)
		 | 
|   |   | 
|  04-17-2021, 04:21 AM | #6 | 
| Connoisseur  Posts: 79 Karma: 10 Join Date: Mar 2021 Device: android phone | 
			
			Thanks, but I don't quite understand your explanation, since I'm new to Calibre. Should I click on the connect/share > start content server? And what should I do afterwards?
		 | 
|   |   | 
|  04-17-2021, 09:40 AM | #7 | |
| Well trained by Cats            Posts: 31,250 Karma: 61360164 Join Date: Aug 2009 Location: The Central Coast of California Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A | Quote: 
  The Content server is normally for Network access (WiFi or wired). (If you have not started it, then it is NOT in use) You could use your Browser to read, but most folk use the built in viewer or dedicated app. The built in viewer has a 'recently read' on the file menu. THE LIBRARY has no record of the viewers usage. | |
|   |   | 
|  04-19-2021, 06:57 AM | #8 | 
| Connoisseur  Posts: 79 Karma: 10 Join Date: Mar 2021 Device: android phone | 
			
			Thanks for your explanation, theducks. Got it.  Is it possible to let LIBRARY have a record of viewer usage? I guess just recording the last time stamp when a book is "double clicked" in the library could be used to sort books by last read time. | 
|   |   | 
|  04-19-2021, 06:39 PM | #9 | 
| null operator (he/him)            Posts: 22,010 Karma: 30277294 Join Date: Mar 2012 Location: Sydney Australia Device: none | 
			
			I have a vague memory of someone writing a plugin that recorded the date & time a book was last viewed in a custom column, I think it's in the Library Management sub-forum.  The author wasn't inclined to make it official because of the maintenance burden. However, perhaps the same thing could be done with the Action Chains plugin, see ==>> Index of plugins BR | 
|   |   | 
|  04-19-2021, 08:00 PM | #10 | ||
| Custom User Title            Posts: 11,351 Karma: 79528341 Join Date: Oct 2018 Location: Canada Device: Kobo Libra H2O, formerly Aura HD | Quote: 
 Quote: 
 Code: {
  "ActionsChainMenus": {
    "Menus": [
      {
        "active": true,
        "chain_settings": {
          "chain_links": [
            {
              "action_name": "Calibre Actions",
              "action_settings": {
                "disable_busy_cursor": false,
                "selection": [
                  {
                    "display": "View",
                    "path": [
                      "View",
                      "View"
                    ],
                    "paths_text": "View"
                  }
                ],
                "wait_jobs": false,
                "wait_progress": false
              },
              "comment": "Open book",
              "condition_settings": {
                "affect_validation": false,
                "cmp_type": "!=",
                "datatype": "text",
                "icon": "",
                "template": "{formats}",
                "tooltip": "",
                "value": "PAPERBOOK"
              }
            },
            {
              "action_name": "Single Field Edit",
              "action_settings": {
                "col_name": "#read",
                "template": "program:\n\n\tif and(check_yes_no('#read', '', '', 1),) then \t'No'\n\telse $#read\n\tfi",
                "value_type": "template"
              },
              "comment": "Set #read column (TEMPLATE)"
            },
            {
              "action_name": "Single Field Edit",
              "action_settings": {
                "col_name": "#percentread",
                "template": "program:\n\tif raw_field('#percentread', '1') ==# '0' then '1'\n\telse raw_field('#percentread')\n\tfi",
                "value_type": "template"
              },
              "comment": "Set #percentread to 1 (TEMPLATE)"
            },
            {
              "action_name": "Single Field Edit",
              "action_settings": {
                "col_name": "#lastread",
                "value": [
                  {
                    "__class__": "datetime.datetime",
                    "__value__": "2021-03-30T00:13:43.637933+00:00"
                  },
                  true
                ],
                "value_type": "predefined"
              },
              "comment": "Set #lastread to current time"
            },
            {
              "action_name": "Refresh View",
              "action_settings": {},
              "comment": "Refresh view"
            }
          ],
          "refresh_gui": true
        },
        "condition_settings": {
          "affect_menu": false,
          "cmp_type": "=",
          "datatype": "number",
          "icon": "",
          "template": "program: selection_count()",
          "tooltip": "",
          "value": 1.0
        },
        "image": "",
        "menuText": "View",
        "subMenu": "Invisible"
      }
    ]
  },
  "schemaVersion": 1.5
} | ||
|   |   | 
|  04-19-2021, 08:01 PM | #11 | 
| 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 | 
			
			I remember there was a plugin that did it, but, I was thinking @DaltonST added it to Job Spy or one of his other plugins.
		 | 
|   |   | 
|  | 
| Tags | 
| sort | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Moon+ Reader sort by import time for overwritten books? | AleTheLadyInRed | Android Devices | 0 | 05-30-2019 04:08 PM | 
| Why you should surround yourself with more books than you’ll ever have time to read | Froide | General Discussions | 38 | 12-21-2018 10:40 AM | 
| How to sort books by last read | ZIXO | Library Management | 3 | 04-06-2017 11:13 AM | 
| How many people read more than 2 books at a time? | SameOldStory | General Discussions | 68 | 08-24-2010 06:33 PM | 
| How many books do you read at one time? | akira28 | Reading Recommendations | 60 | 05-28-2009 04:10 AM |