Opened 16 years ago
Last modified 14 years ago
#5578 closed patch
Transcoded flag is not set when the other program flags are, and Mythweb to display Transcoded flag — at Initial Version
Reported by: | Owned by: | Isaac Richards | |
---|---|---|---|
Priority: | minor | Milestone: | 0.23 |
Component: | Plugin - MythWeb | Version: | head |
Severity: | medium | Keywords: | transcode libmythtv mythweb easy |
Cc: | Ticket locked: | no |
Description
I have an interest in Mythweb showing when a program has been transcoded, since the 'Recently Completed Jobs' display disappears after some time (hours/days). I would like to know in perpetuity when a program has been transcoded (so, for example, I don't transcode it again.....)
In digging into the detail, I found the 'transcoded' field in the 'recorded' database table. This is (correctly) set when a transcode finishes -- but later on, it is not read out into the bit-flags which Mythweb uses to determine the display for a particular recording. And libmythtv is where that reading is done.
So I have created a patch for libmythtv (to set the 'transcoded' bit-flag) and a patch for Mythweb (to change the display, for a recorded program only, to show the transcoded state).
The patch for libmythtv is complete as attached. The mythweb one works as attached but could be improved - it just shows the Transcoded state as a bit of text (TRANSCODED / NON-TRANSCODED), after the stereo/closed-caption icons. This use of text is because I read someplace that most (if not all) Mythtv themes do not contain a 'Transcoded' icon, and I have zero knowledge of themes in general. The icon could be there - I could be wrong - but my intent was just to get the functionality done. I'll leave it to the theme experts and designers to make it look good.
The patches are for 0.21-fixes SVN 17451.
All the best, Simon.
Change History (2)
Changed 16 years ago by
Attachment: | libmythtv_transcodepatch.diff added |
---|
Changed 16 years ago by
Attachment: | mythweb_transcodepatch.diff added |
---|
mythweb patch (0.21-fixes SVN 17451) to display the Transcoded flag as plain text, for a recorded program
Patch for libmythtv (0.21-fixes SVN 17451) to read the transcoded program flag out of the database