Set the signal monitor deadline based on the recording end time.

Previously, it used the scheduled (i.e.e guide) end time.  That caused
immediate recording failures when the program was started or restarted
during the end-late period.

(cherry picked from commit 752cbb5e818b58321256c810a4aa8534c13fb339)
MythNews: Fix parsing of the enclosure on some feeds

There are some broken feeds that don't add a proper type for the enclosure
which was causing us to assume it was a video and try to play it even if it
was an image.

So if no type is given check the filename extension of the url for any image
extensions before assuming it must be a video.

(cherry picked from commit 7ee573ae67992c2f4c34c300740be713f82d1e98)
MythArchive: Remove -copyts from the encoding profiles

There are reports this is causing more trouble than it fixes with current
ffmpeg. Fixes #12026.

(cherry picked from commit b3c6b93176fb9998a7fe3ed120910ab2999ee1de)
MythArchive: Fix problem playing created DVD's with no intro

This allows a DVD theme to be created that doesn't have an intro. All of the
default themes have a intro except the auto play theme which doesn't have this
problem so I haven't tested this at all. Fixes #11942.

Signed-off-by: Paul Harrison <pharrison@mythtv.org>
(cherry picked from commit 0a715bf3da19a0ac5e42b3f8ed6133ef71c163fc)
MythMusic: fix seek problem with restart playback.

When resuming after TV/video playback, the music track was resuming at the
start rather than seeking to the correct position.

#Fixes #12062.

Signed-off-by: Paul Harrison <pharrison@mythtv.org>
(cherry picked from commit 8af587a2c49d5411db0b46530f111e9aba85d72f)
MythMusic: Release audio decoder when music paused and tv playback wanted.

When "continue play music" is active and within the MiniPlayer pause is
called, a tv/video playback can not open the audio device.

In MusicPlayer::StopPlayback the check m_isPlaying is false, therefor not
stopping the decoder.

Fix: Instead of checking m_isPlaying, use m_output the check for an existing decoder.

#Fixes #12063.

Signed-off-by: Paul Harrison <pharrison@mythtv.org>
(cherry picked from commit 2a5f3c8ca5d750415b8227ff2f74c3bf2cd5119d)
Revert efea2ba1, signal monitor deadline tweak, if favor of a better,
future fix.

(cherry picked from commit aefe1e3c89a410178145f7b7a788b041841c6ffa)