Project

General

Profile

Bug #3894

if i prog a record over webif the retention is 0

Added by Chris master over 5 years ago. Updated almost 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2016-07-13
Due date:
% Done:

0%

Estimated time:
Found in version:
4.0.9-5
Affected Versions:

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

rec.png (67.3 KB) rec.png Chris master, 2016-07-13 16:08
webif.png (73.7 KB) webif.png Chris master, 2016-08-19 08:42
ssh.png (31 KB) ssh.png Chris master, 2016-08-19 08:42

History

#1

Updated by Chris master over 5 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 finished

if 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

#2

Updated by Mark Clarkstone over 5 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 finished

if 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)?

#3

Updated by Chris master over 5 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 finished

if 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)?

no change, retention is 0

#4

Updated by Chris master over 5 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 finished

if 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)?

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

#5

Updated by Chris master over 5 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
}

#6

Updated by Chris master over 5 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
}
#7

Updated by Mark Clarkstone over 5 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 finished

if 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)?

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.

#8

Updated by Chris master over 5 years ago

no change, thats crazy

#9

Updated by Mark Clarkstone over 5 years ago

Chris master wrote:

no change, thats crazy

even after a clean config (from scratch)?

#10

Updated by Chris master over 5 years ago

how do i clean this config ?

if i add a new recording profile i have the same result.

#11

Updated by Jaroslav Kysela over 5 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.

#12

Updated by Chris master over 5 years ago

yes but i set the retention to 365 day.
in config file it is set to 365

#13

Updated by Mark Clarkstone over 5 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..

#14

Updated by Chris master over 5 years ago

It is set

#15

Updated by Mark Clarkstone over 5 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!

#16

Updated by Chris master over 5 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.

#17

Updated by Chris master almost 5 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

Also available in: Atom PDF