[Support] Linuxserver.io - TVHeadend


Recommended Posts

Got this working with my HDHR Prime. Works great! Took me a lot of google searching to figure out how to set it up with this tuner though. Canceled my Channels DVR subscription because im all set with this. Also was able to eliminate MCEBuddy from my setup as TVH does a great job with commercial skipping. Watching the recordings through Kodi and it skips right over the channel breaks!!

 

 

 

Edited by DazedAndConfused
Link to comment
8 hours ago, DazedAndConfused said:

Got this working with my HDHR Prime. Works great! Took me a lot of google searching to figure out how to set it up with this tuner though. Canceled my Channels DVR subscription because im all set with this. Also was able to eliminate MCEBuddy from my setup as TVH does a great job with commercial skipping. Watching the recordings through Kodi and it skips right over the channel breaks!!

 

 

 

 

You sorted your picons issue I assume? 

Link to comment
7 hours ago, saarg said:

 

You sorted your picons issue I assume?

I actually went to the Picons team Gitlab to ask about it. I linked some of the missing logos....then they also told me that the LS.io docker is still linking to Picons.xyz which is outdated. I delete that part of my comment because I figured they could help me get the icons added (which they are willing to do)

 

Heres the link for more info about the docker sourcing the wrong place.

 

https://gitlab.com/picons/picons/issues/41

Edited by DazedAndConfused
Link to comment
1 hour ago, DazedAndConfused said:

I actually went to the Picons team Gitlab to ask about it. I linked some of the missing logos....then they also told me that the LS.io docker is still linking to Picons.xyz which is outdated. I delete that part of my comment because I figured they could help me get the icons added (which they are willing to do)

 

Heres the link for more info about the docker sourcing the wrong place.

 

https://gitlab.com/picons/picons/issues/41

 

As long as the picons builder doesn't fail on build, we can't know that they moved or what they have done. We have too many containers to check things manually. 

I'll look at it next weekend. 

  • Upvote 1
Link to comment

hi, may someone uses a post processing script here and could give me a sample ?

 

nvm what i try i get no results from the script.

 

sample

 

my call in post

 

/config/scripts/move.sh "%f"

 

my script has this entry as simple ... copy and truncate, even cp only doesnt work ;)

 

#!/bin/sh
/bin/cp "$1" /Temp
/usr/bin/truncate -s 0 "$1"

 

i get no erros or no logs, even when i add echo "Test" ... so, im a bit stuck now,

all i see is 2018-10-04 13:21:07.190 spawn: Executing "/config/scripts/move.sh"

 

script is set chmod 777, so should be fine.

 

may someone has a sample to see what im doing wrong ?

Link to comment

Where is the script located? Can the docker see that location?

 

For reference, I launch my post processing script with:

 

/recordings/cleanup.sh "%f" "%b"

 

When I was testing mine out I added a simple "touch test.txt" to my script just to confirm it was actually processing. You may need add a path to the touch command depending on what you're trying.

Edited by allanp81
Link to comment

yes, /config should be accessible ;) but i tryed now /recordings/, even copied the move.sh into the docker /recordings/ , same results ...

 

also with a oneliner "touch 123" and "/bin/touch 123", nothing happening ;)

 

u use #!/bin/sh in 1st line of script or ... ?

 

im using TVHeadend 4.3 HTS Tvheadend 4.3-1391~g852a10a34

 

thanks ahead

Link to comment

If you enter the docker via the console, can you confirm that the script is visible and that you can execute it?

 

It sounds like you're using a pre-release as I think 4.2.x are the stable releases. I had issues with 4.3 and had to revert back to stable. What release is your docker configured for?

 

Yes, I use the #!/bin/bash shebang thingy at the start of my script.

Edited by allanp81
Link to comment
19 minutes ago, alturismo said:

yes, /config should be accessible ;) but i tryed now /recordings/, even copied the move.sh into the docker /recordings/ , same results ...

 

also with a oneliner "touch 123" and "/bin/touch 123", nothing happening ;)

 

u use #!/bin/sh in 1st line of script or ... ?

 

im using TVHeadend 4.3 HTS Tvheadend 4.3-1391~g852a10a34

 

thanks ahead

Try #!/bin/bash

Link to comment

Got all my picons created thanks to the Picon team. They were very helpful and I learned a lot about the work that goes into making the picons. 

 

 

They made some commits to their project that have not been reflected in the LS.IO docker, can someone pull those changes from their get into the LS.IO docker so that I can see the new picons they added? Ive done a force update on the docker several times, no dice.

Link to comment
7 hours ago, DazedAndConfused said:

Got all my picons created thanks to the Picon team. They were very helpful and I learned a lot about the work that goes into making the picons. 

 

 

They made some commits to their project that have not been reflected in the LS.IO docker, can someone pull those changes from their get into the LS.IO docker so that I can see the new picons they added? Ive done a force update on the docker several times, no dice.

 

It's updated once a week. I haven't checked if we need to change the build or not. Maybe @sparklyballs have.

I haven't had time to do much linuxserver work lately as my day job takes too much time. 

Link to comment
On 10/7/2018 at 7:48 AM, saarg said:

 

It's updated once a week. I haven't checked if we need to change the build or not. Maybe @sparklyballs have.

I haven't had time to do much linuxserver work lately as my day job takes too much time.

I understand! No big rush. I just figured I'd ask :)

 

 

