[Support] Linuxserver.io - TVHeadend


1209 posts in this topic Last Reply

Recommended Posts

2 minutes ago, DZMM said:

When I installed my docker I chose 'Default' which is described as 'Install Using The Template's Default Tag :latest'.  I went with default as it seemed safer.

 

From what you've said, this should be 4.2.x but I've got 4.3.x - so something's not right in the description.

 

I'll do a fresh install now using 'release-4.2' not 'Default'

 

A missing comma there. Makes more sense now :)

Link to post
  • Replies 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

Application Name: TVHeadend Application Site: https://tvheadend.org/ Docker Hub: https://hub.docker.com/r/linuxserver/tvheadend/ Github: https://github.com/linuxserver/docker-tvheadend

You need to install the driver to use your adapter. Then use /dev/dvb as the path for the device pass through. If you are using 6.9.x I don't know if the permissions are set correctly, so make sure no

You need to configure the grabber you want to use, then run it, then map epg source to the channel. There is a link in the first post to the readme on github which has information about configuring yo

Posted Images

I am trying to get TVHeadend to work with a couple of other dockers. 

 

There is supposed to be an ability to access "EPG Grabber Modules" as follows: 

 

Configuration -> Channel / EPG -> EPG Grabber Modules

 

I just see "EPG Grabber" (not "EPG Grabber Modules"). Is this the same thing? I have tried basic and expert settings. 

 

If I was installing this not though a docker, I would do:

 

"apt-get install xmltv-util"

 

Is this built into this docker? 

 

Thanks!

Link to post
7 minutes ago, TexasDave said:

 

When I run TVHeadend on Linux, I see "EPG Grabber Modules" - see attached screenshot.

 

Can I confirm I should be seeing this in the docker? Thanks!!

 

What like this? ;)

 

5a9c41170430b_Screenshotfrom2018-03-0418-54-59.png.d484a7c24f89bc99a1d4f0493e0e1a4e.png

 

 

Configuration: General: Base: Default View Level: Expert

 

Link to post
26 minutes ago, TexasDave said:

 

I have tried clearing cache and even installed FireFox and Opera (from scratch) but still do not see that tab....

 

Not an emergency by any stretch of the imagination.... :-)

 

 

 

 

Clipboard02.jpg

 

 

Change the View level in the General tab, and you will see the light...

Link to post
22 minutes ago, saarg said:

 

I know, but looks like he didn't see that...

I'm thinking he might not run our container if he set it in the general tab.

 

I setup tvheadend again this weekend and I think the EPG grabber modules link doesn't show up until they are activated:

 

https://www.linuxserver.io/2017/02/19/how-to-set-up-tvheadend-with-your-dvb-t2-receiver/

Quote

 

Enabling an Internal EPG module

Each internal module requires configuration as they will be using different sources - you need to define which channels to get data for. Before enabling an internal module, first click on it and make note of the Path: as you'll need it to run the following command:


docker exec -it -u abc tvheadend /usr/bin/tv_grab_uk_tvguide --configure

The above will run the configuration steps for "Internal: XMLTV: UK - TV Guide (tvguide.co.uk)". Once this step has been completed, you can tick the Enabled box and Save. Do this for as many modules as you want.

 

 

Link to post
3 minutes ago, saarg said:

 

Not true. They are there even without configuring them through the command line.

 

Yeah, I'll be one of the first prepared to use the command line, but I've never done so with TVH..... 

Link to post
8 minutes ago, saarg said:

 

Not true. They are there even without configuring them through the command line.

something makes the option appear though as it wasn't there initially for me either

Link to post
1 minute ago, TexasDave said:

@CHBMB - Thanks! I hope all is well for you? Been awhile....

 

@saarg - Many thanks as well. 

 

Both - I have "seen the light" and it is now sorted. I misunderstood what you were trying to say. A bit slower as I get older...Thanks again!

 

 

 

Glad you found it :)

Link to post
On 3/3/2018 at 9:30 AM, saarg said:

 

@DZMM Have been away for work the whole week and haven't had time to answer, but I agree with @CHBMB that it has nothing to do with unraid. Try using the release-4.2 branch as the latest tag gives you the development branch with heavy development at this time. Stuff will break.

 

Could you give me the output of the below commands. 

 


ls -la /dev/dvb

 


