View Single Post
Old 02-13-2017, 11:42 AM   #35
kido.resuri
Groupie
kido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura about
 
Posts: 172
Karma: 4282
Join Date: Dec 2016
Location: Hungary
Device: Kobo Aura H2O
Ok, I have a working version now, with some know bugs and limitations. Only files can be sent to Kobo, not folders. Filenames containing ! are not processed, if one is selected, then the auto-reboot doesn't work after nickel finishes reading the content, but only with a timeout.
Apart from these, the scripts can send to Kobo quite well, and even in large quantities. Its a windows batch file on the windows side with 7z, and a shell script on the Kobo side with some SQLite triggers and read query, all self-removed during the process, so it is quite safe. The batch has no (or few) error handling now, so problems may occur. I only had problem once with the mentioned filename with "!" in it, but nothing was hurt during that either.
The books are transfered to the Kobo with the hijacked sync update, then the script involves a virtual SD mount containing the books, and waits for nickel to finish reading the contents, then does a reboot, and the new content is then loaded from /mnt/onboard

If anyone is interested with these current issues, and/or willing to do some beta testing, I may release it "now", or else later as I have time to improve and fix bugs, and I'm actually satisfief with it. So please post here, if you wish.
kido.resuri is offline   Reply With Quote