Quote:
Originally Posted by kiwidude
Interesting on the restart calibre required thing. On renaming a device, my plugin will call:
Code:
self.gui.device_manager.set_driveinfo_name(device_info['location_code'], new_device_name)
Other than that, everything should just be doing uuid comparisons when the device is connected, so renaming a device should be irrelevant to that connectivity?
|
It is very hard to say what is going wrong.
What I can say is that "reading list" did not chat on connect after the rename but before the restart. For example, here is a "normal" startup log.
Here is the one after the rename. You will see that the reading_list lines are missing. Why I cannot say.
Ahhh... I might have found it. My driver sent the command to the app to change the device name, but the app currently ignores such commands. That might have confused reading_list. Apparently a UUID mapping is all you need after a restart, so things started working again. Or at least it appears that way.