From de368ae5b3962bc4e89ea367b95f02851bba930e Mon Sep 17 00:00:00 2001 From: Gautham Varma K <43441192+GauthamVarmaK@users.noreply.github.com> Date: Mon, 1 Nov 2021 15:52:14 +0530 Subject: [PATCH] :electric_plug: Explicitly Mount /dev/dvb/ and /dev/dri/ instead of mapping raw USB Access Potential fix for: #45 and #32 --- tvheadend/DOCS.md | 2 +- tvheadend/config.json | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/tvheadend/DOCS.md b/tvheadend/DOCS.md index f30efff6..54cc5e4e 100644 --- a/tvheadend/DOCS.md +++ b/tvheadend/DOCS.md @@ -55,7 +55,7 @@ every single time this add-on starts. ## Additional Details -- Raw USB would be mapped `/dev/bus/usb` inside the addon. +- `/dev/dvb/`, `/dev/dri/` would be respectively mapped to `/dev/dvb/`, `/dev/dri/` inside the addon. - Config files are stored in `/config/tvheadend/` - Recording files are stored in `/config/tvheadend/recordings/` diff --git a/tvheadend/config.json b/tvheadend/config.json index 43c0e04b..9d527426 100644 --- a/tvheadend/config.json +++ b/tvheadend/config.json @@ -7,7 +7,10 @@ "url": "https://github.com/GauthamVarmaK/addon-tvheadend", "arch": ["aarch64", "amd64", "armhf", "armv7", "i386"], "webui": "http://[HOST]:[PORT:9981]/", - "usb": true, + "devices": [ + "/dev/dvb/", + "/dev/dri/" + ], "ports": { "9981/tcp": 9981, "9982/tcp": 9982