Coder Social home page Coder Social logo

antennas's People

Contributors

behinddesign avatar dependabot[bot] avatar jfarseneau avatar lucasreiners avatar mprajsler avatar psychowood avatar tenfire avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

antennas's Issues

plex not detecting antennas

tvheadend and antennas are running on docker. both hosted on the plexserver
TVHEADEND:
docker create --name=tvheadend --net=host -v /opt/tvheadend:/config -v /opt/tvheadend:/recordings -e PGID=0 -e PUID=0 -p 9981:9981 -p 9982:9982 linuxserver/tvheadend

ANTENNAS
docker create --name=antennas -e ANTENNAS_URL=http://192.168.2.111:5004 -e TVHEADEND_URL=http://cluster:[email protected]:9981 -e TVHEADEND_WEIGHT=300 -e TUNER_COUNT=6 -p 5004:5004 thejf/antennas

Plex keep looking for the device without success.
Both antennas and tvheaend are runnig fine accessible via browser, show good config.

What is missing?

Thank you

TypeError: body.entries is not iterable

When running the docker file with my TVHeadend setup I get the following error when I try to setup the DVR:

  --> POST /lineup.post?scan=start&source=Cable 404 2ms -
  <-- GET /discover.json
  --> GET /discover.json 200 3ms 329b
  <-- GET /lineup_status.json
  --> GET /lineup_status.json 200 1ms 77b
  <-- GET /discover.json
  --> GET /discover.json 200 0ms 329b
  <-- GET /lineup_status.json
  --> GET /lineup_status.json 200 0ms 77b
  <-- GET /lineup.json
  xxx GET /lineup.json 500 63ms -

  TypeError: body.entries is not iterable
      at /antennas/src/lineup.js:10:30
      at <anonymous>
      at process._tickCallback (internal/process/next_tick.js:182:7)

And Plex gives the message: "There is an error with receiving your channels."

Not an issue but question about hdhomerun detection

I am writing my own little hdhomerun emulator for using with ChannelsDVR. But I had to add it manually because it is not detectable on network.
Documentation on SiliconDust is limited so I am curious what is necessary to have such virtual tuner to be detected.

docker won't connect to tvheadend

Hi there,
I've configured the docker container on my synology and can get to http://:5004/ without any probs. I get the "Antennas are operational!" screen.

config.yml:

tvheadend_url: http://user:[email protected]:9981
tvheadend_weight: 300 # subscription priority
tuner_count: 2 # numbers of tuners in tvheadend

The docker log shows this whenever i try to add a tuner to plex:

4:46:22,[development] Kemal is ready to lead at http://0.0.0.0:5004,stdout
4:46:40,2017-09-18 04:46:40 +0000 200 GET / 362.3µs,stdout
4:46:40,2017-09-18 04:46:40 +0000 404 GET /favicon.ico 159.1µs,stdout
4:46:43,2017-09-18 04:46:43 +0000 200 GET / 44.0µs,stdout
4:47:21,2017-09-18 04:47:21 +0000 200 GET /discover.json 109.5µs,stdout
4:47:21,2017-09-18 04:47:21 +0000 200 GET /lineup_status.json 37.9µs,stdout
4:47:21,2017-09-18 04:47:21 +0000 200 GET /discover.json 43.4µs,stdout
4:47:21,2017-09-18 04:47:21 +0000 200 GET /lineup_status.json 61.9µs,stdout
4:47:25,Exception: No address found for x.x.x.x:9981 over TCP (Socket::Error),stdout
4:47:25,0x4d717e: ??? at ??,stdout
4:47:25,0x4d6878: socket at /opt/crystal/src/io.cr 558:7,stdout
4:47:25,0x4d0beb: exec_internal_single at /opt/crystal/src/http/client.cr 500:19,stdout
4:47:25,0x4ce68f: exec_internal at /opt/crystal/src/http/client.cr 487:5,stdout
4:47:25,0x4cb497: exec at /opt/crystal/src/http/client.cr 482:5,stdout
4:47:25,0x4c6cbc: ??? at /opt/crystal/src/http/client.cr 329:3,stdout
4:47:25,0x536be6: call at /home/jfa/antennas/lib/kemal/src/kemal/route_handler.cr 255:3,stdout
4:47:25,0x529a67: call_next at /opt/crystal/src/http/server/handler.cr 24:7,stdout
4:47:25,0x5283c1: call at /home/jfa/antennas/lib/kemal/src/kemal/static_file_handler.cr 56:9,stdout
4:47:25,0x533602: call at /opt/crystal/src/http/server/handler.cr 24:7,stdout
4:47:25,0x530f13: call at /opt/crystal/src/http/server/handler.cr 24:7,stdout
4:47:25,0x535fe6: call_next at /opt/crystal/src/http/server/handler.cr 24:7,stdout
4:47:25,0x51d50a: process at /home/jfa/antennas/lib/kemal/src/kemal/init_handler.cr 11:7,stdout
4:47:25,0x4177d8: ??? at /opt/crystal/src/fiber.cr 255:3,stdout
4:47:25,0x0: ??? at ??,stdout

