Quote:
Originally Posted by FadedSun
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.