View Single Post
Old 12-20-2023, 09:06 AM   #568
bigwoof
Connoisseur
bigwoof began at the beginning.
 
Posts: 88
Karma: 18
Join Date: Jun 2020
Device: Boox Note Air3, don't use my kindle anymore
had some time and this was more interesting than doing other things. So I took a look at the code..

It might be as simple as doing this in generate_collections.py

Code:
       for i in range(0,len(collection.ebooks),400):
             new_collection = collection.ebooks[i:i+400]
             cc.update_collections_entry(collection.uuid,
                                         [e.uuid for e in new_collection])
that seems to break up the long members array into groups of 400 with all the correct preambles preserved.. will test it tomorrow. Hope that I don't need to send less commands at one go. assuming that the issue is the length of a single command and not the total number of small commands sent.. will find out tomorrow in any case..

Last edited by bigwoof; 12-20-2023 at 09:12 AM.
bigwoof is offline   Reply With Quote