Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tvheadend implementation #12

Open
IRONROCK20 opened this issue Oct 28, 2017 · 0 comments
Open

Tvheadend implementation #12

IRONROCK20 opened this issue Oct 28, 2017 · 0 comments

Comments

@IRONROCK20
Copy link

Hello guys, thanks you so much for the hard work! The script is awesome!

Since Tvheadend added the cccam module (4.4 May 2017), it could be really cool implement it into the script like oscam (and forget oscam!)
It is possible using ‘curl’ and using the ‘caclient’ API.

I did a few test and it’s working (example at the end of the post).

So now (unfortunately I’m not an expert coder), I was thinking of is possible insert it like oscam.

Cons:
1 All the cline needs to be inserted one by one because it’s not possible simply create a file (tvh needs to create a uuid)

2 Tvh needs to be running if not the files will not be created, so a code line for check if it is running. For example checking the status with: http://host:9981/status.xml

I can test it if you/somebody will like to work/help on it.
Thanks in advance!

Here the API:
http://host:9981/api/caclient/create?class=caclient_cccam&conf=%7B%22enabled%22%3Afalse%2C%22name%22%3A%22test%22%2C%22username%22%3A%22test%22%2C%22password%22%3A%22test%22%2C%22hostname%22%3A%22localwebins%22%2C%22port%22%3A12345%2C%22keepalive_interval%22%3A0%2C%22comment%22%3A%22%22%2C%22nodeid%22%3A%22%22%2C%22version%22%3A7%7D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant