And that of course is an option that will work for some people, though googling to see whether this sort of solution existed threw up more than a few requests along these lines to deter casual browsing (particularly deterring pre-adolescents who are unlikely to bypass it in my case) rather than the creation and sharing of usernames and passwords to guests.
If any users wished to make such a change to their live system in my install
opds.py and legacy.py can be found at /usr/local/lib/calibre/calibre/srv
while home.pyj compiles into
/usr/local/share/calibre/content-server/index-generated.html
Where the code is now Javascript and should be implemented around line 32007 (linecount for slightly older build) it should sit before the line cl.lastChild.style.margin = "1ex 1rem";
and should be inserted as
if (library_name.includes("Private")) cl.lastChild.style.visibility = "hidden"
|