[Support] Linuxserver.io - TVHeadend


Recommended Posts

14 minutes ago, Maggi0r said:

If I don't install the driver.
If the DVB stick is not found in the TVH plugin.
I also have to have installed the DVB plugin otherwise the DVB driver is not recognized by the TVH plugin.


root@2e48b5c5004d:/# ls -al /dev/dvb
total 0
drwxr-xr-x 3 root root  60 Jun  3 11:36 .
drwxr-xr-x 6 root root 360 Jun  3 11:36 ..
drwxr-xr-x 2 root root 100 Jun  3 11:36 adapter0
root@2e48b5c5004d:/# 

These are the authorizations when I reinstall the TVH Docker.

 

Regards Maggi

Then you have not changed the permissions on the adapter correctly in unraid. It should say abc:abc as user.

Link to comment
6 minutes ago, Maggi0r said:

Ok so that means I have to chown -R abc: abc / dev / dvb or chown -R nobody: users / dev / dvb.

If I run chown -R abc: abc / dev / dvb on unraid, I get chown: invalid user: 'abc: abc'.

 

Regards Maggi

You use the command I already supplied in a previous post.

The abc user is only in the container.

Also do chmod -R 777 /dev/dvb

 

You should not have any space in the command either. Use exactly what I have posted.

Edited by saarg
Link to comment

So I think I'm kind of too stupid for that.

Here again what I did now.

 

on the unraid servver
chown -R nobody: users /dev/dvb
chmod -R 777 /dev/dvb

This is how it looks now. On the unraid.
root @ Tower: / dev / dvb # ls -al /dev/dvb
totally 0
drwxrwxrwx 3 nobody users 60 Jun 3 11:10 ./
drwxr-xr-x 17 root root 3320 Jun 3 12:07 ../
drwxrwxrwx 2 nobody users 100 Jun 3 11:10 adapter0 /
root @ tower: / dev / dvb #

 

on the TVHDocker
chown -R abc: abc /dev/dvb
chmod -R 777 /dev/dvb

 

After restarting the container, the rights are set to root again.

But unfortunately it doesn't help the adapter is found.

Regards Maggi

Link to comment
6 minutes ago, Maggi0r said:

So I think I'm kind of too stupid for that.

Here again what I did now.

 

on the unraid servver
chown -R nobody: users /dev/dvb
chmod -R 777 /dev/dvb

This is how it looks now. On the unraid.
root @ Tower: / dev / dvb # ls -al /dev/dvb
totally 0
drwxrwxrwx 3 nobody users 60 Jun 3 11:10 ./
drwxr-xr-x 17 root root 3320 Jun 3 12:07 ../
drwxrwxrwx 2 nobody users 100 Jun 3 11:10 adapter0 /
root @ tower: / dev / dvb #

 

on the TVHDocker
chown -R abc: abc /dev/dvb
chmod -R 777 /dev/dvb

 

After restarting the container, the rights are set to root again.

But unfortunately it doesn't help the adapter is found.

Regards Maggi

You don't do anything in the tvheadend container.

Also, have the container stopped when you do permission change on unraid. Then start the container and show me the permissions of /dev/dvb inside the container.

Link to comment

I have now done it as you said.
Before that I stopped the container.

on unraid
chown -R nobody: users /dev/dvb
chmod -R 777 /dev/dvb

These are the rights on the container.
root @ 2e48b5c5004d: / dev / dvb # ls -al /dev/dvb
totally 0
drwxr-xr-x 3 root root 60 Jun 3 12:49.
drwxr-xr-x 6 root root 360 Jun 3 12:49 ..
drwxr-xr-x 2 root root 100 Jun 3 12:49 adapter0
ls -al /dev/dvb/adapter0
totally 0
drwxr-xr-x 2 root root 100 Jun 3 12:49.
drwxr-xr-x 3 root root 60 Jun 3 12:49 ..
crwxrwxrwx 1 abc abc 212, 1 Jun 3 12:49 demux0
crwxrwxrwx 1 abc abc 212, 2 Jun 3 12:49 dvr0
crwxrwxrwx 1 abc abc 212, 0 Jun 3 12:49 frontend0

 

However, I still get the error in the LOG.

Regards Maggi

Link to comment
1 hour ago, Maggi0r said:

I have now done it as you said.
Before that I stopped the container.

on unraid
chown -R nobody: users /dev/dvb
chmod -R 777 /dev/dvb

These are the rights on the container.
root @ 2e48b5c5004d: / dev / dvb # ls -al /dev/dvb
totally 0
drwxr-xr-x 3 root root 60 Jun 3 12:49.
drwxr-xr-x 6 root root 360 Jun 3 12:49 ..
drwxr-xr-x 2 root root 100 Jun 3 12:49 adapter0
ls -al /dev/dvb/adapter0
totally 0
drwxr-xr-x 2 root root 100 Jun 3 12:49.
drwxr-xr-x 3 root root 60 Jun 3 12:49 ..
crwxrwxrwx 1 abc abc 212, 1 Jun 3 12:49 demux0
crwxrwxrwx 1 abc abc 212, 2 Jun 3 12:49 dvr0
crwxrwxrwx 1 abc abc 212, 0 Jun 3 12:49 frontend0

 

However, I still get the error in the LOG.

Regards Maggi

Then I do not know what is happening. Permissions should be correct now.

Link to comment

Yes, I think so too. I don't know why he still complains that he can't open it. Although all rights now fit.

As I said what surprised me is that the TVH plugin works.
I suspect it's somehow related to the transfer of rights or something.

