View Single Post
Old 10-22-2021, 01:09 PM   #1139
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,135
Karma: 77213683
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by FadedSun View Post
Many thanks for creating this plugin.
I'm just curious, where do the lists actually "live"? I mean are they stored in metadata.db or are there part of a different file?
metadata.db. In the preferences table is a row called namespaced:ReadingListPlugin:settings. The lists are stored as a JSON there:

Code:
{
  "SchemaVersion": 1.64,
  "default": "To Be Read",
  "lists": {
    "Remove from Device": {
      "content": [],
      "displayTopMenu": false,
      "listType": "SYNCREM",
      "modifyAction": "TAGADDREMOVE",
      "populateSearch": "",
      "populateType": "POPMANUAL",
      "seriesColumn": "",
      "seriesName": "",
      "sortList": true,
      "syncAuto": true,
      "syncClear": true,
      "syncDevice": "[redacted just in case]",
      "tagsColumn": "#kobocoll",
      "tagsText": "[Remove from Device]"
    },
    "Send to Device": {
      "content": [],
      "displayTopMenu": true,
      "listType": "SYNCALL",
      "modifyAction": "TAGADDREMOVE",
      "populateSearch": "",
      "populateType": "POPMANUAL",
      "seriesColumn": "",
      "seriesName": "",
      "sortList": true,
      "syncAuto": true,
      "syncClear": true,
      "syncDevice": "[redacted just in case]",
      "tagsColumn": "#kobocoll",
      "tagsText": "[Send to Device]"
    },
    "To Be Read": {
      "content": [
        6812,
        6318,
        5785,
        3298,
        6810,
        4713,
        6663,
        5695,
        5231,
        5088,
        4525,
        4980,
        4771,
        4655,
        6069,
        1983,
        3856,
        6712,
        5977,
        703,
        6787,
        3022,
        5075,
        6734,
        2927,
        6807,
        6823,
        3257,
        5679
      ],
      "displayTopMenu": true,
      "listType": "SYNCNEW",
      "modifyAction": "TAGADDREMOVE",
      "populateSearch": "",
      "populateType": "POPMANUAL",
      "seriesColumn": "#readinglist",
      "seriesName": "To Be Read",
      "sortList": true,
      "syncAuto": false,
      "syncClear": false,
      "syncDevice": null,
      "tagsColumn": "#kobocoll",
      "tagsText": "To Be Read"
    }
  }
}
The list of numbers in content are book IDs.

Last edited by ownedbycats; 10-22-2021 at 01:12 PM.
ownedbycats is offline   Reply With Quote