is there something simple im missing here?

Plex "Can not communicate with device" upon channel scan

I have everything set-up, I see communication from Plex and the Web-UI also reports OK.
Still when I try to click "Scan channels" it tries to do a POST and the server responds with a 404... Using the docker container as per README.

2019-09-14T03:29:44+00:00 kraftwerk antennas[1027]:   <-- GET /discover.json
2019-09-14T03:29:44+00:00 kraftwerk antennas[1027]:   --> GET /discover.json 200 6ms 389b
2019-09-14T03:29:44+00:00 kraftwerk antennas[1027]:   <-- GET /lineup_status.json
2019-09-14T03:29:44+00:00 kraftwerk antennas[1027]:   --> GET /lineup_status.json 200 0ms 77b
2019-09-14T03:29:44+00:00 kraftwerk antennas[1027]:   <-- GET /discover.json
2019-09-14T03:29:44+00:00 kraftwerk antennas[1027]:   --> GET /discover.json 200 1ms 389b
2019-09-14T03:29:44+00:00 kraftwerk antennas[1027]:   <-- GET /lineup_status.json
2019-09-14T03:29:44+00:00 kraftwerk antennas[1027]:   --> GET /lineup_status.json 200 0ms 77b
2019-09-14T03:29:46+00:00 kraftwerk antennas[1027]:   <-- GET /lineup.json
2019-09-14T03:29:46+00:00 kraftwerk antennas[1027]:   --> GET /lineup.json 200 19ms 2b
2019-09-14T03:29:54+00:00 kraftwerk antennas[1027]:   <-- POST /lineup.post?scan=start&source=Cable
2019-09-14T03:29:54+00:00 kraftwerk antennas[1027]:   --> POST /lineup.post?scan=start&source=Cable 404 1ms -

Does the multiple tuners function work?

I've got 3 tuners showing in TVheadend and can get three simultaneous streams on VLC so I've tested the backend functionality - does antennas correctly pass this over to Plex?
I've tried with two plex clients and the second one never tunes to a channel if the first one is actively tuned in.

Password should not be displayed in Clear Text in WEBUI

Although you could run this software behind a reverse proxy and use a firewall to limit access, it would be nice if the passwords were not exposed directly in Cleartext!. (even if the url contains the password).

Its a pretty big security concern, and enables anyone on the network to access that TVHeadEnd user.

Maybe just display IP Address, User and Port? Consider some additional security measures if possible?

Streaming profiles?

Is there a way to force antennas to use a certain streaming profile from tvheadend?

Thanks

Digest auth not working since version 4.1.1

The update of the last week break the digest auth mode and I had to change it to "Both Plain and Digest" mode on TvHeadend. As I see in #18 this was implemented 2 years ago so something must be broken with the last update.

Thanks.

is there any way to make Plex understand muxes?

From a quick search it appears that Plex can do this with real HDHomeRuns.

The problem is if I tell Plex I have 6 tuners, and people watch 6 different channels at once from the same mux that uses 1 tuner - but Plex thinks all six are being used.....

Possible to get it working with HDHomeRun apps?

