Project

General

Profile

Question about EPG

Added by Ronny Bachmann about 3 years ago

Hello,

I have been using VDR software to watch TV for many years. For some time now, I've been thinking about switching to TVH, as this program is much easier to configure.

In VDR, I use the EPG-Search plugin to automatically program recordings or to have a notification sent to me by mail. Now I am looking for an idea how to implement this in TVH. I want a keyword search to be done in the EPG. With this it should be possible to get a notification. I would prefer to output the result of the search as an RSS feed, so that I can display it in my RSS reader.

How can I implement this best?

Thanks, Ronny


Replies (4)

RE: Question about EPG - Added by Dave Pickles about 3 years ago

Part of that can be done in TVH. Using 'autorecs' you can set timers based on a regexp of the event title, and can further filter by channel, time-of-day and so on.

For more customised control you can use the HTTP API to create your own front-end. See https://github.com/dave-p/TVH-API-docs/wiki.

IMO it's a shame TVH doesn't use plugins like VDR.

RE: Question about EPG - Added by Ronny Bachmann about 3 years ago

The 'autorecs' are well known. This works similarly as in the VDR. But I don't want to record everything that is found with some created search timers.

So I have to deal with the API after all. Unfortunately the php scripts don't work for me somehow. I tested the simple php example from https://github.com/dave-p/TVH-API-docs/wiki/examples. Unfortunately the script can't query the recording timers. The command 'file_get_contents' answers with the HTTP code "401 Unauthorized". I have entered the correct user and password of course. But if I call the url given in the script with wget or in the browser, the JSON code is displayed.

I have installed TVH under Debian stable. The webserver is nginx. Maybe someone has a tip what I am doing wrong?

Thanks, Ronny.

RE: Question about EPG - Added by Dave Pickles about 3 years ago

Is your TVHeadend server set to use either "Plain (insecure)" or "Both plain and digest" authentication? PHP can't directly use digest authentication so has to be able to fall back to Plain.

RE: Question about EPG - Added by Ronny Bachmann about 3 years ago

Thank you, that was the problem.

Ronny

    (1-4/4)