Opened 11 years ago

Closed 11 years ago

#4552 closed defect (invalid)

Mythtv deleting the wrong episode when expiring shows

Reported by: <matt@…> Owned by: Isaac Richards
Priority: major Milestone: unknown
Component: mythtv Version: 0.20.2
Severity: medium Keywords: expire deleted
Cc: Ticket locked: no

Description

I have noticed a problem with the handling of deleting old episodes when recording new ones. My box is configured to record 2 episodes of show A and the setting for record new and delete oldest enabled. Upcoming records shows that it plans on recording the new episode and the logs show it starts recording it. However after about 3 minutes into the recording the expiring system deletes the currently recording episode instead of the oldest one. This happens to all my shows and is very reproducible.

I am using the latest version from Ubuntu's 7.10 repositories, 0.20.2-0ubuntu10.

Here is an example from the log. 2008-01-29 21:00:02.193 Started recording: House "It's a Wonderful Lie": channel 2281 on cardid 1, sourceid 2 2008-01-29 21:03:26.551 Expiring "House" from Tue Jan 22 21:00:00 2008, 4461 MBytes, too many episodes (only want 2).

Here is the record from mysql db mythconverg.record for "House". 16 3 2281 21:00:00 2007-10-09 22:00:00 2007-10-09 House 97 Seconds House splits the final 10 fellowship candidates in... Mystery Default 0 1 2 1 0 0 Default 6 15 WTTE-DT EP00688359 EP006883590075 0 0 1 0 0 0 0 3 21:00:00 733323 0 0 0 1 Default 0 0000-00-00 00:00:00 2008-01-29 21:00:02 2008-01-29 21:03:31

Please let me know what else I can supply to help squash this bug.

Thanks, Matt

Change History (1)

comment:1 Changed 11 years ago by cpinkham

Resolution: invalid
Status: newclosed

According to the logs you quoted, Myth did _not_ delete the currently recording program (from Jan 29th), it deleted the one from January 22nd. According to my listings, House aired on the 22nd (Games), the 25th (Sex Kills), and again on the 29th (It's a Wonderful Lie). I assume you have the 22nd and the 25th recorded, so when the 29th started recording, Myth correctly deleted the episode from the 22nd. House airs again on Feb 1st (All In), so if you haven't deleted an episode by then, then the episode from the 25th should get deleted almost immediately after the episode on the 1st starts recording. If you have further questions, address them on the mailing lists.

Note: See TracTickets for help on using tickets.