Bug #3411
Files are missed after auto-deleting
100%
Description
I'm auto-recording some daily-news with a "DVR file retention period" of one day. Wenn the hold period is over, the files are deleted as wished but then they appear as missed un the UI. See the attached screen shoots.
Files
History
Updated by Jaroslav Kysela almost 9 years ago
- Status changed from New to Fixed
- % Done changed from 0 to 100
Applied in changeset commit:tvheadend|676a34f24b182928770cef5d4ba2903a6a25323d.
Updated by Alfred Zastrow almost 9 years ago
Sorry, but this fix doesn't change the behaviour.
Updated by Alfred Zastrow almost 9 years ago
No :-(
The git from today was pulled and compiled: HTS Tvheadend 4.1-1227~gc1a0705
The recording from yesterday was logged as deleted:
Dec 14 19:10:00 tvh tvheadend3398: dvr: delete entry 7871c739b3a0eabb7a0e75b595872c34 "heute" on "ZDF HD" start time 2015-12-13 18:59:30, scheduled for recording by "alfred", retention "999 days" removal "1 days"
Screenshoot from today "time missed" ist attached.
The dvr-log (7871c739b3a0eabb7a0e75b595872c34) is still there and not deleted:
{
"enabled": true,
"start": 1450029600,
"start_extra": 0,
"stop": 1450030200,
"stop_extra": 0,
"channel": "74550df904700c196ce68a73a0e3c4ed",
"channelname": "ZDF HD",
"title": {
"ger": "heute"
},
"subtitle": {
"ger": "Wetter"
},
"description": {
"ger": "Deutschland 2015Themen liegen noch nicht vor Moderation: Christian SieversHD-Produktion"
},
"pri": 2,
"retention": 0,
"removal": 1,
"config_name": "ca70584be0668fc01dcf89068efcd80e",
"owner": "alfred",
"creator": "alfred",
"directory": "News",
"errorcode": 0,
"errors": 0,
"data_errors": 0,
"dvb_eid": 0,
"noresched": true,
"norerecord": false,
"autorec": "59280206e546cd826fe9970743114b46",
"timerec": "",
"parent": "",
"child": "",
"content_type": 2,
"broadcast": 0,
"comment": "Auto recording",
"files": [
{
"filename": "/video2/News/heute2015-12-13.mkv",
"info": [
{
"type": "H264",
"width": 1280,
"height": 720,
"duration": 1800,
"aspect_num": 16,
"aspect_den": 9
},
{
"type": "MPEG2AUDIO",
[...]
Updated by Jaroslav Kysela almost 9 years ago
Sorry, it works only for new recordings not for ones created by previous tvh version..
Updated by Jaroslav Kysela almost 9 years ago
The save procedure when the "filename" field is removed is in v4.1-1228-g07f77f6.
Updated by Alfred Zastrow almost 9 years ago
Thanks, just installed. I will see it tomorrow with the "Tagesschau" from today.
br
Alfred
Updated by Alfred Zastrow almost 9 years ago
Nope :-(
Deleting is logged:
Dec 15 20:15:00 tvh tvheadend6690: dvr: delete entry d889240bdb0a6b78ed7a30c794fa27c5 "Tagesschau" on "Das Erste HD" start time 2015-12-14 19:59:30, scheduled for recording by "alfred", retention "999 days" removal "1 days"
And the recording now appears in the list of faild recordings (screen shoot attached)
Version: HTS Tvheadend 4.1-1228~g07f77f6
Updated by Alfred Zastrow almost 9 years ago
Daily recording and removal (1 day) is still not working. All the recordings, "Tagesschau" for example, were finished as OK:
Dec 15 20:14:47 tvh tvheadend6690: dvr: "Tagesschau" on "Das Erste HD": End of program: Completed OK
Updated by Jaroslav Kysela almost 9 years ago
But the "file missing" status is fine, isn't? What do you expect? If you don't have files, then it does not belong to the finished (ok) tab, does?
Updated by Alfred Zastrow almost 9 years ago
Hi,
what I'm expecting is that the recordings also as the meta info's are removed silent after the removal time is reached.
Now we have the situation that the files are removed but not the meta info and Kodi also lists this removed recordings as valid. From the (lazy :-) ) user-point-of-view the is no advantage by using this, because there is no big difference if I have to remove a recording daily manually or to remove a failed entry daily manually. My wish is automaticly.
br
Alfred
Updated by Alfred Zastrow almost 9 years ago
Just one more thought: maybe the only possible workaround as of today is to create one more recording profile with a log- and file holding time of one day. But for usages with or without EPG this will become two more profiles.
Updated by Alfred Zastrow almost 9 years ago
Everything is fine now. :-)
I found within the advanced settings at the bottom of the auto recording dialog, that I've to set log deleting to the same retension time as the file.
Sorry for the noise.
br
Alfred