*EDIT* Picons have all been updated! If anyone needs help requesting new channel icons from the Picons team, let me know and I can help you get the info they want you submit in order to request things. Or, you can read through my support ticket and see what  they were saying to help me understand their process.

Edited by DazedAndConfused
Link to comment
  • 1 month later...

Is anyone using the sqlite SchedulesDirect grabber?

Linux 4.14.49-unRAID.
Last login: Mon Nov  5 07:26:05 -0500 2018 on /dev/pts/3.
root@Tower:~# docker exec -it -u abc tvheadend /usr/bin/tv_grab_zz_sdjson_sqlite --configure
Can't locate LWP/UserAgent/Determined.pm in @INC (you may need to install the LWP::UserAgent::Determined module) (@INC contains: /usr/local/lib/perl5/site_perl /usr/local/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl) at /usr/bin/tv_grab_zz_sdjson_sqlite line 4927.
BEGIN failed--compilation aborted at /usr/bin/tv_grab_zz_sdjson_sqlite line 4927.

Maybe the docker image doesn't have the perl bits in it?

 

Thanks for all the ls-io dockers!

Link to comment
1 minute ago, live4ever said:

Is anyone using the sqlite SchedulesDirect grabber?


Linux 4.14.49-unRAID.
Last login: Mon Nov  5 07:26:05 -0500 2018 on /dev/pts/3.
root@Tower:~# docker exec -it -u abc tvheadend /usr/bin/tv_grab_zz_sdjson_sqlite --configure
Can't locate LWP/UserAgent/Determined.pm in @INC (you may need to install the LWP::UserAgent::Determined module) (@INC contains: /usr/local/lib/perl5/site_perl /usr/local/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl) at /usr/bin/tv_grab_zz_sdjson_sqlite line 4927.
BEGIN failed--compilation aborted at /usr/bin/tv_grab_zz_sdjson_sqlite line 4927.

Maybe the docker image doesn't have the perl bits in it?

 

Thanks for all the ls-io dockers!

 

I'll check the build log if it complains about it and add if necessary. 

Link to comment

Hi guys,

 

I am having trouble setting up a NGINX reverse proxy for TVHeadEnd.

 

I followed some instructions back on P33.

 

It seems that when I create the variables with unraid, it is not producing the correct command line:

I have attached some images that highlight the issue.

 

I have read on this page that there needs to be an equals sign between the http_root and value for the root.

https://github.com/tvheadend/tvheadend/blob/master/docs/markdown/faqs.md#q-access-tvheadend-through-http-proxy

 

--name='tvheadend' --net='bridge' -e TZ="Australia/Sydney" -e HOST_OS="unRAID" -e 'PGID'='100' -e 'PUID'='99' -e '--http_root '='/pvr' -p '9981:9981/tcp'

 

Any ideas what I am doing wrong?

 

tvh_opt-eq.JPG

thv_runopts.JPG

Link to comment
8 hours ago, kortina said:

Hi guys,

 

I am having trouble setting up a NGINX reverse proxy for TVHeadEnd.

 

I followed some instructions back on P33.

 

It seems that when I create the variables with unraid, it is not producing the correct command line:

I have attached some images that highlight the issue.

 

I have read on this page that there needs to be an equals sign between the http_root and value for the root.

https://github.com/tvheadend/tvheadend/blob/master/docs/markdown/faqs.md#q-access-tvheadend-through-http-proxy

 

--name='tvheadend' --net='bridge' -e TZ="Australia/Sydney" -e HOST_OS="unRAID" -e 'PGID'='100' -e 'PUID'='99' -e '--http_root '='/pvr' -p '9981:9981/tcp'

 

Any ideas what I am doing wrong?

 

tvh_opt-eq.JPG

thv_runopts.JPG

You set it up wrong. The name is, just a name. The key is RUN_OPTS and value is --http_root=/pvr

Link to comment
20 hours ago, saarg said:

You set it up wrong. The name is, just a name. The key is RUN_OPTS and value is --http_root=/pvr

 

Thanks for the pointer.

 

To complete the story, this config is working November 2018 -  Unraid 6.5.3, TVHeadEnd 4.3-1517~g7fc6cba4d, NGINX

Config Type: Variable

Name: RUN_OPTS

Key: RUN_OPTS

Value: --http_root /pvr

**note that there is NO equals sign in the value

 

NGINX:

 

    location /pvr {
        proxy_pass http://192.168.0.88:9981;
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";
    }

 

(Assuming that your unraid - tvheadend docker has the ip of 192.168.0.88)

tvh_opt_working.JPG

Link to comment
  • 3 weeks later...

Hello I have a little question. Does the container have the latest ffmpeg version? It seems that I have some trouble transcoding some .ts services with the docker container. It gives me an error like this "[h264 => libx264]: filters: failed to create 'in' filter" but only on some channels. Would it be possible to compile it with the latest ffmpeg version if it isn't yet?

 

Thanks in advance.

Link to comment
3 hours ago, xses said:

Hello I have a little question. Does the container have the latest ffmpeg version? It seems that I have some trouble transcoding some .ts services with the docker container. It gives me an error like this "[h264 => libx264]: filters: failed to create 'in' filter" but only on some channels. Would it be possible to compile it with the latest ffmpeg version if it isn't yet?

 

Thanks in advance.

 

It's using the available ffmpeg from alpine Linux, so it's not anything we compile.

Are you using the latest version of the container or the stable one? 

If you are using the latest it might also be a bug in TVheadend, so check their page for open issues. 

Edited by saarg
Link to comment

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.