content icons: can i remove them or otherwise adapt the web UI ?
Added by Gert Jansen almost 7 years ago
I have recently upgraded TVHeadend to a fairly recent build, and have noticed the new column with the content icons.
While I understand that may be useful to some, I personally would rather not have it.
Is there a way to remove them, hide that column, or otherwise remove it to somewhere near the back?
At home it's not a very big problem, but at work I have a rather small laptop with a pretty low resolution, and unfortunately by placing the column near the front, a lot of the information I am interested in is pushed towards the right of the screen.
It would be nice to be able to remove columns that are less interest to one's use.
(In my case I would also remove/hide 'owner', 'creator', 'comment', 'rerun of' in the upcoming/current recording page.
Is there a way to accomplish that?
Replies (5)
RE: content icons: can i remove them or otherwise adapt the web UI ? - Added by saen acro almost 7 years ago
Add new Issue
I also use sometime 1024x600 screen and is total uncomfortable
RE: content icons: can i remove them or otherwise adapt the web UI ? - Added by Robert Cameron almost 7 years ago
Click on the header of the column and you will see a drop-down. There ought to be a menu there to allow you to select which columns are visible. Simply deselect those that you are not interested in viewing, and select those you wish to see.
RE: content icons: can i remove them or otherwise adapt the web UI ? - Added by Gert Jansen almost 7 years ago
Thanks, that's very helpful.
I never knew that was possibly - obviously, otherwise I wouldn't have asked.
Do you know where those settings are stored? In a cookie?
I disabled a few columns, but when I opened another browser for the same TVH machine the changes were not there.
I would assume those settings are stored somewhere on the client (so, in a cookie?) rather than on the TVH machine itself; unlike changes to - let's say - a recording profile
RE: content icons: can i remove them or otherwise adapt the web UI ? - Added by Alan S almost 7 years ago
The "Content Icons" are a bit worthless IMHO too, too small to be useful (ignoring the pointless magnification) and only a few are immediately obvious as to identifying actual content. The webui column settings are stored in a per web browser cookie.
To permanently hide (but not disable) for all clients you need to edit the src/webui/static/app/tvheadend.js file. However all the webui JavaScript is merged at build time into a single tvh.js.gz file which is served to clients and not the individual js files.
So either, at build time you need to patch src/webui/static/app/tvheadend.js and add a "hidden: true," line to the tvheadend.contentTypeAction for "Content Icons".
Else, for a running system you need to uncompress the /usr/share/tvheadend/src/webui/static/tvh.js.gz file, search for the "Content Icons" tvheadend.contentTypeAction and add a "hidden:true," inline and then recompress.
RE: content icons: can i remove them or otherwise adapt the web UI ? - Added by Gert Jansen almost 7 years ago
Alan S wrote:
The "Content Icons" are a bit worthless IMHO too, too small to be useful (ignoring the pointless magnification) and only a few are immediately obvious as to identifying actual content. The webui column settings are stored in a per web browser cookie.
To permanently hide (but not disable) for all clients you need to edit the src/webui/static/app/tvheadend.js file. However all the webui JavaScript is merged at build time into a single tvh.js.gz file which is served to clients and not the individual js files.
So either, at build time you need to patch src/webui/static/app/tvheadend.js and add a "hidden: true," line to the tvheadend.contentTypeAction for "Content Icons".
Else, for a running system you need to uncompress the /usr/share/tvheadend/src/webui/static/tvh.js.gz file, search for the "Content Icons" tvheadend.contentTypeAction and add a "hidden:true," inline and then recompress.
Thank you for that.
When I have a bit more time at hand, I'll check out both of the options you suggested.
- when I update my TVHeadend build
- sometimes even when I just refresh the webpage
I have the webpages for all my TVheadend clients permanently open on a always-on Virtual Machine, but even then the frequency of re-disabling the columns is quite a frustrating exercise.