Sign inSign up

papaschloss/plexheadend

By papaschloss

•Updated over 6 years ago

plex to tvheadend with a fix for OTA channels

Image
2

100K+

papaschloss/plexheadend repository overview

⁠plexheadend

Proxy requests between PlexDVR and TVHeadend

This fixes an issue in github.com/wrboyce/plexheadend where OTA channels (like "2.1") won't work with plexheadend.

⁠Installation

⁠Build from Source

Download and build the project and its dependencies with the standard Go tooling, go get github.com/papaschloss/plexheadend.

⁠Docker Container

There is also a Docker container made available for use at papaschloss/plexheadend.

⁠Usage

All configuration options can be specified as either a commandline parameter or an environment variable.

NameCommandlineEnvironment
Device ID--device-id -iPLEXHEADEND_DEVICE_ID
Name--name -nPLEXHEADEND_NAME
Proxy Bind--proxy-bind -bPLEXHEADEND_PROXY_BIND
Proxy Hostname--proxy-hostname -HPLEXHEADEND_PROXY_HOSTNAME
Proxy Listen--proxy-listen -lPLEXHEADEND_PROXY_LISTEN
Filter Tag--tag -fPLEXHEADEND_TAG
Tuners--tuners -tPLEXHEADEND_TUNERS
TVHeadend Host--tvh-host -hPLEXHEADEND_TVH_HOST
TVHeadend Pass--tvh-pass -PPLEXHEADEND_TVH_PASS
TVHeadend Port--tvh-port -pPLEXHEADEND_TVH_PORT
TVHeadend User--tvh-user -uPLEXHEADEND_TVH_USER
Usage of plexheadend:
  -i, --device-id string        Device ID reported to Plex (default "1")
  -n, --name string             Friendly name reported to Plex (default "plexHeadend")
  -b, --proxy-bind string       Bind address (default all)
  -H, --proxy-hostname string   Hostname reported to Plex (default "localhost")
  -l, --proxy-listen string     Listen port (default "80")
  -f, --tag string              TVHeadend tag to filter reported channels (default none)
  -t, --tuners int              Number of Tuners reported to Plex (default 1)
  -h, --tvh-host string         TVHeadend Host (default "localhost")
  -P, --tvh-pass string         TVHeadend Password (default "plex")
  -p, --tvh-port string         TVHeadend Port (default "9981")
  -u, --tvh-user string         TVHeadend Username (default "plex")
⁠Example docker-compose Usage
services:
    tvheadend:
        image: linuxserver/tvheadend
        container_name: tvheadend
        environment:
            - VERSION=latest
            - TZ=UTC
        ports:
            - 9981:9981
            - 9982:9982
        restart: unless-stopped
        
    plexheadend:
        image: papaschloss/plexheadend
        container_name: plexheadend
        environment:
            - PLEXHEADEND_TVH_HOST=tvheadend
            - PLEXHEADEND_PROXY_HOSTNAME=plexheadend
        restart: unless-stopped
        
    plex:
        image: linuxserver/plex
        container_name: plex
        environment:
            - VERSION=latest
            - TZ=UTC
        ports:
            - 32400:32400
            - 32400:32400/udp
        restart: unless-stopped

Tag summary

Content type

Image

Digest

Size

303.7 MB

Last updated

over 6 years ago

docker pull papaschloss/plexheadend