[mythtv-commits] Ticket #5578: Transcoded flag is not set when the other program flags are, and Mythweb to display Transcoded flag
MythTV
mythtv at cvs.mythtv.org
Mon Jul 28 12:10:36 UTC 2008
#5578: Transcoded flag is not set when the other program flags are, and Mythweb to
display Transcoded flag
----------------------------------+-----------------------------------------
Reporter: simonwalls at yahoo.com | Owner: ijr
Type: patch | Status: new
Priority: minor | Milestone: unknown
Component: mythtv | Version: 0.21-fixes
Severity: medium | Mlocked: 0
----------------------------------+-----------------------------------------
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.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/5578>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list