View Single Post
Old 09-20-2020, 01:41 PM   #13
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 7,043
Karma: 4604637
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
That does sound a lot like what I just described, yes.

But I'm don't think it would cover what I was suggesting, because it only applies to books that are on the device. When searching for books that aren't on the device, there's nothing to tell you what device is attached.

I was thinking of a function that would return something like what `self.gui.device_manager.get_current_device_inform ation().get('info', None)` does for all books when a device is attached.

Is device manager accessible from a template function I wonder?
JimmXinu is offline   Reply With Quote