Project

General

Profile

Recording

Added by Mikael Östh over 11 years ago

I cannot record from webgui or from openelec xbmc client. in Webgui it says time is missing? openelec says service not ready or something.
I am running latest HTS 3.4 Wheezy (Debian) end Openelec 3.0.5

1. Where can I find som logfiles of the faulting recordings??
2. How can I setup NTP time in TVHeadend? The settings in webgui does not make any sense. Enable Time? Enable NTP driver?

Great work!


Replies (5)

RE: Recording - Added by Prof Yaffle over 11 years ago

1. tvheadend writes to syslog on the host system. You can switch on debugging for more verbose output... edit the file /etc/default/tvheadend - look for the lines:

# TVH_DEBUG
#   if set to 1 will output debug to syslog
TVH_DEBUG=0

... and change that last line to TVH_DEBUG=1

Alternatively, click the cog in the bottom right of the webUI (click the double up arrow first if you can't see it) and you'll see all the messages as they're generated.

2. From the source code documentation (this doesn't appear to be on the on-screen help for some reason):

Time Update - TVH now has a built-in capability to update the systme time.

However you should bare in mind that DVB time is not highly accurate and is prone to both jitter and variation between different transponders.

Where possible its probably still better to use an internet based NTP source to synchronise the system clock.

Update time

Enable system time updates, this will only work if the user running TVH has rights to update the system clock (normally only root).

Enable NTP driver

This will create an NTP driver (using shmem interface) that you can feed into ntpd. This can be run without root priviledges, but generally the performance is not that great.

Update tolerance (milliseconds)

Only update the system clock (doesn't affect NTP driver) if the delta between the system clock and DVB time is greater than this. This can help stop horrible oscillations on the system clock.

... which all says to me that you'd be better off setting up NTP on your system if that's the problem.

ALL THAT SAID

I doubt it's anything to do with time... more likely, you're getting that message because the recording has been abandoned as no adapter was available. Check that your adapter is enabled, check that it's showing as available (e.g. Device path: /dev/dvb/adapter0 in Configuration -> DVB Inputs), see what other messages appear as the recording tries to start.

RE: Recording - Added by Mikael Östh over 11 years ago

Thanks!

I managed to turn on debug in gui. There was an isssue with user rights on my recording folder. fixed now.

(Also there is an internal HTS user that has to be used for XMLTV configuration. That I missed in the documentation ?)

I still does not know how to setup up ntp, what is shmem interface? Do I SSH with root to setup NTP?

RE: Recording - Added by Prof Yaffle over 11 years ago

I'd set up ntpd on the underlying OS if I were you - that's where it should be done IMHO. There are lots of tutorials for Ubuntu, and I can't imagine Debian would be that different given they're basically the same OS.

RE: Recording - Added by Mikael Östh over 11 years ago

Ok, thanks. I will do that.

2013/6/12

Tvheadend - General: RE: Recording
Prof Yaffle

I'd set up ntpd on the underlying OS if I were you - that's where it
should be done IMHO. There are lots of tutorials for Ubuntu, and I can't
imagine Debian would be that different given they're basically the same OS.
------------------------------

You have received this notification because you have either subscribed to
it, or are involved in it.
To change your notification preferences, please click here:
https://tvheadend.org/my/account

RE: Recording - Added by Csaba Benedek over 9 years ago

I'm using the latest OpenElec 5.0.8 with tvheadend on a Raspberry Pi. The Pi is not connected to the internet, so I want to use the Time Update feature.

I set up everything, connected the antenna to the tuner, I can watch TV. I left it run for a while, but the time has not updated yet. Is there any way to trigger/test this feature, if it is really working?

    (1-5/5)