docker exec -it tvheadend ls -la /dev/dvb

 

Ok, I rolled back to 6.4.1 and went for 4.2.5 to try and avoid future problems.

 

I just upgraded from 6.4.1-->6.5rc5 and the tuners have gone again:

 

root@Highlander:~# docker exec -it tvheadend ls -la /dev/dvb
total 0
drwxr-xr-x 6 root root 120 Mar  6 11:14 .
drwxr-xr-x 6 root root 360 Mar  6 11:14 ..
drwxr-xr-x 2 root root 120 Mar  6 11:14 adapter0
drwxr-xr-x 2 root root 120 Mar  6 11:14 adapter1
drwxr-xr-x 2 root root 120 Mar  6 11:14 adapter2
drwxr-xr-x 2 root root 120 Mar  6 11:14 adapter3

I'll hold off rolling back to 6.4.1 for a bit to see if there's a solution

Link to post
7 minutes ago, DZMM said:

Ok, I rolled back to 6.4.1 and went for 4.2.5 to try and avoid future problems.

 

I just upgraded from 6.4.1-->6.5rc5 and the tuners have gone again:

 


root@Highlander:~# docker exec -it tvheadend ls -la /dev/dvb
total 0
drwxr-xr-x 6 root root 120 Mar  6 11:14 .
drwxr-xr-x 6 root root 360 Mar  6 11:14 ..
drwxr-xr-x 2 root root 120 Mar  6 11:14 adapter0
drwxr-xr-x 2 root root 120 Mar  6 11:14 adapter1
drwxr-xr-x 2 root root 120 Mar  6 11:14 adapter2
drwxr-xr-x 2 root root 120 Mar  6 11:14 adapter3

I'll hold off rolling back to 6.4.1 for a bit to see if there's a solution

 

The tuners are there.

Link to post
6 minutes ago, CHBMB said:

 

The tuners are there.

 

6 minutes ago, CHBMB said:

 

The tuners are there.

 

they are not appearing in the interface - same problem I had with RC1 when I was on 4.3.x,  so I rolled back to 4.2.5x based on the feedback and still no tuners after going to rc5

screenshot.5.jpg.02593e5efb1cf9a7328981ae733e9b47.jpg

Edited by DZMM
Link to post
Just now, DZMM said:

 

screenshot.4.jpg.02e7bb1f761847ec5e964189fb2d8774.jpgthey are not appearing in the interface - same problem I had with RC1 when I was on 4.3.x,  so I rolled back to 4.2.5x based on the feedback and still no tuners after going to rc5

 

PM sent

Link to post
15 minutes ago, DZMM said:

 

 

they are not appearing in the interface - same problem I had with RC1 when I was on 4.3.x,  so I rolled back to 4.2.5x based on the feedback and still no tuners after going to rc5

screenshot.5.jpg.02593e5efb1cf9a7328981ae733e9b47.jpg

 

So you haven't seen my post in the DVB plugin thread? 

Do a chmod -R 777 /dev/dvb and the tuners should show. Put it in your go file so it gets applied at every boot. 

Link to post

Hi,

 

I'm trying to setup the following wakeup script (under point 4) with the user script plugin.

 

https://tvheadend.org/projects/tvheadend/wiki/Wakeup

 

I modified the path within the script to point to my tvheadend dvr location in appdata but unfortunately when testing the script I get:

/tmp/user.scripts/tmpScripts/Wakeup for recordings/script: line 25: 1520374200
1520374500: syntax error in expression (error token is "1520374500")

When I check with 'cat /sys/class/rtc/rtc0/wakealarm' afterwards there is a timestamp present but its completely wrong.

 

What am I doing wrong here?

 

 

 

Another thing:

 

As I just set this container up.. my log is full of those entries:

2018-03-11 01:54:09.408 [ ERROR] http: 192.168.121.19: HTTP/1.1 GET /imagecache/95 -- 404

2018-03-11 01:46:14.307 [ ERROR] http: 192.168.121.10: HTTP/1.1 GET /stream/channelid -- 503

It seems to be some kind of permission thing?  How can I solve this?

Edited by Marv
Link to post

I think I got things setup however when I go to stream the video to my PC I don't get a picture.  I am getting audio sometimes.  

 

