Reset the decoder EOF state before seeking.

This can be necessary if the cutlist editor tries to seek beyond the
last frame the decoder knows about, in which case the decoder gets
stuck thinking it has reached EOF and seeking stops working correctly.
Cleanup trailing whitespace in recorders directory
Fixes #6974.  Play all the way to the end of the video.

Playback is allowed to continue even after the decoder thread reaches
the EOF state, until decoded and buffered frames are drained from the
decoder.  This may represent anywhere from 0.25s to 1s of content.

Thanks to Mark Spieth for providing and maintaining the patch.
Fix display of current position for DVD playback.

Regression introduced in 49dbed5be0729b04a5f0fd0426a32fceb2dd7935.
Fix EOF detection/handling for DVD titles.

Separate the EOF logic for DVDs and videos/recordings.  DVDs need not
be concerned with DeleteMaps, and videos/recordings need not be
concerned with DVD menus and still frames.
Fix "mythcommflag --rebuild" for non-HDPVR recordings.

By default, only identify IDR keyframes for h.264 recordings.
However, since DVB-S recordings may lack IDR frames, we check after
500 frames whether any keyframes have been found, and if not, back up
and restart using the more lenient setting.
Fix braino in 802e32ba4dc8852da56db170893e95cbc28637e3 .
Fix missing CEA-708 closed captions.

Recently NBC has changed their CEA-708 encoding and exposed a MythTV
bug.  When the caption window is resized to be smaller, MythTV
inappropriately clears the buffer before an existing caption has been
displayed.  This makes it appear as though many/most captions are
lost.  This patch corrects that (and also makes CEA-608 log output
more readable).
Add support for IMDB based lookups

I'm giving greg credit for this, but the method is significantly
differnet. This includes an explicit regular expression check to ensure
only zero-padded seven digit numbers are queried as IMDB IDs. This is to
prevent any risk of potential overlap with TMDB IDs, once their database
grows that large. This also does not bother applying the IMDB IDs to the
temporary VideoMetadata object as MythTV does not attempt to do anything
with it.

Fixes #11345

Signed-off-by: Raymond Wagner <rwagner@mythtv.org>
Ensure subtitles are cleared when they are supposed to be.

This cleans up the usage of SetRedraw() and safe area clipping so that
the results are actually correct and the right updates are drawn.
Otherwise, depending on the renderer used, the previous subtitle might
not be cleared until the next one is displayed.
Add recording rule template support to Python Bindings.
Update docs to reference config.xml instead of mysql.txt.
Just playing with doxygen grouping a bit.
Add doxygen grouping for mythcommandlineparser.
Explain Qt copy-on-write a little bit better in the doxygen docs.

This probably still needs some examples.
Fix signed/unsigned error in seek computations.
Silence a compiler warning by removing an unused variable.
Add back a missing tr() in the schedule editor.
Fix transitions from a DVD still frame into video.  Fixes #11347.

Signed-off-by: Jim Stichnoth <jstichnoth@mythtv.org>
Fix live TV sometimes pausing at channel changes.

Regression introduced in 91ec76e8afba1833a7cb64f17429910f29b39404 and
related commits.