View Single Post
Old 08-19-2020, 02:24 PM   #262
geek1011
Wizard
geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.
 
Posts: 2,805
Karma: 7423683
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Quote:
Originally Posted by elpistola View Post
I used NickleMenu to add the option to enable ftp and enable to option to 'Import Books', then when the Kobo is connected to Wi-Fi, it's ip address shows in the Settings - Device Information. I then use Filezilla to connect to the Kobo. Port number will appear when you enable ftp via NickleMenu, username is root and there is no password.

Sounds a lot, but once its all set up, as long as you don't restart the Kobo - all you need to do is open Filezilla, choose to connect to the Kobo and transfer any books across, then press 'Import Books' and they appear in My Books. I then turn wifi off. If you restart your Kobo, you'll have to re-enable ftp.

Let me know if you want it explaining better, or need any other help. I've only had my Libra for a month and found there's a lot of info on what can be done with patches and mods, but its not the easiest to find.

I like the idea of a wireless charger too, kinda interested in putting it inside the Libra, but not sure how much space there is behind the rear cover.
To add on to this, you can use NM to add a button to toggle FTP on/off. It's easy enough to modify this to also rescan books when it's turned off.

Something like this:

Code:
menu_item:main:FTP:cmd_output:500:quiet:/bin/busybox pkill -f "^/bin/busybox tcpsvd -E 0.0.0.0 1021"
  chain_success:skip:4
    chain_failure:cmd_spawn:quiet:exec /bin/busybox tcpsvd -E 0.0.0.0 1021 /bin/busybox ftpd -w -t 30 /mnt/onboard
    chain_success:dbg_toast:Started FTP server for KOBOeReader on port 1021
    chain_failure:dbg_toast:Error starting FTP server for KOBOeReader on port 1021
    chain_always:skip:-1
  chain_success:dbg_toast:Stopped FTP server for KOBOeReader on port 1021
  chain_success:nickel_misc:rescan_books
You can also use the `nickel_setting` and `nickel_wifi` actions to force enable wifi while FTP is enabled.
geek1011 is offline   Reply With Quote