Hi - have this all hooked up and working with Plex... thanks. However, was also hoping to use the HDHomeRun app (e.g. on iOS) but it does not recognise the proxy. I tried changing to server antennas on port 80 but still not working... any ideas?

Picons

Hi

Can this proxy load the channels logos/picons?
I believe tvhProxy do that, right?
In my initial experiments with Antennas in Jellyfin I only can obtain the channel numbers/names.

In your README you say to create an anonymous user *, but in the config.yml file the tvheadend_url must include the credentials of another user, right? With what "Change parameters" that user must be created?

Regards and thanks for your work!

PLEX "Playback Error: Could not tune channel. Please check your tuner or antenna."

Hi,
I have encountered an issue where once I start loading a channel, after approx 5 seconds it just throws me an error saying "Could not tune channel. Please check your tuner or antenna."
I am running Antennas on Docker on a Raspberry Pi 4B.

In antennas logs, I see plex sending two requests, nothing more.

  --> GET /discover.json 200 2ms 394b
  <-- GET /lineup_status.json
  --> GET /lineup_status.json 200 2ms 77b

In TVHeadend, it seems that plex requests to see a channel, but then stops soon after, there are no errors whatsoever apart from that.

2022-06-09 13:45:00.752 [   INFO] subscription: 0008: "HTTP" subscribing on channel "AT-X", weight: 150, adapter: "IPTV #1", network: "Japan", mux: "jp.m3u - AT-X (720p) [Not 24/7]", provider: "FFmpeg", service: "Service01", profile="matroska", hostname="192.168.68.10", client="Lavf/58.65.101"
2022-06-09 13:45:05.410 [   INFO] subscription: 0008: "HTTP" unsubscribing from "AT-X", hostname="192.168.68.10", client="Lavf/58.65.101"

As for Plex logs, there seems to be nothing.
Any help would be greatly appreciated!!

Plex not recognizing antennas

Hi,

I am using Plex Version 1.11.0.4666 (Ubuntu, 64bit) and tvheadend 4.3-991~g9718e8e.

I started antennas using:
sudo docker run -p 5004:5004 -e ANTENNAS_URL=http://192.168.0.44:5004 -e TVHEADEND_URL=http://admin:[email protected]:9981 thejf/antennas

Status Page of antennas says "all system go". When adding the device to plex over web interface the device is not recognized, even when typing in 192.168.0.44:5004.

Plex Logfile:

Jan 20, 2018 10:28:49.310 [0x7fd9c0bff700] DEBUG - DVR:Device: Discovering and refreshing devices.
Jan 20, 2018 10:28:49.311 [0x7fd9c0bff700] DEBUG - DVR:Grabber: HDHomerun discovered 0 compatible devices.
Jan 20, 2018 10:28:49.311 [0x7fd9c0bff700] DEBUG - DVR:Device: Testing grabber HDHomerun device device://tv.plex.grabbers.hdhomerun/12345670 at http://192.168.0.44:5004
Jan 20, 2018 10:28:49.311 [0x7fd9c0bff700] DEBUG - HTTP requesting GET http://192.168.0.44:5004/discover.json
Jan 20, 2018 10:28:49.312 [0x7fd9c0bff700] DEBUG - HTTP 200 response from GET http://192.168.0.44:5004/discover.json
Jan 20, 2018 10:28:49.313 [0x7fd9c0bff700] DEBUG - HTTP requesting GET http://192.168.0.44:5004/lineup_status.json
Jan 20, 2018 10:28:49.314 [0x7fd9c0bff700] DEBUG - HTTP 200 response from GET http://192.168.0.44:5004/lineup_status.json
Jan 20, 2018 10:28:49.319 [0x7fd9c0bff700] DEBUG - DVR:Device: Device was alive, refreshed device://tv.plex.grabbers.hdhomerun/12345670.
Jan 20, 2018 10:28:49.319 [0x7fd9c0bff700] DEBUG - DVR:Grabber: Mystery discovered 0 compatible devices.
Jan 20, 2018 10:28:56.102 [0x7fd9ae3fe700] DEBUG - DVR:Device: Testing grabber HDHomerun device device://tv.plex.grabbers.hdhomerun/12345670 at http://192.168.0.44:5004
Jan 20, 2018 10:28:56.107 [0x7fd9ae3fe700] DEBUG - DVR:Device: Device device://tv.plex.grabbers.hdhomerun/12345670 died
Jan 20, 2018 10:28:56.108 [0x7fd9ae3fe700] DEBUG - DVR:Grabber: Mystery discovered 0 compatible devices.

