Adjust to datetime issues with MythTV v0.26's move to UTC datetimes in DB

Signed-off-by: Raymond Wagner <rwagner@mythtv.org>
(cherry picked from commit fcf6da5608cc5621a7bee48120d988352f34189f)
Fix single episode grabber for season 0 specials.

This makes the check for arguments to grabInetref() look specifically
for None, rather than boolean False, to prevent false positives when
dealing with specials that have a season of 0.
(cherry picked from commit 7da754ad0d350988f324c239477a6587bf88ba1c)
Log an error if we are unable to find IPv4 or IPv6 addresses, only
exit if we are unable to find any address to bind to
Only set the BackendServerIP6 setting to ::1 by default if that address is available, otherwise leave it blank
Read in dbPingHost value from config.xml.

Fixes #11148
(cherry picked from commit 65a720c9b830ab77bbd2931e03fb428e05dee6f9)
Merge branch 'fixes/0.26' of https://github.com/MythTV/mythtv into fixes/0.26
Allow adding a channel to an empty channel group from the guide. Update the cached channel group list after adding or removing a channel. Fixes #10411

Signed-off-by: Stuart Morgan <smorgan@mythtv.org>
(cherry picked from commit 9d5aabc1ed42156bf23a9d0afac0b31fdaedc5e1)
libmythui: Fix a redraw bug in MythUIType

While evaluating the ATI Catalyst 'TearFree Desktop' option I noticed
that sometimes a keypress was apparently being held up until the time
on the main menu was updated.  Initially I thought that this was a lirc
or fglrx issue, but on investigation it turned out that MythMainWindow::animate
was requesting updates for empty repaint regions.  Delving further
showed that MythUIType::Draw was resetting m_DirtyRegion to empty
even if the clipRect was smaller, thus leaving unpainted regions.

m_DirtyRegion may be extended by HandleMovementPulse, SetRedraw
or SetChildNeedsRedraw etc AFTER GetDirtyArea is called.
So when MythUIType::Draw is called, clipRect may not include the whole
of m_DirtyRegion.

This patch subtracts the Draw clipRect from m_DirtyRegion instead of
simply emtying it.

Fixes #10695

Signed-off-by: Lawrence Rust <lvr@softsystem.co.uk>
Signed-off-by: Stuart Morgan <smorgan@mythtv.org>
(cherry picked from commit 39984eb579369f6cb25cd8f57acb8b23ebcccfc6)
Fix mythbackend not exiting after network initialization failure. Fixes #11163

Signed-off-by: Stuart Morgan <smorgan@mythtv.org>
Add reporting of logging volume to Smolt.

This reports the logging volume as a percentage of the total amount
stored in the database, for each urgency level. This is intended as a
simple metric to determine stability of MythTV, as higher counts of
higher urgency levels will indicate an increase in problems seen by the
user base.
(cherry picked from commit 5f90b1d62c4d692a6c23ae22ab2047db85e6572e)
Merge branch 'fixes/0.26' of code.mythtv.org:mythtv into fixes/0.26
Updated Italian MythMusic translation
from Morris Cavestro

(Backport to 0.26-fixes)

Thank you Morris!

Closes #11167

Signed-off-by: Nicolas Riendeau <nriendeau@mythtv.org>
Fixes #11151 by correcting a float-to-integer truncation problem.
(cherry picked from commit 4a09ca11c47137a88355a961efd5131c2157d4d7)
Merge branch 'fixes/0.26' of https://github.com/MythTV/mythtv into fixes/0.26