Fix segfault in MythUIButtonList::GetItemCurrent(). Fixes #12040
(cherry picked from commit 4211abf7d62b9e15a61731bd1ae19400302c92ff)
Make "DailyArtworkUpdates" a global option

This makes the DailyArtworkUpdates setting a global setting so it can be
properly configured on any frontend. This patch does not include any
code to fix an existing improperly configured setting, which could cause
problems in the future, as the per-host option will override the global
one and will be uneditable without direct database modification.

Refs #12033
(cherry picked from commit ffa364019e7d5bc0b88f4c83d21511090735b45d)
Use proper string conversion for DailyArtworkUpdates setting.

Refs #12033
(cherry picked from commit e45e1ca7bf329e8ecea218f0e47cc080ad736b7e)
Explicitly set the audio capabilities of the DVD VM to indicate all audio types are supported.  This makes DVDs that check this VM register play properly.
(cherry picked from commit 501de627233cdffc1032932fd0611fd2e32abca4)
let Smolt search for the langauge as global and local setting

Language became a global setting in [bf6fc7cd39].
(cherry picked from commit de17fc4ab4f830d2d317c7522f0e584c9ed86a93)
let Smolt search for the country as global and local setting

Country became a global setting in [bf6fc7cd39]. This allows me to upload my
profile instead of getting error 500 from the server. It might be just
correlation though.
(cherry picked from commit 6c1f811d61de5aeaa8b4355c3b7b8dca18899aed)
Invalidate the cache after deleting a video file to ensure the free'd entry is removed.

Fixes #12052
(cherry picked from commit ffd38d1bba28aea710ad095c4e0844fe63381b38)
Fixes for FreeBSD 10.0 + clang

Signed-off-by: Raymond Wagner <rwagner@mythtv.org>
(cherry picked from commit 366b73bc672d45be94b981a944f9f415b44ea13c)
Only force a refresh of the metadata rather than invalidating the cache as that causes a crash if file system browsing is enabled.

Refs #12052
(cherry picked from commit d7bee2a3cca4a76feade96a29094a3eb3affb23b)
Add housekeeper startup delay.

This delays creation of the first HouseKeepingThread until the first
cycle, which is one minute after creation. This will allow time for
other potentially necessary subsystems to come up on init, should the
HouseKeeperTasks need them. Tasks tagged as kHKRunImmediateOnStartup
will still be run in-thread immediately as the housekeeper is started.

Fixes #12042
(cherry picked from commit 3d14864fe8ef06147ec8cc0d6af39d89fb29b2f9)
MythMusic: fix the goom visualizer

* use the correct image format to convert the Goom buffer to a QImage
* re-enable the scale factors so you can reduce the cpu utililization
  Increasing the scale factors will reduce the amount of data to be processed
  by Goom but that will also make the image more blocky.
* increase the maximum scale factor to 4 (MythGoom allows 1, 2 or 4 to be used)

Fixes #11023.

(cherry picked from commit 8e0c6c505cf727dd00404ede6afb6c76e06101a5)
Always show programs that are still recording in ViewScheduled.

Includes a minor change by David Engel.

Backport to fixes/0.27.

Refs #12060
detect cropped HD (720p) content

Fixes #12048
(cherry picked from commit 2a026c45758a495fee0b4a4e7557901c6f701797)
Allow tmdb3.py to use $MYTHCONFDIR as a cache location.

This makes tmdb3.py follow the standard behavior of using MYTHCONFDIR,
falling back to HOME, for its selection of scratch space. This also adds
explicit error reporting to stdout when something goes wrong.

Refs #11876

(cherry picked from commit 2c50a824be1f3083ca966ff0309ea39854452b29)
Some HLS tweaks to make recording more robust when faced with unreliable
feeds.

(cherry picked from commit 7f8dd24816a251d51b3cb42173d7dd19a4ba1a52)
Rewrite qmake detection to better support Qt5
Rewrite qmake detection to better support Qt5 - plugins
Resolve X11/Xlib.h define of Bool and Qt5 (5.2)

Xlib.h has a "#define Bool int", which causes compilation issues with other uses of
Bool, specifically in qsonvalue.h in Qt5.  This patch rearranges the MythTV source file
includes to bypass the issue.

Fixes #12065
Signed-off-by: Stuart Auchterlonie <stuarta@squashedfrog.net>

Signed-off-by: Stuart Auchterlonie <stuarta@mythtv.org>
Remove check_cxxflags which doesn't work
Fix mythnetvision.pro for Qt5