When I take a look on the network in chrome, I see the discover process of Plex. It returns a XML:

<?xml version="1.0" encoding="UTF-8"?>
<MediaContainer size="2">
<Device key="1" uuid="device://tv.plex.grabbers.tunerservice/dvb%23v4l%23%2fsys%2fdevices%2fpci0000%3a00%2f0000%3a00%3a01.0%2f0000%3a01%3a00.0%3a14f1%3a8880" uri="" protocol="livetv" status="alive" state="enabled" lastSeenAt="1516441352" make="Hauppauge" model="WinTV-quadHD" modelNumber="1607" source="1" sources="0,1,2" thumb="/:/resources/dvr/device-pcie-560.png" tuners="1">
<Setting id="transcodeDuringRecord" label="Convert video while recording" default="0" summary="[Experimental] This can save disk space and improve compatibility. Converting requires a fast CPU." type="int" value="0" hidden="0" advanced="0" group="" enumValues="0:Off|2:Transcode" />
</Device>
<Device key="2" uuid="device://tv.plex.grabbers.hdhomerun/12345670" uri="http://192.168.0.44:5004" protocol="livetv" status="dead" state="enabled" lastSeenAt="1516440529" canTranscode="1" deviceAuth="test1234" make="Silicondust" model="Antennas" modelNumber="HDTC-2US" source="1" sources="1" thumb="/:/resources/dvr/device-generic-560.png" tuners="6">
<Setting id="transcodeProfile" label="Transcoder Quality" default="heavy" summary="The quality of the transcoding used when recording. Selecting original format may result in very large files." type="text" value="heavy" hidden="0" advanced="0" group="" enumValues="none:Original format|heavy:Highest quality|mobile:High quality (30fps limit)|internet540:Medium quality (540p)|internet480:Medium quality (480p)|internet360:Low quality (360p)|internet240:Low quality (240p)" />
</Device>
</MediaContainer>

I don't know what to do. Everything seems fine for me :(

antennas not working

i have install antennas docker image

i run docker image and host connect
but antennas can't working

this error log

Antennas failed to connect to Tvheadend!
Check that:
- Tvheadend is running.
- Antennas is correctly pointing to Tvheadend, on the right port.
- That your username and login are correct.

Here's a dump of the error:
RequestError: Error: connect EINVAL 0.0.0.1:80 - Local (0.0.0.0:0)

i don't no what problem

answer me

thank you

Heads up

Hey, nice little project you got going here 😄

