All Projects → TheJF → Antennas

TheJF / Antennas

Licence: mit
📡HDHomeRun emulator for Plex DVR to connect to Tvheadend.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Antennas

Hdhrviewerv2.bundle
HDHomeRun + Plex
Stars: ✭ 91 (-43.12%)
Mutual labels:  plex
Aria2 Ariang X Docker Compose
Docker compose files for Aria2+ AriaNg+ filerun/ Nextcloud/ h5ai + Plex. 图形化BT,磁力,离线下载,文件管理,播放,投屏
Stars: ✭ 1,581 (+888.13%)
Mutual labels:  plex
Webhooks Home Automation
Use Plex webhooks to control lighting in your home
Stars: ✭ 137 (-14.37%)
Mutual labels:  plex
Homebridge Plex Sensors
Homebridge Sensors for Plex - a plugin for Homebridge to adds sensors triggered by Plex playbacks.
Stars: ✭ 95 (-40.62%)
Mutual labels:  plex
Pseudo Channel
This is a python based cli-app using the python-plex-api to control a plex-client and act like a real TV channel with show scheduling, commercial breaks, movie nights, etc. "Home-Brewed TV Channel(s) for Hackers"
Stars: ✭ 101 (-36.87%)
Mutual labels:  plex
Plexidrive
Scripts to facilitate the use of cloud storage (such as Google Drive) as storage for Plex media server
Stars: ✭ 118 (-26.25%)
Mutual labels:  plex
Plex Lastfm Scrobbler
Scrobble played audio items Last.FM from the Plex Media Server application.
Stars: ✭ 88 (-45%)
Mutual labels:  plex
Plexinthecloud
Scripts to install & configure: Plex, nzbget, sickrage, couchpotato, mylar, with rclone mounted Google Drive storage and full post-processing.
Stars: ✭ 148 (-7.5%)
Mutual labels:  plex
Plexupdate
Plex Update script to simplify the life of Linux Plex Media Server users.
Stars: ✭ 1,523 (+851.88%)
Mutual labels:  plex
Plexguide.com
Welcome to https://PlexGuide.com ~ Rapidly deploy multiple-hasty Docker Containers through Ansible with local or Unlimited Google HD Space!
Stars: ✭ 1,631 (+919.38%)
Mutual labels:  plex
Conv2mp4 Ps
This Powershell script will recursively search through a user-defined file path and convert all videos of user-specified file types to MP4 with H264 video and AAC audio using ffmpeg. The purpose of this script is to reduce transcoding CPU load on a media server like Plex or Emby and increase video compatibility across platforms.
Stars: ✭ 97 (-39.37%)
Mutual labels:  plex
Betanin
beets based mitm of your torrent client and music player
Stars: ✭ 101 (-36.87%)
Mutual labels:  plex
Plex Mpv Shim
Cast media from Plex Mobile and Web apps to MPV. (Unofficial)
Stars: ✭ 120 (-25%)
Mutual labels:  plex
Autoscan
Autoscan replaces the default Plex and Emby behaviour for picking up changes on the file system.
Stars: ✭ 92 (-42.5%)
Mutual labels:  plex
Mergerfs
a featureful union filesystem
Stars: ✭ 2,114 (+1221.25%)
Mutual labels:  plex
Pasta
Audio & Subtitle Track Changer for Plex
Stars: ✭ 90 (-43.75%)
Mutual labels:  plex
Cloudbox
Ansible-based solution for rapidly deploying a Docker containerized cloud media server.
Stars: ✭ 1,763 (+1001.88%)
Mutual labels:  plex
Usenet Docker
Docker-compose configuration for Sabnzbd, CouchPotato, Plex, Sonarr, Plexpy, Nzbhydra, Muximux, Radarr, NZBGet and Ombi with a Nginx proxy.
Stars: ✭ 153 (-4.37%)
Mutual labels:  plex
Media Docker
all-in-one deployment and configuration for an all-in-one media server, running on docker.
Stars: ✭ 148 (-7.5%)
Mutual labels:  plex
Rcloneexplorer
rclone GUI for Windows
Stars: ✭ 129 (-19.37%)
Mutual labels:  plex

Antennas

A JavaScript port of tvhProxy which is a program that translates the Tvheadend API to emulate a HDHomeRun API. This is particularly useful to connect Plex's DVR feature to Tvheadend.

Getting it running

Tvheadend Configuration

To be able to stream from Tvheadend through Plex, you need to set up an anonymous user in Tvheadend that has streaming rights. You can do this in the users section, by creating a user *:

Example configuration

Using binaries

Head over to the release section and download the binary for your platform. It will come with a config/config.yml that you can edit to reflect your setup, and you can simply run antennas in the console and the server will start up and start proxying Tvheadend over to Plex!

Run locally using Node

Right now, due to Docker networking issues, the best way to get this working is by running it directly through node.

To run it as a daemon: node index.js >/dev/null 2>&1 &

Docker

Another way to get it running is to run it using Docker. Note that some functionality is currently not quite working when hosting this as a Docker container, namely, discovery from Plex. But with that warning, if you so choose to continue using Docker, the instructions are below.

To start a Docker container running Antennas, run the command below. Note you must replace the ANTENNAS_URL and TVHEADEND_URL value to match your setup: docker run -p 5004:5004 -e ANTENNAS_URL=http://x.x.x.x:5004 -e TVHEADEND_URL=http://replace:[email protected]:9981 thejf/antennas

To view if the configurations have been passed correctly, you can point your browser to where you are hosting Antennas (in the above example, it would be http://x.x.x.x:5004 but this is a placeholder address that needs to be changed) and you should see a summary of your configurations on the page:

Example landing page

Alternatively, you can set it with all the available environment variables:

  docker create --name=antennas
    -e ANTENNAS_URL=http://x.x.x.x:5004
    -e TVHEADEND_URL=http://replace:[email protected]:9981
    -e TUNER_COUNT=6
    -p 5004:5004
    thejf/antennas

And then docker start antennas

Or, you can try by mounting a volume, set by yourself in path/to/config, that will need a config.yml to work. Example of a config.yml is available here, or below:

tvheadend_url: http://replace:[email protected]:9981
antennas_url: http://x.x.x.x:5004
tuner_count: 6
  • docker create --name=antennas -v <path/to/config>:/antennas/config -p 5004:5004 thejf/antennas
  • Set up config.yml (see configuration instructions here) where you pointed the config volume (what you replaced <path/to/config> with
  • Finally, docker start antennas

Configuration

Antennas can be configured either via the config.yml or environment variables. Environment variables take precedence over the config.yml.

config.yml

Antennas will look for three values inside a config/config.yml file. They are:

  • tvheadend_url: This is the path to your Tvheadend setup, with username, password, and port. Plex doesn't like localhost so it's best to find your own local IP and put this in if Tvheadend and Plex are running on the same network. For example: http://user:[email protected]:9981
  • tuner_count: This is for the number of tuners in Tvheadend.

Environment variables

If you want to set environment variables instead of modifying the config.yml, you can do so. The environment variable names are the same than the config.yml, except capitalized. So, TVHEADEND_URL and TUNER_COUNT.

Contributing

  1. Fork it ( https://github.com/thejf/antennas/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].