HD-PVR LiveTV: Rework HD-PVR SignalMonitor to avoid encoding start/stops.

The HD-PVR does not behave well when told to switch encoding on/off
quickly.  Only use the video resolution reported by the driver to determine
if the HD-PVR has stabilized: If the driver reports the same resolution
consistently for two seconds, then assume a good lock.

Fixes #10765
0.25/fixes commit: [d3a5b0a59]
Use correct RecordingInfo* in FinishedRecording()'s SendMythSystemRecEvent().
Fixes #10712. Add support for HDHR Prime without CableCard.
Refs #10712. Add error checking, proper formatting, and improve debugging of previous commit.
Disable artwork processing for exportMetadata().

This disables the output of artwork definitions when generating an mxml
file through the bindings.  There is currently no support for handling
local artwork in the files at this time.
Fix PlaybackSock::GetMaxBitrate protocol usage.

QUERY_REMOTEENCODER now returns only one value.  This change was missed
when the protocol was changed to send 64-bit values directly, instead of
encoded as two 32-bit ints (this part, specifically, in 1508085eb3 ).

Signed-off-by: Michael T. Dean <mdean@mythtv.org>
Refs #10311. Reimplements RefererenceCounter using QAtomicInt for lockless reference counting.

This also renames AddRef to IncrRef and DownRef to DecrRef. This is solely for the benefit of any plugins that might be using the reference counters in MythUI when this is extended to those objects. The MythUI reference counters start at zero instead of one so anything using those will need to remove the UpRef/AddRef immediately post creation.
Refs #10768. Allow ComboBoxSetting::SetDBValue() to set a value for a not yet loaded selection list.
Fix leak of MetaIOID3() object if we're scanning Flac files without ID3 tags. Fixes #10776 and #10757
Fix file handle leaks in oggvorbis and wavpack tag readers. These, along with one in the flac tag reader were caused when we stopped using an instance of the Taglib::FileRef class to read the track length. Taglib::FileRef would take ownership of the pointer and delete it when we were done, now that we're not using Taglib::FileRef we're again responsible for deleting the object which in turn closes the open file handle. Refs #10721
(cherry picked from commit f46b168a87a609b4cc6834f32d392ebf83dfe89e)
Remove forced Terra theme for mythtv-setup.

I can't find any justification for this code. It looks like it came in as part of a merge and may have just been debugging code.
Fix misplaced else condition in osd.cpp. This just looks like a mistake, the else appended to the wrong block. dialog cannot be null, but Create() can and will fail. Related to Coverity defect 700311 'Logically dead code'
Fix another misplaced else condition in osd.cpp. Exact same problem as in [12078211] just in another place. Related to Coverity defect 700312 'Logically dead code'
Stop Coverity whining about mixing enum values in StatusBox::doTunerStatus()
Fix 'Show Upcoming' context menu entry in the Guide.
Fix several possible null pointer dereferences in tv_play.cpp. Coverity defects 700398, 700399, 700400, 700401, 700402 & 700693
Fix Perl bindings config.xml parsing

for users who are using non-default values for database host name, port,
user name, password, or database name.  Though I plan to add proper XML
parsing to the bindings, this code will still be useful as a fallback
for those who don't have the proper XML parsing module installed, so it
makes sense to go ahead and push these changes, now.
Updated Italian MythFrontend translation
from Morris Cavestro

Thank you Morris!

Closes #10780

Signed-off-by: Nicolas Riendeau <nriendeau@mythtv.org>