File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed
Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ Run it on Kobo device, then use browser to transfer file to device.
99```
1010menu_item :main :Force Wi-Fi On (toggle) :nickel_setting :toggle:force_wifi
1111menu_item :main :IP Address :cmd_output :500:/sbin/ifconfig | /usr/bin/awk '/inet addr/{print substr($2,6)}'
12+ menu_item :main :Import Books :nickel_misc :rescan_books_full
1213menu_item :main :KoboFileServer (toggle) :cmd_output :500:quiet :/usr/bin/pkill -f "^/mnt/onboard/.adds/KoboFileServer/kobofileserver"
1314 chain_success:skip:3
1415 chain_failure :cmd_spawn :/mnt/onboard/.adds/KoboFileServer/kobofileserver
@@ -26,6 +27,7 @@ menu_item :main :KoboFileServer (toggle) :cmd_output :500:quiet :/u
262705 . Open browser on any device, then type "http://IP/ ".
272806 . Select a file.
282907 . Click "Click to upload file" to upload file.
30+ 08 . After uploading file is done, click "Import Books" of NickelMenu.
2931
3032# Test Video
3133[ Use Android E-Ink device(HyRead Gaze Pocket) to upload files to Kobo Elipsa.] ( https://youtu.be/mZ4C3v0sqL0 " kobofileserver ")
Original file line number Diff line number Diff line change @@ -144,13 +144,6 @@ func uploadFile(w http.ResponseWriter, r *http.Request) {
144144
145145 t3 := time .Now ()
146146
147- err = notifyKoboRefresh ()
148- if err != nil {
149- s := responseString (fmt .Sprintf ("Error: (%v)" , err ))
150- fmt .Fprintf (w , s )
151- return
152- }
153-
154147 s := responseString (
155148 fmt .Sprintf (
156149 "Uploading (%s) is successful, saveFile(%v), convertFile(%v)" ,
You can’t perform that action at this time.
0 commit comments