Quote:
Originally Posted by dhdurgee
Does your folder structure involve nesting? How was that rendered into collections?
|
As mentioned, each full directory path becomes the collection name. See previously posted examples:
https://www.mobileread.com/forums/sh...9&postcount=14
Quote:
Originally Posted by dhdurgee
Do you have books on the kindle that didn't come from Calibre?
|
Yes.
Quote:
Originally Posted by dhdurgee
Did using the calibre plugin include them in any collections?
|
No. Calibre assigns books to collection based on identifier.
For example:
Spoiler:
Code:
/system/collections.json
{
"Romance@en_US": {
"items": [
"#B01M18K9UM^EBOK",
"#B009LM4E9G^EBOK",
"#B01LX09O44^EBOK",
"#B01M1KAHIH^EBOK",
"#B01M0WYDYS^EBOK",
"#B01M0L4H1H^EBOK"
],
"lastAccess": 1554780019
},
"Romance: Contemporary@en_US": {
"items": [
"#B01M18K9UM^EBOK",
"#B01M0L4H1H^EBOK"
],
"lastAccess": 1554780019
},
"Romance: Historical@en_US": {
"items": [
"#B01LX09O44^EBOK",
"#B01M1KAHIH^EBOK",
"#B01M0WYDYS^EBOK"
],
"lastAccess": 1554780019
}
}
As my non-Calibre ebooks were added to the Kindle after the calibre plugin JSON was generated, Calibre wouldn't know the identifiers for these newly added books and thus, they wouldn't be in any Calibre collections.
I haven't had time to clean up metadata for my books for the past 4 months or so. It's been a long while since I last used the Calibre Kindle Collections plugin and I've forgotten if it's possible to create collections for books that are on-device only.
Note:
Iirc, if the same collection name exists in both the library JSON (
/extensions/collections.json) and calibre plugin JSON (
/system/collections.json), Librarian Sync will delete the previous collection and replace it with the contents of the last one that you run via Update collections. The Rebuild option deletes all previous collections every time.
For example if I have the following librarian format JSON and run "Update collections (librarian)", it will delete the Romance collection above and replace it with the contents of all books with romance in its path.
Seriously, the best way to learn is to just try it. I went through multiple trial and error before finding a solution that worked for me.