Just letting you know what I heard a while back (I wouldn't spend to much time emulating HDHR)

4.1 not tag latest in docker

Just a note, that latest tag on dockerhub does not point to 4.1, the actual latest version. This could cause confusion because some fixes are not found in the default version (for me it was the credential forward in the lineup URL), but also the # of tuners.

Duplicate Channel in TVHeadend

Hi, I have several channels that repeat the channel number as they are from different sources (IPTV, SAT and SAT>IP).
Plex only shows me one of them, is it because the channel number matches?
Is there a possibility to fix it?
image

image

Change docker execution command from `npx .` to `npx --yes .` to prevent prompts on new container creation?

When I create a new docker container based on the antennas image, I get the following prompt/output:

Need to install the following packages:
  file:

To get the container to run, I need to attach to the container and send a 'y' to finish the setup.

Changing the execution command from npx . to npx --yes . seems to stop the prompt being required on startup. Maybe this could be added to the Dockerfile to make setup a bit smoother?

Admin accounts and login screen

Before adding any advanced functionality to Antennas, it needs the ability to prevent unauthorized users from taking a peak at the settings and then tweaking them.

This means we need to have an admin user, and a login page.

Switch to digest auth for Tvheadend

Newer versions of Tvheadend use digest auth for requests. This breaks the way antennas is currently set up, and it needs to be upgraded for it to work.

Autostarting

Looking for help to run as a daemon on system boot.
Running on raspberry pi and would like to start up when the system starts

lineup_status.json: Exception: Unexpected char '<' at 1:1 (JSON::ParseException)

I can't add antennas to Plex DVR, I get this error:
bildschirmfoto 2018-01-03 um 16 11 57
And in the log of the docker container I get this:

8-01-03 16:02:07 +0100 200 GET /lineup_status.json 47.4µs
2018-01-03 16:02:07 +0100 200 GET /discover.json 53.4µs
2018-01-03 16:02:07 +0100 200 GET /lineup_status.json 40.7µs
2018-01-03 16:02:11 +0100 200 GET /discover.json 79.3µs
2018-01-03 16:02:11 +0100 200 GET /lineup_status.json 33.3µs
2018-01-03 16:02:11 +0100 200 GET /discover.json 47.8µs
2018-01-03 16:02:11 +0100 200 GET /lineup_status.json 37.1µs
Exception: Unexpected char '<' at 1:1 (JSON::ParseException)
0x4ec23e: ??? at ??
0x4f1dc9: ??? at ??
0x4f1da4: ??? at ??
0x4eaba3: ??? at ??
0x4ca7aa: ??? at ??
0x53bbd0: ??? at ??
0x52ed0b: ??? at ??
0x52d6b1: ??? at ??
0x5387ca: ??? at ??
0x5360fb: ??? at ??
0x53b0da: ??? at ??
0x5228bd: ??? at ??
0x4177d8: ??? at ??
0x0: ??? at ??

2018-01-03 16:02:12 +0100 500 GET /lineup.json 1.76ms
2018-01-03 16:03:12 +0100 404 POST /lineup.post?scan=start&source=Cable 102.3µs
2018-01-03 16:03:12 +0100 404 POST /lineup.post?scan=start&source=Cable 103.5µs
2018-01-03 16:03:13 +0100 404 POST /lineup.post?scan=start&source=Cable 68.7µs
2018-01-03 16:06:44 +0100 404 POST /lineup.post?scan=start&source=Cable 101.7µs
2018-01-03 16:06:44 +0100 404 POST /lineup.post?scan=start&source=Cable 116.0µs
2018-01-03 16:06:45 +0100 404 POST /lineup.post?scan=start&source=Cable 414.4µs
2018-01-03 16:06:45 +0100 404 POST /lineup.post?scan=start&source=Cable 65.4µs

Headend version: HTS Tvheadend 4.3-861~g715a4a844

Incorrect Number Of Tuners?

I have 2 physical tuners plumbed into tvheadend.
My antennas is configured with "TUNER_COUNT" = 2 but once antennas is added to plex i'm seeing 50 tuners which is a bit of a pain as i don't get recording schedule conflicts as my plex server thinks theres loads of tuners.
If i set the TUNER_COUNT to 1 then i get 49 tuners, if i set it to 3 i get 51 tuners.

wrong Tuner Count detected in Plex

TvHeadEnd runs on an Debian system
Installed antennas using the docker method.
Antennas Config setting shows "Tuner Count = 2" which is correct.
https://imgur.com/T1p0v6q

But plex thinks that I have 55 tuners!?
https://imgur.com/ky7JDiI

Tuning inside Plex fails with the error that the source is not available, TvHeadend does tune the channel though.

update
the docker is clearly out of date.
I now tried the npx route.
the number of tuners is correct and streaming works as well!

the Antennas documentation needs some work because it was not clear to me how to get Antennas running with npx (creation/location of config.yml) and how to auto-start it on boot (created a cron job for this now).

I figured it out eventually but the documentation makes the setup a lot harder than it has to be (if you are a noob like me).

Only one channel in Plex

I have many channel in tvheadend but when i add Antennas tuner in Plex it only see 1 channel.

Any idea what cause this??

Can't Add to Plex/Channel Count Undefined, other frustrations

Hi,

First, thanks for this. I have been trying to set up a new computer to act as HDhomerun with 4 tuners, but I keep running into the same problems. I tried tvhProxy first, but error messages weren't clear, and the project has been abandoned so I can't get support from the dev.

Here's the problem, and I think they have the same root cause (which I'm trying to find). Tvheadend is set up with a test antenna, and it has pulled in 8 channels (from 1 provider). Its assigned 25-1 through 8 channel numbers, and I can watch these channels through the tvheadend direct stream (not sure what to call them, I hit the watch button, it downloaded a file, and I opened it and my media player started playing back live TV). So I know I at least have my channels working.

