Opened 15 years ago
Closed 15 years ago
#9610 closed Patch - Bug Fix (Fixed)
[PATCH] mythbackend marks recordings as successful even if they never entered the recording state
| Reported by: | 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)
Change History (3)
by , 15 years ago
| Attachment: | zero_byte.diff added |
|---|
comment:1 by , 15 years ago
| Milestone: | unknown → 0.24.1 |
|---|---|
| Owner: | changed from to |
| Status: | new → assigned |
comment:2 by , 15 years ago
| Resolution: | → Fixed |
|---|---|
| Status: | assigned → closed |

Fiexed in SHA: 38f8fb1f