Project

General

Profile

Missing "configuration" tab

Added by ben barker almost 12 years ago

Hello,

Been using tvheadend for a while now. Today I did a git clone and brecompiled. All worked fine, but the "configure" tab has vanished from the webUI. All my settings remain, and playback recordings work, so it is no big deal right now.

Now othe obvious answer to this is "don't use the latest code, you're asking for trouble" - but can anyone suggest why this might have happened? Could it be a user permissions thing, and if so where would this be configured...?


Replies (2)

RE: Missing "configuration" tab - Added by Prof Yaffle almost 12 years ago

~/.hts/tvheadend/accesscontrol (or wherever your configuration files will be - if you've done a self-compile, you should know where you've put everything...!).

One file per user rule, named as numbers (i.e. first one is "1", second "2", etc.).

Format is:

{
        "enabled": <boolean, 1=true, 0=false>,
        "username": "<string>",
        "password": "<string>",
        "comment": "<string>",
        "prefix": "<string, format 0.0.0.0/0>",
        "streaming": <boolean>,
        "dvr": <boolean>,
        "dvrallcfg": <boolean>,
        "webui": <boolean>,
        "admin": <boolean>,
        "id": "<string, corresponds to the file name>" 
}

e.g.:

hts@revo:~/.hts/tvheadend/accesscontrol$ cat 2
{
        "enabled": 1,
        "username": "*",
        "password": "*",
        "comment": "VLC Streaming users",
        "prefix": "192.168.1.0/24",
        "streaming": 1,
        "dvr": 0,
        "dvrallcfg": 0,
        "webui": 0,
        "admin": 0,
        "id": "2" 
}
hts@revo:~/.hts/tvheadend/accesscontrol$

rule enabled, no name/password, anyone on the local LAN, streaming only, second rule.

RE: Missing "configuration" tab - Added by ben barker almost 12 years ago

Hi - I found the problem, if one can call it that, and it was down to me!

Many releases ago I had modified the tvheadend.js file locally to launch standalone VLC rather than play in a DIV of the browser
When I updated, I accidentally changed the part of this file that deals with drawing the menus - but not enough to completely break it - hence the
problems :-)

All fine now!

    (1-2/2)