With tvhProxy, when I went to add the tuner to plex, it complained that it couldn't get my channels. It also won't let me change the type of channels (Cable, Overair, Sattelite). Its stuck gray and cable is defaulted. I checked my login username and password and all that, as well as network origin settings in tvheadin, and all seems correct. With antennas (run through node), I get a little further, it doesn't complain about not getting channels, but I still can't select channel types, and when plex goes to scan channels it returns 0 channels.

In the Antennas landing page (localhost:5004) it says status is all systems go, but channel count is "undefined".

Checking the terminal output where I've run antennas shows these lines repeated:
<-- GET /device.xml
--> GET /device.xml 200 7ms 2.45kb
<-- GET /discover.json
--> GET /discover.json 200 2ms 392b
<-- GET /lineup_status.json
--> GET /lineup_status.json 200 1ms 77b
<-- GET /lineup.json

I thought I read somewhere that a 200 status response to these GET requests meant it couldn't access them, so that's why I was beating my head against USER/PASS options. But now I'm not so sure. I'm motivated to get this figured out this weekend, so any help you can provide would be awesome. Thanks in advance.

Autostart help

Trying to get antennas to work via autostart and have had no success.
I got it working by pm2 start index.js and web interface loaded and saw it in plex but it dies when adding the tuner and I need to reboot to get working again
It was a similar issue to when I ran as a daemon: node index.js >/dev/null 2>&1 &
I figured it was my ssh session dying and causing the grief
It is a new setup and I have tvheadend working to the best of my knowledge and have had some success it working.

RequestError: Error: ETIMEDOUT - cannot connect Antennas to Tvheadend

Hi all,

I am trying to setup Plex DVR using antennas & Tvheadend. I have managed to get Tvheadend to operate correctly, it will stream content from my USB tuner fine and I can access using the default port: on my local IP.

Antennas pointed to the correct port on the same box.

I am using Docker on a Synology Diskstation to run antennas and the Tvheadend is running locally. I have also used Tvheadend as a docker too where I can configure correctly but never seem to make the link between antenna and tvheadend. I have the same problem with any install of a TVHProxy, none appear to connect to Tvheadend. I am really not sure where i am going wrong.

On the Antennas status page, I am getting:
Status | Unable to find Tvheadend server, make sure the server is up and the configuration is pointing to the right spot
URL for Tvheadend | http://user:[email protected]:9981/
URL for Antennas | http://192.168.1.2:5004/
Tuner Count | 6

When I click the tvheadend url, it takes me to tvheadend. Not sure why antennas cannot connect...

And here is the logs from docker:

