Bug #3894
if i prog a record over webif the retention is 0
0%
Description
If i programm a record over tvheadend webif the DVR Log Retention Time is 0
"retention": 0,
But in DVR settings it is set 9000
so the record will clean from list if he is finished
if i programm with kodi, the retention time will set from kodi
Files
History
Updated by Chris master over 8 years ago
Chris master wrote:
If i programm a record over tvheadend webif the DVR Log Retention Time is 0
"retention": 0,
But in DVR settings it is set 9000
so the record will clean from list if he is finishedif i programm with kodi, the retention time will set from kodi
Any solution ?
Now i use Tvheadend 4.0.9-6~g668d3e7~xenial but no change. Can only programm over kodi
Updated by Mark Clarkstone over 8 years ago
Chris master wrote:
Chris master wrote:
If i programm a record over tvheadend webif the DVR Log Retention Time is 0
"retention": 0,
But in DVR settings it is set 9000
so the record will clean from list if he is finishedif i programm with kodi, the retention time will set from kodi
Any solution ?
Now i use Tvheadend 4.0.9-6~g668d3e7~xenial but no change. Can only programm over kodi
Try setting it to something more sane, like 365 (in dvr config)?
Updated by Chris master over 8 years ago
Mark Clarkstone wrote:
Chris master wrote:
Chris master wrote:
If i programm a record over tvheadend webif the DVR Log Retention Time is 0
"retention": 0,
But in DVR settings it is set 9000
so the record will clean from list if he is finishedif i programm with kodi, the retention time will set from kodi
Any solution ?
Now i use Tvheadend 4.0.9-6~g668d3e7~xenial but no change. Can only programm over kodiTry setting it to something more sane, like 365 (in dvr config)?
no change, retention is 0
Updated by Chris master about 8 years ago
Chris master wrote:
Mark Clarkstone wrote:
Chris master wrote:
Chris master wrote:
If i programm a record over tvheadend webif the DVR Log Retention Time is 0
"retention": 0,
But in DVR settings it is set 9000
so the record will clean from list if he is finishedif i programm with kodi, the retention time will set from kodi
Any solution ?
Now i use Tvheadend 4.0.9-6~g668d3e7~xenial but no change. Can only programm over kodiTry setting it to something more sane, like 365 (in dvr config)?
no change, retention is 0
Is it a permission problem ?
What is the different between kodi programming and tvh webif programming ?
i hope that anyone can help me to fix this problem
Updated by Chris master about 8 years ago
/home/hts/.hts/tvheadend/config
{
"enabled": true,
"name": "",
"profile": "10cf81165cabbe56b4083a934bc1c45e",
"cache": 2,
"retention-days": 365,
"pre-extra-time": 0,
"post-extra-time": 10,
"epg-update-window": 86400,
"storage": "/home/hts",
"file-permissions": "0664",
"charset": "ASCII",
"tag-files": true,
"skip-commercials": true,
"directory-permissions": "0775",
"day-dir": false,
"channel-dir": false,
"title-dir": false,
"channel-in-title": true,
"date-in-title": false,
"time-in-title": false,
"episode-in-title": false,
"episode-before-date": false,
"subtitle-in-title": false,
"omit-title": false,
"clean-title": false,
"whitespace-in-title": false,
"windows-compatible-filenames": true
}
Updated by Chris master about 8 years ago
And if i record something over webif
"start": 1471525200,
"start_extra": 0,
"stop": 1471539600,
"stop_extra": 0,
"channel": "ac7c2966e48f1ca8fe2d782ec84542dc",
"channelname": "N-JOY",
"title": {
"ger": "N-JOY Mit Nina und dem Haacke"
},
"subtitle": {
"ger": "Mit Nina Zimmermann"
},
"description": {
"ger": "Nina bringt euch gut in den Feierabend - mit den meisten Hits von heute und extra viel SpaĆ.$
},
"pri": 2,
"retention": 0,
"container": -1,
"config_name": "e50e1cb264b04f0c93ac9ac25b581b30",
"owner": "christian",
"creator": "christian",
"filename": "/home/hts/N-JOY-N-JOY Mit Nina und dem Haacke.ts",
"errorcode": 0,
"errors": 0,
"data_errors": 0,
"dvb_eid": 41752,
"noresched": false,
"autorec": "",
"timerec": "",
"content_type": 0,
"broadcast": 607347
}
Updated by Mark Clarkstone about 8 years ago
Chris master wrote:
Chris master wrote:
Mark Clarkstone wrote:
Chris master wrote:
Chris master wrote:
If i programm a record over tvheadend webif the DVR Log Retention Time is 0
"retention": 0,
But in DVR settings it is set 9000
so the record will clean from list if he is finishedif i programm with kodi, the retention time will set from kodi
Any solution ?
Now i use Tvheadend 4.0.9-6~g668d3e7~xenial but no change. Can only programm over kodiTry setting it to something more sane, like 365 (in dvr config)?
no change, retention is 0
Is it a permission problem ?
What is the different between kodi programming and tvh webif programming ?i hope that anyone can help me to fix this problem
Have you tried chowning the whole of the dvr config dir? Do a backup first. If that fails try a clean config.
Updated by Mark Clarkstone about 8 years ago
Chris master wrote:
no change, thats crazy
even after a clean config (from scratch)?
Updated by Chris master about 8 years ago
how do i clean this config ?
if i add a new recording profile i have the same result.
Updated by Jaroslav Kysela about 8 years ago
Retention 0 for the DVR entry means 'use value from DVR config'. You're trying to resolve an issue where it isn't. Kodi probably forces to set individual value to the created DVR entry. You may modify this settings through the webui, too.
Updated by Chris master about 8 years ago
yes but i set the retention to 365 day.
in config file it is set to 365
Updated by Mark Clarkstone about 8 years ago
Chris master wrote:
yes but i set the retention to 365 day.
in config file it is set to 365
Just to be sure the value in the following screenshot is set too?
I'm running 4.1.2126 and I've just a added timer (via kodi) for a program and set the "lifetime" (retention in the webui) to "3 Years" and the value is correct for both the ui and kodi.
I'll install 4.0.x on another machine when I get the chance and see it I can reproduce this..
Updated by Chris master about 8 years ago
It is set
Updated by Mark Clarkstone about 8 years ago
Chris master wrote:
It is set
That is the DVR log retention time, the days tvheadend should keep info about the recording not how long it is to keep the file. Looks like 4.0.x doesn't have it for DVR profiles. As for why the webui isn't honouring the file retention value I have no clue!
Updated by Chris master about 8 years ago
Mark Clarkstone wrote:
Chris master wrote:
It is set
That is the DVR log retention time, the days tvheadend should keep info about the recording not how long it is to keep the file. Looks like 4.0.x doesn't have it for DVR profiles. As for why the webui isn't honouring the file retention value I have no clue!
yes the file will not delete. it will only delete in the list.
Updated by Chris master almost 8 years ago
i update to version 4.1-2370~g0c506b4~xenial
same problem. If i record from webif retention is 0 in the log file.
But now i can set in the upcoming recording DVR log retention to on file removal
now the rentention is set correct