View Single Post
Old 09-21-2020, 04:51 AM   #23
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,465
Karma: 8025600
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by JimmXinu View Post
That would be nice, but not just yet, I would suggest. It needs some polish yet.

That device name is configurable; although I confess I don't know where in vanilla Calibre. ReadingList plugin lets you change it and calls gui.device_manager.set_driveinfo_name(...)
As far as I can tell that method is never called in base calibre. I added it in 2011, I think for Reading List.

I have no problem having the template function return that name. The function would need to take a "location code" telling it which of the three possible names to return. I suspect the code will mostly be "main".
chaley is offline   Reply With Quote