Here is the log at the bottom.

 

 
2018-03-13 17:28:13.928 mpegts: 641.028MHz in OTA TV - tuning on HDHomeRun ATSC-T Tuner #0 (192.168.1.92)
2018-03-13 17:28:13.928 tvhdhomerun: tuning to auto:641028615
2018-03-13 17:28:13.939 subscription: 0002: "HTTP" subscribing on channel "WNDU-", weight: 100, adapter: "HDHomeRun ATSC-T Tuner #0 (192.168.1.92)", network: "OTA TV", mux: "641.028MHz", service: "WNDU-HD", profile="pass", hostname="192.168.1.192", username="mgranger", client="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36"
2018-03-13 17:28:14.544 subscription: 0002: "HTTP" unsubscribing from "WNDU-", hostname="192.168.1.192", username="mgranger", client="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36"
2018-03-13 17:28:18.749 mpegts: 641.028MHz in OTA TV - tuning on HDHomeRun ATSC-T Tuner #0 (192.168.1.92)
2018-03-13 17:28:18.749 tvhdhomerun: tuning to auto:641028615
2018-03-13 17:28:18.750 subscription: 0004: "HTTP" subscribing on channel "Antenna", weight: 100, adapter: "HDHomeRun ATSC-T Tuner #0 (192.168.1.92)", network: "OTA TV", mux: "641.028MHz", service: "Antenna", profile="pass", hostname="192.168.1.192", username="mgranger", client="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36"
2018-03-13 17:28:21.583 subscription: 0004: "HTTP" unsubscribing from "Antenna", hostname="192.168.1.192", username="mgranger", client="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36"
2018-03-13 17:29:50.037 mpegts: 641.028MHz in OTA TV - tuning on HDHomeRun ATSC-T Tuner #0 (192.168.1.92)
2018-03-13 17:29:50.037 tvhdhomerun: tuning to auto:641028615
2018-03-13 17:29:50.038 subscription: 0006: "HTTP" subscribing on channel "WNDU-", weight: 100, adapter: "HDHomeRun ATSC-T Tuner #0 (192.168.1.92)", network: "OTA TV", mux: "641.028MHz", service: "WNDU-HD", profile="webtv-h264-aac-matroska", hostname="192.168.1.192", username="mgranger", client="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36"
2018-03-13 17:29:50.373 transcode: 0001: 01:MPEG2VIDEO: ==> Using profile webtv-h264
2018-03-13 17:29:50.373 transcode: 0001: 02:AC3: ==> Using profile webtv-aac
2018-03-13 17:29:50.373 transcode: 0001: 03:AC3: ==> Filtered out
2018-03-13 17:29:50.695 libav: AVCodecContext: Error setting profile 0.
2018-03-13 17:29:50.695 libav: AVCodecContext: Possible profiles:
2018-03-13 17:29:50.695 libav: AVCodecContext:  baseline
2018-03-13 17:29:50.695 libav: AVCodecContext:  main
2018-03-13 17:29:50.695 libav: AVCodecContext:  high
2018-03-13 17:29:50.695 libav: AVCodecContext:  high10
2018-03-13 17:29:50.695 libav: AVCodecContext:  high422
2018-03-13 17:29:50.695 libav: AVCodecContext:  high444
2018-03-13 17:29:50.695 libav: AVCodecContext: 
2018-03-13 17:29:52.161 subscription: 0007: "HTTP" subscribing on channel "WNDU-", weight: 100, adapter: "HDHomeRun ATSC-T Tuner #0 (192.168.1.92)", network: "OTA TV", mux: "641.028MHz", service: "WNDU-HD", profile="pass", hostname="192.168.1.192", username="mgranger", client="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36"
2018-03-13 17:29:52.795 subscription: 0007: "HTTP" unsubscribing from "WNDU-", hostname="192.168.1.192", username="mgranger", client="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36"
2018-03-13 17:29:53.139 subscription: 0006: "HTTP" unsubscribing from "WNDU-", hostname="192.168.1.192", username="mgranger", client="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36"
2018-03-13 17:29:53.140 libav: AVCodecContext: Qavg: 118.000
2018-03-13 17:29:53.140 libav: AVCodecContext: 2 frames left in the queue on closing
 
Link to post
6 minutes ago, mgranger said:

I think I got things setup however when I go to stream the video to my PC I don't get a picture.  I am getting audio sometimes.  

 

