alexbelgium / hassio-addons

My homeassistant addons
MIT License
1.46k stars 209 forks source link

✨ [REQUEST] Channels DVR Server #858

Open nkm8 opened 1 year ago

nkm8 commented 1 year ago

Which addon?

https://getchannels.com/dvr-server/#docker

Is your feature request related to a problem? Please describe.

I checked and I am unable to find an existing addon for this application, but it is extremely similar to the existing Plex and Emby addons. I also investigated using Portainer to run this container, but I need access to mount a local disk connected to HASS OS as external storage.

Describe the solution you'd like

Describe alternatives you've considered

Additional context

nkm8 commented 1 year ago

For anyone who stumbles on this, I was able to get this working using Portainer:

version: "3.9"
services:
  channels-dvr:
    image: fancybits/channels-dvr:tve
    container_name: channels-dvr
    network_mode: host
    ports:
      - "8089:8089"
    restart: on-failure:10
    devices:
      - /dev/dri:/dev/dri
    volumes:
      - /mnt/data/supervisor/homeassistant/addons_config/channels-dvr:/channels-dvr
      - "/mnt/data/supervisor/share/<MOUNT NAME>/Channels DVR:/shares/channels-dvr"

My goal was to use local disks attached to my NUC running Home Assistant. To make this work:

This is a bit of a kludge - ideally this would exist as a native addon in this repo so that I could pass the local disks directly to the container. I'm not sure what sort of negative performance hit there is using my current workaround, but so far Channels has performed good enough.