Because the plugin seems to access the / dev / dvb folder directly.

 

As I said, the DVBUnraid plugin finds everything except the adapter itself.

 

Regards Maggi

Edited by Maggi0r
Link to comment
2 hours ago, Maggi0r said:

Yes, I think so too. I don't know why he still complains that he can't open it. Although all rights now fit.

As I said what surprised me is that the TVH plugin works.
I suspect it's somehow related to the transfer of rights or something.

Because the plugin seems to access the / dev / dvb folder directly.

 

As I said, the DVBUnraid plugin finds everything except the adapter itself.

 

Regards Maggi

The plugin is running as root so it has access to the dvb device.

Link to comment
25 minutes ago, Maggi0r said:

Yes, I think so. But somehow doesn't help.
I think it is somehow related to the stick even though the driver is loaded. As you can see in DVBUnraid but somehow it is not handed over correctly.

Regards Maggi

The dvb plugin only checks at boot, so as long as you install the driver yourself, the dvb plugin will not show it.

The dvb plugin doesn't hand anything over.

Link to comment
On 02/06/2020 at 03:11, saarg said:

Não tenho certeza se o docker no Unraid tem suporte para V6.

-6 é a opção correta? Você não forneceu nada dos logs ou de quaisquer mensagens de erro, portanto, qual é o problema.

the launch function according to the forum documentation and

Server connectivity

  -6, --ipv6 Listen on IPv6

https://discourse.linuxserver.io/t/tvheadend-container-cannot-connect-no-matter-what-i-try/941

However, I don't know where to put it.

Link to comment
  • 4 weeks later...

How is anyone else getting this to work? I'm lost....

root@Tower:/mnt/user/appdata/tvheadend# docker exec -it -u abc tvheadend /usr/bin/tv_grab_file --configure
/usr/bin/tv_grab_file: illegal option -- -
unknown option: -

 

Link to comment
10 minutes ago, Fith said:

How is anyone else getting this to work? I'm lost....


root@Tower:/mnt/user/appdata/tvheadend# docker exec -it -u abc tvheadend /usr/bin/tv_grab_file --configure
/usr/bin/tv_grab_file: illegal option -- -
unknown option: -

 

There is nothing to configure. It grabs the XML file in /config/data/

Link to comment
Just now, Fith said:

Yea, I had TVH on WSL but my Guide area is blank. Something not working....

 

Huh? Wsl? If you are not running unraid, this is not the correct place for support.

Containers running on windows isn't something we really support either. We only test on Linux.

So go to our forum or join our discord.

 

Link to comment
2 minutes ago, saarg said:

Huh? Wsl? If you are not running unraid, this is not the correct place for support.

Containers running on windows isn't something we really support either. We only test on Linux.

So go to our forum or join our discord.

 

I'm on unRaid....I had it setup BEFORE in WSL....I'll try creating that directory...

root@Tower:/mnt/user/appdata/tvheadend# mkdir config
mkdir: cannot create directory ‘config’: File exists
root@Tower:/mnt/user/appdata/tvheadend# 

 

Edited by Fith
Link to comment

I do have a directory called data

root@Tower:/mnt/user/appdata/tvheadend/data# ls -la
total 31044
drwxr-xr-x 1 nobody users       43 Jul  3 10:16 ./
drwxrwxrwx 1 nobody users     4096 Jul  3 11:57 ../
-rw-r--r-- 1 nobody users 31777651 Jul  3 10:16 guide.xml
-rwxr-xr-x 1 nobody users     1099 Jul  3 10:15 tv_grab_file*
root@Tower:/mnt/user/appdata/tvheadend/data#

 

Link to comment
2 minutes ago, Fith said:

I do have a directory called data


root@Tower:/mnt/user/appdata/tvheadend/data# ls -la
total 31044
drwxr-xr-x 1 nobody users       43 Jul  3 10:16 ./
drwxrwxrwx 1 nobody users     4096 Jul  3 11:57 ../
-rw-r--r-- 1 nobody users 31777651 Jul  3 10:16 guide.xml
-rwxr-xr-x 1 nobody users     1099 Jul  3 10:15 tv_grab_file*
root@Tower:/mnt/user/appdata/tvheadend/data#

 

/config/data is inside the container. So the /config folder is the same as /many/user/appdata/tvheadend.

You have to add the guide.xml to that folder and then tvheadend adds the guide to it's internal EPG when the tv_grab_file grabber is set to run. You also have to enable it in tvheadend.

Did you copy the tv_grab_file in the data folder? That is not needed there.

Link to comment
4 minutes ago, saarg said:

/config/data is inside the container. So the /config folder is the same as /many/user/appdata/tvheadend.

You have to add the guide.xml to that folder and then tvheadend adds the guide to it's internal EPG when the tv_grab_file grabber is set to run. You also have to enable it in tvheadend.

Did you copy the tv_grab_file in the data folder? That is not needed there.

Yea, That's one i have edited with a curl address for EPG that I use......One sec, I'll check the container

root@6cdb21ab5d3b:/config/data# ls -la
total 31044
drwxr-xr-x 1 abc abc       43 Jul  3 10:16 .
drwxrwxrwx 1 abc abc     4096 Jul  3 11:57 ..
-rw-r--r-- 1 abc abc 31777651 Jul  3 10:16 guide.xml
-rwxr-xr-x 1 abc abc     1099 Jul  3 10:15 tv_grab_file

yea, it's in there too...just not showing in TVH...I've restarted 30-40 times already :(

Edited by Fith
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.