An open API service indexing awesome lists of open source software.

https://github.com/simonhdickson/tvheadproxy

This app proxies tvheadend so that it can be used with Plex DVR
https://github.com/simonhdickson/tvheadproxy

plex plex-dvr tvheadend

Last synced: 6 months ago
JSON representation

This app proxies tvheadend so that it can be used with Plex DVR

Awesome Lists containing this project

README

          

# tvheadproxy

[![Build Status](https://travis-ci.org/simonhdickson/tvheadproxy.svg?branch=master)](https://travis-ci.org/simonhdickson/tvheadproxy)
[![Docker Cloud Build Status](https://img.shields.io/docker/cloud/build/simonhdickson/tvheadproxy)](https://cloud.docker.com/u/simonhdickson/repository/docker/simonhdickson/tvheadproxy)

The app proxies tvheadend so that it can be used with Plex DVR.

## Installation

Examples assume you ave the following:

- User on `tvheadend` called `livetvh` with password `mypassword`.
- Your `tvheadened` web interface is on `192.168.1.10:9981`.
- The machine you're running this on has IP address `192.168.1.10` and port `5004` is free.

### Local

```bash
cargo install tvheadproxy // add -f to update
tvheadproxy -h "http://192.168.1.10:5004" -t "http://192.168.1.10:9981" -u "livetvh" -p "mypassword"
```

### Docker

Example:

```bash
docker run -dit -p 5004:5004 simonhdickson/tvheadproxy -h "http://192.168.1.10:5004" -t "http://192.168.1.10:9981" -u "livetvh" -p "mypassword"
```

Then in Plex go to `Settings/Live TV PVR` click `Add Device` and type `http://192.168.1.10:5004`

## Help

```bash
tvheadproxy 0.1.0
TV Headend Proxy

USAGE:
tvheadproxy [OPTIONS] --tvh_proxy_url --tvh_url --tvh_user

FLAGS:
--help Prints help information
-V, --version Prints version information

OPTIONS:
-o, --port [env: PORT=] [default: 5004]
-s, --stream_profile [env: STREAM_PROFILE=] [default: pass]
-c, --tuner_count [env: TUNER_COUNT=] [default: 3]
-w, --tv_weight [env: TV_WEIGHT=] [default: 300]
-p, --tvh_pass [env: TVH_PASS=]
-h, --tvh_proxy_url [env: TVH_PROXY_URL=]
-t, --tvh_url [env: TVH_URL=]
-u, --tvh_user [env: TVH_USER=]
```