2018-06-17 06:26:44 | stdout | �[90m-->�[39m �[1mGET�[22m �[90m/antennas_config.json�[39m �[32m200�[39m �[90m1,586ms�[39m �[90m343b�[39m
-- | -- | --
2018-06-17 06:26:44 | stdout | RequestError: Error: ETIMEDOUT
2018-06-17 06:26:44 | stdout | Here's a dump of the error:
2018-06-17 06:26:44 | stdout |  
2018-06-17 06:26:44 | stdout | - That your username and login are correct.
2018-06-17 06:26:44 | stdout | - Antennas is correctly pointing to Tvheadend, on the right port.
2018-06-17 06:26:44 | stdout | - Tvheadend is running.
2018-06-17 06:26:44 | stdout | Check that:
2018-06-17 06:26:44 | stdout | Antennas failed to connect to Tvheadend!
2018-06-17 06:26:44 | stdout |  
2018-06-17 06:26:42 | stdout | �[90m-->�[39m �[1mGET�[22m �[90m/images/Antennas-Logo.svg�[39m �[32m200�[39m �[90m36ms�[39m �[90m3.78kb�[39m
2018-06-17 06:26:42 | stdout | �[90m-->�[39m �[1mGET�[22m �[90m/js/index.js�[39m �[32m200�[39m �[90m37ms�[39m �[90m837b�[39m
2018-06-17 06:26:42 | stdout | �[90m-->�[39m �[1mGET�[22m �[90m/css/index.css�[39m �[32m200�[39m �[90m37ms�[39m �[90m584b�[39m
2018-06-17 06:26:42 | stdout | �[90m-->�[39m �[1mGET�[22m �[90m/css/style.css�[39m �[32m200�[39m �[90m39ms�[39m �[90m249b�[39m
2018-06-17 06:26:42 | stdout | �[90m<--�[39m �[1mGET�[22m �[90m/images/Antennas-Logo.svg�[39m
2018-06-17 06:26:42 | stdout | �[90m<--�[39m �[1mGET�[22m �[90m/js/index.js�[39m
2018-06-17 06:26:42 | stdout | �[90m<--�[39m �[1mGET�[22m �[90m/css/index.css�[39m
2018-06-17 06:26:42 | stdout | �[90m<--�[39m �[1mGET�[22m �[90m/css/style.css�[39m
2018-06-17 06:26:42 | stdout | �[90m-->�[39m �[1mGET�[22m �[90m/�[39m �[32m200�[39m �[90m102ms�[39m �[90m2.97kb�[39m
2018-06-17 06:26:42 | stdout | �[90m<--�[39m �[1mGET�[22m �[90m/antennas_config.json�[39m
2018-06-17 06:26:42 | stdout | �[90m<--�[39m �[1mGET�[22m �[90m/�[39m


Cannot tune channel in plex

I'm able to install and link to tvheadend without any issue. All my channels show up but it won't actually play any of them

compiler error

I can not compile a lockal compile

root@DESKTOP-RRP2TLA:/home/hts/antennas/antennas# crystal build ./src/antennas.cr
Error in src/antennas.cr:132: instantiating 'Kemal:Module#run(Int32)'

Kemal.run(5004)
^~~

in lib/kemal/src/kemal.cr:12: instantiating 'Kemal:Module#run(Int32)'

self.run port do
     ^~~

in lib/kemal/src/kemal.cr:55: instantiating 'send_file(HTTP::Server::Context, String)'

      send_file env, file_path
      ^~~~~~~~~

in lib/kemal/src/kemal/helpers/helpers.cr:109: instantiating 'File:Class#open(String)'

File.open(file_path) do |file|
^~~~

in lib/kemal/src/kemal/helpers/helpers.cr:109: instantiating 'File:Class#open(String)'

File.open(file_path) do |file|
^~~~

in lib/kemal/src/kemal/helpers/helpers.cr:120: 'Flate::Writer.new' is not expected to be invoked with a block, but a block was given

  Flate::Writer.new(env.response) do |deflate|
                ^~~

root@DESKTOP-RRP2TLA:/home/hts/antennas/antennas#

antennas binary won't run

I downloaded and extracted the linux-x64 binary (3.1.0), and edited config.yml with my settings.
antennas fails to run with:
-bash: ./antennas: cannot execute binary file: Exec format error

I tried as sudo and got:
./antennas: 1: ./antennas: Syntax error: "(" unexpected

Running on Ubuntu 18.04.2 LTS

My config.yml:
tvheadend_url: http://:@:9981
antennas_url: http://:5004
tuner_count: 6 # numbers of tuners in tvheadend
device_uuid: 2f70c0d7-90a3-4429-8275-cbeeee9cd605

TVHeadend is on the same server and running fine.
Plex is running as a warden jail plugin on FreeNAS 11.1U7 and also runs fine.

I just need an easy way to use the PlexPass DVR to get IPTV from TVHeadend.

Thanks,
Steve

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.