Project

General

Profile

Is there a way of configuring which columns are displayed and their widths, in a way that is persistent and doesn't get reset every time browser cookies are cleared?

Added by Martin Underwood over 1 year ago

The various tables such as Digital Video Recorder | Upcoming and Current Recordings , Digital Video Recorder | Finished Recordings, Configuration | DVB Inputs | Services etc contain many columns. Some of these are more relevant than others, and they occupy space which causes other columns to shrink in width so not all the contents of a field are visible. It is possible to right-click on a column and uncheck the columns that you don't want, and to drag column widths. Those settings appear to be saved in cookie. But they are lost if the browser's cookies are cleared.

Is there a way, for a given installation of TVHeadend on a "server" (eg a Raspberry Pi), to turn some columns off by default (as opposed to every column being displayed by default) and to set minimum field widths? I can't see anything in any of the files below /usr/hts which list the fields for a given form, so some can be set not to display.

If it's not possible, maybe it should be treated as an enhancement request: a per-server (rather than per-browser) setting of which fields on a form are displayed by default and the default widths of the fields. It's the one weakness of TVH - that the configured fields (displayed/hidden, widths) are not persistent, and that columns don't auto-size to the narrowest width which just displays the longest value in a column.

It's a particular nuisance when the config page is displayed on a browser on a phone or tablet (eg Android) which has touch-screen, because there isn't a way of dragging field widths so they display (for example) the full start/end times of scheduled programmes.


Replies (1)

RE: Is there a way of configuring which columns are displayed and their widths, in a way that is persistent and doesn't get reset every time browser cookies are cleared? - Added by Dave Pickles over 1 year ago

I configure an exception in my browser settings to keep cookies set by my Tvheadend server. It's a nuisance having to do this on every device but I don't know of any other way.

The cookie expiration is by default set to a rather short interval (Configuration -> General -> Base), so I set it to its maximum value of 2047 days.

    (1-1/1)