In Preferences ==> Tweaks ==> content_server_will_display I tried this, it had no effect:
content_server_will_display = ['*']
content_server_wont_display = ['#online', 'Virtual Libs.', '#ddc', '#jobs', '#lcc', '#lcead', '#oclc_owi']
Then I tried this in Preferences ==> Tweaks ==> content_server_will_display, which also had no effect:
content_server_will_display = ['newest', 'all_books', 'random_book', 'authors', 'searches', 'title', 'series', '#ser', 'languages', '#genre', '#st']
content_server_wont_display = ['#online', 'Virtual Libs.', '#ddc', '#jobs', '#lcc', '#lcead', '#oclc_owi']
Surprisingly, even my doing THIS in Preferences ==> Tweaks ==> content_server_will_display had no effect:
content_server_will_display = []
content_server_wont_display = ['*']
I've tried other variations too, also in Preferences ==> Teaks ==> content_server_will_display, without any result. Yes, calibre was restarted each time, and I also killed off the calibre-server process and restarted it separately.
------------
Then I tried something completely different; I edited the /opt/calibre/resources/default_tweaks.py file, including the version in the 'configuration folder' mentioned by theducks. That finally stopped most but not all categories from showing on the home page of the content server. The Virtual libs. category is still showing. How do I now suppress that? Either the 'Virtual Libs.' entry in the .py file is the wrong secret code to use (which I suspect to be the case), or there's some other occult method needed to suppress that particular category.
------------
I also noticed a completely new side effect which began after doing the above mentioned things: Random book (also shown on the home page of the content server) is no longer presenting a random book, it just shows the same book each time it's selected. (Random book meaning that it should present a completly different book each time I click on Random book.) What caused that, and how can I restore it's proper function?
------------
And, as mentioned in the Bonus question in a post following the OP (which I use to mean the Original Post in this thread,) the News category still isn't showing on the home page of the content server, but it should be since my Calibre is downloading articles every day. How can that be fixed?
Last edited by Ersatzreifen; 05-23-2016 at 05:11 AM.
Reason: To increase pedantic persnicketyness for people who need that sort of thing to understand what's being talked about. Typos.
|