Opened 14 years ago

Closed 14 years ago

#311 closed patch (fixed)

Update metadata of recorded programs when adjusting recording schedules

Reported by: Robert Tsai <rtsai1111> Owned by: Isaac Richards
Priority: minor Milestone: 0.19
Component: mythtv Version: head
Severity: low Keywords:
Cc: Ticket locked: no

Description

The patch for #171 added support for a new "AutoExpire? by Priority" policy.

This patch adds code such that when priorities are adjusted in the "Set Priorities" UI, priorities of already-recorded shows are also changed to match that of their parent schedule, so that auto-expire-by-priority reflects the priorities in the "Set Priorities" UI. One-time recordings are still "orphaned", though (e.g., no frontend UI to change their recpriority/autoexpire priority).

Attachments (2)

mythtv.autoexpire-priority.diff (913 bytes) - added by Robert Tsai <rtsai1111> 14 years ago.
mythtv.updaterecorded.diff (1.7 KB) - added by Robert Tsai <rtsai1111> 14 years ago.

Download all attachments as: .zip

Change History (5)

Changed 14 years ago by Robert Tsai <rtsai1111>

comment:1 Changed 14 years ago by cpinkham

Resolution: fixed
Status: newclosed

(In [7234]) Patch by Robert Tsai to update recpriority on recorded programs when the recpriority on the Scheduled Recording for that program is changed. References #171, Closes #311.

comment:2 Changed 14 years ago by Robert Tsai <rtsai1111>

Milestone: 0.19
Resolution: fixed
Status: closedreopened
Summary: Update priority of recorded programs when adjusting recpriority of schedulesUpdate metadata of recorded programs when adjusting recording schedules

A forthcoming patch moves the "UPDATE recorded SET recpriority" query out of ProgramInfo::ApplyRecordRecPriorityChange? and down into ScheduledRecording::save where it really belongs, so that anything modifying a recording schedule (either the "Set Priorities" screen, or the "Edit Recording Schedule" screen, or any new screens) will also update selected fields of the "recorded" table. The "selected fields" are:

  • recpriority
  • recgroup
  • transcoder
  • timestretch

These were selected simply by what I thought would be intuitive (the only ones I really care about are recpriority and transcoder). Other fields that might be possibly updated, but aren't:

  • autoexpire (I left that alone since the UI allows people to toggle the auto-expire flag on a per-recording basis)

Changed 14 years ago by Robert Tsai <rtsai1111>

Attachment: mythtv.updaterecorded.diff added

comment:3 Changed 14 years ago by cpinkham

Resolution: fixed
Status: reopenedclosed

(In [7756]) Apply the rest of Robert Tsai's "Update metadata of recorded programs when adjusting recording schedules" patch. This updates the recpriority, recgroup, transcoder, and timestretch values on recorded programs when their corresponding scheduled recording entry is updated.

References #171, Closes #311.

Note: See TracTickets for help on using tickets.