Make RingBuffer::WriterFlush() only flush data not sync it.

The reason we do syncs of the data is so that Linux doesn't build up too
many bufferred writes and freeze up the system later on writing many
GB to disk at once. However the amount of data typically flushed in
this call is not going to greatly increase the amount of data that will
need to be handled on the next fsync and this sync is causing
DTVRecorder::SetNextRecording() to take several seconds, hence
delaying TVRec::SwitchRecordingRingBuffer() and TVRec::StartRecording().
Since TVRec::StartRecording() blocks the scheduler this can mean
recording on other recorders is delayed by several seconds for
each other recorder starting a recording at the same time.
Add mechanism to MythSystem for log argument passthrough.

This adds the kMSPropagateLogs bit to the flags accepted by MythSystem,
for use with MythTV binaries. If enabled, it will automatically append
the necessary command line logging arguments, as a String or StringList,
which ever is appropriate.

Refs #11026
Convert previewgenerator to MythSystem and apply nice settings.

This converts the calls that run the Preview Generator externally from
the old myth_system help function to the new MythSystem class. This
change is necessary to apply nice and ionice values to the external
task, to prevent it from interfering with other, more time sensitive
tasks.

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

Signed-off-by: Raymond Wagner <rwagner@mythtv.org>
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.
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
Change the BackendServerIP settings to combo boxes showing the available values. Makes configuration a little easy and invalid configurations harder.
Add locale arg to all metadata grabber to facilite grabbing locale specific information. Refs #10240

Signed-off-by: Stuart Morgan <smorgan@mythtv.org>
HTML Setup: Fix loading of ui-multiselect-en.js

Fixes #10910. Refs #10651.
Merge branch 'master' of code.mythtv.org:mythtv
Implement fuzzy matching of channels for EIT.

Refs #10784. First try to find the channel using the full
NetID, TransportID, ServiceID. If that fails try again using
just NetID, ServiceID.

We can extend this further using some of the other ideas in
this ticket.
Read in dbPingHost value from config.xml.

Fixes #11148
Extend EIT parser to handle 3DTV signalling Fixes #10044

Signed-off-by: Stuart Morgan <smorgan@mythtv.org>
MythPlayer: Add support for InteractiveTV streams

This patch adds functionality to MythPlayer to enable interactive TV content
to select altenative streamed media for display.

NB this patch needs to be applied together with that for InteractionChannel
streaming.

Refs #10019

Signed-off-by: Lawrence Rust <lvr@softsystem.co.uk>
Signed-off-by: Stuart Morgan <smorgan@mythtv.org>
freemheg: Add InteractionChannel streaming from network URI's

This patch adds BBC iPlayer functionality to the MHEG library.

NB This patch must be applied in conjunction with that to MythPlayer
which supports Interactive TV program streams.

Refs #10019

Signed-off-by: Lawrence Rust <lvr@softsystem.co.uk>
Signed-off-by: Stuart Morgan <smorgan@mythtv.org>
freemheg: Don't return an object not present error until timeout occurs

Remove the error return in GetCarouselData when GetDSMCCObject returns
'not present' since the object and/or data may arrive later.

This fixes a problem with the BBC interactive logo not being displayed
after switchiong to a BBC channel.

Refs #10019

Signed-off-by: Lawrence Rust <lvr@softsystem.co.uk>
Signed-off-by: Stuart Morgan <smorgan@mythtv.org>
Trigger system events for each screen

Closes #9395

Signed-off-by: Stuart Morgan <smorgan@mythtv.org>
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>
Allow special or default values in Spinboxes outside their normal range and display an optional label. Fixes #10393

Signed-off-by: Stuart Morgan <smorgan@mythtv.org>