Fix .empty() being called when .clear() was meant in cddb.cpp. Spotted by cppcheck
Fix use after free in MediaMonitor::RemoveDevice(), found by cppcheck
Properly initialize the MythPlayer::video_aspect field.

The MythPlayer constructor unconditionally initializes video_aspect to
4.0/3.0.  In some configurations, pressing EDIT during the "Please
Wait" screen before the start of playback of a non-4:3 recording, will
bring up the cutlist editor locked into 4:3 mode.  Explicitly
initializing video_aspect earlier fixes this.
Cutlist editor: Trigger a redraw of the editbar when changes are made.

Otherwise, cut/keep marks may incorrectly stay visible when changes to
cut/keep regions are made.
Fix minor memory leak on error in mythsettings.cpp

Coverity ID 746836
Resync libmythbluray to 0.2.3-109-g4ac953b
Remove and restrict the use of some recording rule types.

This is another change in the series of changes to remove some
scheduler related features and settings that the developers no longer
believe are needed or want to support.

Remove the Timeslot and Weekslot recording rule types.  These rule
types are too rigid and don't work when a broadcaster shifts the
starting time of a program by a few minutes.  Users should now use
Channel recording rules in place of Timeslot and Weekslot rules.  To
approximate the old functionality, two new schedule filters have been
added.  In addition, the new "This time" and "This day and time"
filters are less strict and match any program starting within 10
minutes of the recording rule time.

Restrict the use of the FindDaily and FindWeekly recording rule types
(now simply called Daily and Weekly) to search and manual recording
rules.  These rule types are rarely needed and limiting their use to
the most powerful cases simplifies the user interface for the more
common cases.  Users should now use Daily and Weekly, custom search
rules in place of FindDaily and FindWeekly rules.

Any existing recording rules using the no longer supported or allowed
types are automatically converted to the suggested alternatives.
Fix potential null pointer derefences in MythUIButtonList

Coverity ID 700415
Remove some dead code from mythfilldatabase

Coverity ID 746797
Coverity ID 746798
Remove the AutoRecPriority feature.

AutoRecPriority is a little known and probably even less used feature
that dynamically adjusts recording priorities based on the user's
viewing habits.  There's a small chance it could return in the future,
but the implementation would be quite different.
Refactor: The two SetNextRecording methods are identical, move to base class.
Don't leak nextRecording or nextRingBuffer.

If a recorder was deleted after SetNextRecording has been called it
would leak a RecordingInfo and a RingBuffer. The RecordingInfo is
no big deal but the RingBuffer is holding an open file descriptor
and the application will start to misbehave if after we leak just
a few hundred of those since select() will no longer function
correctly.
Change ChannelBase::GetCardID() to return uint instead of int.
Handle wide characters in a C++03 compatible manner.

Some gcc specific handling of UTF-8 codes had snuck into the code.
This should silence some icc warnings and also allow compilation
under g++ to always produce the correct code.
Remove socket debugging accidentally left in.
Fix a couple of grammatical errors in help text.
Updated Chinese / Hong Kong MythFrontend and MythArchive translation
and new MytBrowser translation from Walter Cheuk

Closes #11254
Speed up and reduce temporary space of time search a lot.

By factoring out the description into a super query the performance can
be greatly improved (e.g. from 2 minutes to 2 seconds)

Thanks to sphery for inspiration by [d9fb21853f] and justinh for testing
and fixing my braino with the column order.

Fixes #10023
Make clang/clang++ happy compiling MythTV.

We weren't setting and clang++ flags so we got excessive output.
clang errors out in some cases when it sees the same command line option twice.

The first problem has been addressed in configure and the second in settings.pro.
Make clang happy without breaking OSX builds..