Opened 8 years ago

Closed 8 years ago

#9610 closed Patch - Bug Fix (Fixed)

[PATCH] mythbackend marks recordings as successful even if they never entered the recording state

Reported by: dl-mythtv@… Owned by: gigem
Priority: minor Milestone: 0.24.1
Component: MythTV - Recording Version: 0.24-fixes
Severity: medium Keywords: zero byte recording
Cc: Ticket locked: no

Description

If, for whatever reason, a recording never gets past the rsTuning state, mythbackend will flag this as a successful recording at the end of the recording time by setting the status to rsRecorded. This will result in a zero-byte or missing recording file, and mythbackend will not schedule another attempt to record the episode. If this was a one-time recording rule, that rule will also be eligible for deletion.

I have observed this problem with the HD-PVR, HDHR, and firewire.

The attached patch only allows the transition to rsRecorded if the previous state was rsRecording. Any other state will transition to rsFailed, which will allow mythbackend to reschedule the recording.

Attachments (1)

zero_byte.diff (3.6 KB) - added by dl-mythtv@… 8 years ago.

Download all attachments as: .zip

Change History (3)

Changed 8 years ago by dl-mythtv@…

Attachment: zero_byte.diff added

comment:1 Changed 8 years ago by gigem

Milestone: unknown0.24.1
Owner: changed from danielk to gigem
Status: newassigned

comment:2 Changed 8 years ago by gigem

Resolution: Fixed
Status: assignedclosed

Fiexed in SHA: 38f8fb1f

Note: See TracTickets for help on using tickets.