View Single Post
Old 06-17-2024, 09:39 AM   #1373
hatuluang
Teluk Biru
hatuluang ought to be getting tired of karma fortunes by now.hatuluang ought to be getting tired of karma fortunes by now.hatuluang ought to be getting tired of karma fortunes by now.hatuluang ought to be getting tired of karma fortunes by now.hatuluang ought to be getting tired of karma fortunes by now.hatuluang ought to be getting tired of karma fortunes by now.hatuluang ought to be getting tired of karma fortunes by now.hatuluang ought to be getting tired of karma fortunes by now.hatuluang ought to be getting tired of karma fortunes by now.hatuluang ought to be getting tired of karma fortunes by now.hatuluang ought to be getting tired of karma fortunes by now.
 
hatuluang's Avatar
 
Posts: 156
Karma: 348662
Join Date: Jan 2023
Device: Kobo Clara 2E
Quote:
Originally Posted by baursak View Post
I see two possible options in NickelMenu Documentation for 'to rescan books'
Code:
menu_item : library : Import books : nickel_misc : rescan_books_full
The structure of the code:
menu_item:<location>:<label>:<action>:<arg>

menu_item
Adds a menu item.

<label>
you can give a name for the item (command/shortcut), e.g. Import Books

<location>
You can choose where to put the location of the item
main - a new item will be added to the tabs on the bottom-right of Kobo main page/homepage
reader - the overflow menu in the reader/reading page
browser - the menu in the bottom-right of the web browser
library - the menu in the filter bar for the "My Books" and "My Articles" library

<action>
nickel_misc

<arg>
rescan_books_full

so,
Code:
 menu_item : library : Import books : nickel_misc : rescan_books_full
The command import books will be located in my books and my articles pages.
The command rescan_book_full means that Kobo will scan all its folders to display the new file if exist.
This action imitates Kobo's action when ejected from the PC after sideloading book or after take a screenshot.

Quote:
What shall I use to get rid of errors during USB connect with Calibre on PC?
When you are disconnecting/eject your Kobo from PC, wait until the Kobo homepage appear and the window preview pop-up to inform that Computer detected, you will ask to connect to PC or cancel. You can choose cancel and safely unplug the USB cable from your PC

You may use USB connect without have to unplug/replug, use the following in Nickelmenu:

Code:
Code:
menu_item : main    : USB Connect        : nickel_misc    : force_usb_connection
Attached Thumbnails
Click image for larger version

Name:	windows preview on Kobo homepage.png
Views:	815
Size:	268.2 KB
ID:	208948  

Last edited by hatuluang; 06-17-2024 at 09:55 AM.
hatuluang is offline   Reply With Quote