Here is the log at the bottom.

 



 

2018-03-13 17:28:13.928 mpegts: 641.028MHz in OTA TV - tuning on HDHomeRun ATSC-T Tuner #0 (192.168.1.92)
2018-03-13 17:28:13.928 tvhdhomerun: tuning to auto:641028615
2018-03-13 17:28:13.939 subscription: 0002: "HTTP" subscribing on channel "WNDU-", weight: 100, adapter: "HDHomeRun ATSC-T Tuner #0 (192.168.1.92)", network: "OTA TV", mux: "641.028MHz", service: "WNDU-HD", profile="pass", hostname="192.168.1.192", username="mgranger", client="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36"
2018-03-13 17:28:14.544 subscription: 0002: "HTTP" unsubscribing from "WNDU-", hostname="192.168.1.192", username="mgranger", client="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36"
2018-03-13 17:28:18.749 mpegts: 641.028MHz in OTA TV - tuning on HDHomeRun ATSC-T Tuner #0 (192.168.1.92)
2018-03-13 17:28:18.749 tvhdhomerun: tuning to auto:641028615
2018-03-13 17:28:18.750 subscription: 0004: "HTTP" subscribing on channel "Antenna", weight: 100, adapter: "HDHomeRun ATSC-T Tuner #0 (192.168.1.92)", network: "OTA TV", mux: "641.028MHz", service: "Antenna", profile="pass", hostname="192.168.1.192", username="mgranger", client="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36"
2018-03-13 17:28:21.583 subscription: 0004: "HTTP" unsubscribing from "Antenna", hostname="192.168.1.192", username="mgranger", client="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36"
2018-03-13 17:29:50.037 mpegts: 641.028MHz in OTA TV - tuning on HDHomeRun ATSC-T Tuner #0 (192.168.1.92)
2018-03-13 17:29:50.037 tvhdhomerun: tuning to auto:641028615
2018-03-13 17:29:50.038 subscription: 0006: "HTTP" subscribing on channel "WNDU-", weight: 100, adapter: "HDHomeRun ATSC-T Tuner #0 (192.168.1.92)", network: "OTA TV", mux: "641.028MHz", service: "WNDU-HD", profile="webtv-h264-aac-matroska", hostname="192.168.1.192", username="mgranger", client="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36"
2018-03-13 17:29:50.373 transcode: 0001: 01:MPEG2VIDEO: ==> Using profile webtv-h264
2018-03-13 17:29:50.373 transcode: 0001: 02:AC3: ==> Using profile webtv-aac
2018-03-13 17:29:50.373 transcode: 0001: 03:AC3: ==> Filtered out
2018-03-13 17:29:50.695 libav: AVCodecContext: Error setting profile 0.
2018-03-13 17:29:50.695 libav: AVCodecContext: Possible profiles:
2018-03-13 17:29:50.695 libav: AVCodecContext:  baseline
2018-03-13 17:29:50.695 libav: AVCodecContext:  main
2018-03-13 17:29:50.695 libav: AVCodecContext:  high
2018-03-13 17:29:50.695 libav: AVCodecContext:  high10
2018-03-13 17:29:50.695 libav: AVCodecContext:  high422
2018-03-13 17:29:50.695 libav: AVCodecContext:  high444
2018-03-13 17:29:50.695 libav: AVCodecContext: 
2018-03-13 17:29:52.161 subscription: 0007: "HTTP" subscribing on channel "WNDU-", weight: 100, adapter: "HDHomeRun ATSC-T Tuner #0 (192.168.1.92)", network: "OTA TV", mux: "641.028MHz", service: "WNDU-HD", profile="pass", hostname="192.168.1.192", username="mgranger", client="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36"
2018-03-13 17:29:52.795 subscription: 0007: "HTTP" unsubscribing from "WNDU-", hostname="192.168.1.192", username="mgranger", client="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36"
2018-03-13 17:29:53.139 subscription: 0006: "HTTP" unsubscribing from "WNDU-", hostname="192.168.1.192", username="mgranger", client="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36"
2018-03-13 17:29:53.140 libav: AVCodecContext: Qavg: 118.000
2018-03-13 17:29:53.140 libav: AVCodecContext: 2 frames left in the queue on closing


 

 

Go set the profile tvheadend complains about in the stream profile. 

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.