Opened 17 years ago
Closed 17 years ago
Last modified 17 years ago
#3503 closed enhancement (fixed)
Patch that uses "schedruntime" column in jobqueue to defer automatic transcoding of recordings
Reported by: | anonymous | Owned by: | cpinkham |
---|---|---|---|
Priority: | trivial | Milestone: | unknown |
Component: | mythtv | Version: | head |
Severity: | medium | Keywords: | transcode jobqueue |
Cc: | Ticket locked: | no |
Description
This is a quick patch to make use of the schedruntime functionality recently added to the jobqueue logic; it allows you to schedule automatic transcode jobs X number of days after the recording is finished instead of having them run immediately after commflagging.
This basically just replaces a cron job I had to do the same, but allows me to pick and choose which recordings to transcode based on the autotranscode flag, instead of just blindly transcoding everything older than a certain date, so i though it might be useful enough to submit the patch. There's currently no GUI for setting the database options, as I'm not really all that familiar with the GUI code.
(In [13517]) Add a way to defer auto-transcode jobs so that they can be automatically scheduled for days after the original recording completes rather than immediately after.
You can now specify auto-transcode jobs to run from 0-365 days after the recording completes, so you can for instance watch the HD version of a show if you watch it within 7 days, but after 7 days have it automatically transcoded down to a lower-resolution and smaller file on disk. If the setting is left at the default of 0, then auto-transcode jobs are run as soon as possible like they currently are.
Modified patch by Patrick Donnelly. I added the GUI portion and reworked the JobQueue? settings page in mythfrontend to make things fit better as well as modifying the patch to use a single DB setting instead of two.
Closes #3503.