Use the correct index for program.previouslyshown in the query result.

Signed-off-by: Jim Stichnoth <jstichnoth@mythtv.org>
OpenGLVideo: Fix a double free in AddFilter() when OptimiseFilters() fails

Fixes #11430
(cherry picked from commit 5769dca4c4ed442b62741e9abeeb2e3490d9b909)
MythUI: Fix use after free in MythUIEditBar

The call to ReleaseImages() in MythUIEditBar's dtor caused a free memory read
since SetRedraw() accesses its parent whose dtor has already been called.

Calling ReleaseImages() from MythUIEditBar's dtor also isn't necessary since the
images in m_images are children of MythUIEditBar and are automatically deleted
by Qt.

Fixes #11458, Refs #11402
(cherry picked from commit 6e0f69dca6a554f4baf0fe8f9226458d36c459c7)
MythMusic: Add missing default 4:3 stream-ui.xml theme file

Fixes #11369.
Change MythDate::toString() to return an empty string for invalid inputs.

Cherry picked from master for fixes/0.26.

It's possible a "0000-00-00 00:00:00" might be somewhat acceptable in
some rare cases because the all 0s value obviously represents a
special value.  The UTC to local conversions added in 0.26, however,
now causes it to change to a less obviously special, and perhaps even
misledaing, not all 0s value.  Since MythDate::toString() was a
Myth-specific replacement for QDateTime::toString() and
QDate::toString() and those functions return an empty string for
invalid inputs, we probably should too.

Refs #11405 .
Enable proper display of elapsed time when paused with VAAPI.

Make sure av_pause_frame is updated so that the player can pick up the
current frame number while paused.  Refs #10962
(cherry picked from commit 841ff3a359ce668eb51ef1da917ffab5a0932302)

Conflicts:

	mythtv/libs/libmythtv/videoout_openglvaapi.cpp
Fix auto-width calculation in mythtranscode.

Issue discovered, corrected, and tested by 'rich0' in IRC.  Thanks.
(cherry picked from commit effae2211cea71bf9e954d7e99cbce39b3d38f0c)
Change PlaybackBox group and password popup handling to be more sane.

Backport from master to fixes/0.26.

If an invalid password is entered, the password popup is reshown.  If
the password popup is aborted and was entered from the group popup or
is the initial group, the group popup is reshown.  If the group popup
is aborted and was entered because of the QueryInitialFilter setting,
the PlaybackBox screen is closed.

Refs #11231
MythCenter/MythCenter-wide: Tidy up the 'Program Details' screen

Fix the position of the browser in MythCenter.
Make sure the font used in the browser is sans-serif to better match the theme.

Fixes #10614.
MythCenter-wide: Fix the width of the priority text on the channelrecpriority screen

Fixes #10643. Thanks to Rick Scott for the original patch.
MythMusic: add the notracks text area to the playlist editor screen
MythMusic: fix the notracks text not always showing/hiding when it should

This fixes a problem with the "You haven't selected any tracks to play" text
not updating properly when adding or removing single tracks from the active
playlist.

Also work around a bug in MythUIButtonlist not removing the last item properly.
(cherry picked from commit 088d684558a3197b022695e39b3c50d89bca92f7)
MythMusic: use QSettings for the pls parser

This refactors the playlist parsing to use QSettings for the pls parser instead
of our custom one which has problems with windows style line endings.

Fixes #11208.
(cherry picked from commit 8d2d9e92f15653928d9abdf831ecb30eb314b52e)
MythArchive: fix a filename quoted twice bug introduced in b85f5bba72

Fixes #10071.
(cherry picked from commit 146b49029d82e6ad92ac36ef66fe14d5c4c998e0)
MythMusic: Fix typo preventing the autoplaycd setting loading correctly
(cherry picked from commit 84c44dd3f69d473dbe11c56e83da269111fae9c1)
MythArchive: fix the missing logs when doing a native archive import/export

The new logging stuff was causing both the export and import of native archives
logging to not be shown in the log viewer this fixes that and also makes the
log viewer wait a while for the logs before giving up which should fix the
logs not always showing the first time.

Fixes #10505.
(cherry picked from commit 52a7c118aedc747bbea3a92d178eabf8566818ad)
MythArchive: fix the import/export of recordings to the native archive format

* This updates the native import/export to work with the current DB table
  fields. Fixes #10871

* Add storage group support so the FE running MythArchive no longer needs
  local access to the recordings. Fixes #8657.
(cherry picked from commit 003f3023f2483f88f84df73b41fe2f976bb119d0)
mytharchivehelper: Remove an unneeded include added in 854cb0c3b6
MythMusic: Tweak the text areas on the trackinfo_popup
(cherry picked from commit 747248929431e5193abcd57de8189e9e55d1617e)
MythMusic: Fix segfault on visualization settings page if a widget is missing
(cherry picked from commit 9ec05b1e0da40456830afcc10c7ec51b2ac94f79)