Quote:
Originally Posted by birdbear
Hey all, thanks to the hint by hius07, I was able to create a User Patch to accomplish what I was asking about in this thread.
|
Thank you!
Am I right in thinking that this will overwrite collections.lua so if you have any collections apart from favourites, these will be lost. In function add_ebooks_to_collection on line 34-52?
If we want to preserve any other collections then only the favorites section should be changed, what is the best way to do that? From other languages I know it would be to deserialise collections.lua to a variable then manipulate it then serialise it back to the file?