Hopefully remove more scheduler/recorder deadlocks.

Change the scheduler to unlock schedLock when calling the recorder
synchronously.  If the recorder happens to be calling the scheduler at
the same time, this allows the recorder's call to grab the lock as
needed.

Fixes #10647, #10770 and #10771 .
Tidy up MythConfirmationDialog::ShowOkPopup()

Signed-off-by: Stuart Morgan <smorgan@mythtv.org>
Don't leave an invalid pointer when deleting the main stack
freemheg: Better tab handling

Signed-off-by: Lawrence Rust <lvr@softsystem.co.uk>
Signed-off-by: Stuart Morgan <smorgan@mythtv.org>
freemheg: Correct font x-resolution

The x-resolution used for size calculations of blocks of text is incorrect.
This most noticeably causes tables to be incorrectl;y formatted.

This patch also corrects a bug in the text block size calculation.

Signed-off-by: Lawrence Rust <lvr@softsystem.co.uk>
Signed-off-by: Stuart Morgan <smorgan@mythtv.org>
Use MythDate::current().toTime_t().

This has the same result as QDateTime::currentDateTime().toTime_t(), but avoids a conversion to and from localtime.
Use UTC time for createion of log files.

This was somehow missed in the UTC conversion. For consistency
with other files created with a date and time these should use
UTC in the naming of the log files.
Initialize m_Time properly in MythUIClock.
Use correct time in Airplay server response.

We've been using localtime in a date time string with GMT appended to it...
Fixes #10877. Add MythDate::as_utc() wrapper where necessary.

There were a few datetime's from the database that didn't get wrapped in the UTC
conversion. Some because they were added after the initial conversion, but a couple
were just missed.
Use MythDate::current() to get current time in DVR class.

The code will work as is but will do some unnecessary timezone lookups.
Return 'asof' time in UTC.

This was missed in the 0.25 conversion of the Services API to UTC.

This increments the DvrServices API version from 1.4 to 1.5
Translation context changes and remove of concatenations.

There are still a few strings that need fixing but I'll have to find
where these are displayed before changing them.
mythgallery: Improve the list of supported image and movie file formats

Since images are read using QImage::load() it is correct to use
QImageReader::supportedImageFormats to specify the list of supported types.

Add *.iso, *.img and *.bin to the list of movie files supoorted by mplayer.

Signed-off-by: Lawrence Rust <lvr@softsystem.co.uk>
Signed-off-by: Stuart Morgan <smorgan@mythtv.org>
ChannelScan: Update multiplex transponder and network id when channel updated

When a transport is added manually using the transport editor, the transport
and network ids are not known and are left unset.  This causes a problem
for interactive TV which tunes a channel by network and transport id.

This patch updates the transport and network ids for a multiplex whenever a
channel is found or updated on the transport.

Signed-off-by: Lawrence Rust <lvr@softsystem.co.uk>
Signed-off-by: Stuart Morgan <smorgan@mythtv.org>
MythMusic: Add ice/shoutcast radio stream playback
(cherry picked from commit 92681341499885f162db33acf0479e3ec1fa02bd)

Conflicts:

	mythplugins/mythmusic/mythmusic/metadata.cpp
	mythplugins/mythmusic/mythmusic/metadata.h
	mythplugins/mythmusic/mythmusic/musicplayer.h

Signed-off-by: Stuart Morgan <smorgan@mythtv.org>
Hunk missed from mythmusic streaming merge.
MythMusic: Add some menu items for the new radio stream playback
(cherry picked from commit 33ae837c8cffb8cf8495cc85d060767d586c6078)

Signed-off-by: Stuart Morgan <smorgan@mythtv.org>
Use the global musicDir variable instead of querying the setting
Remove use of OF zlib macro in MythGame.

The macro seems to only be of any use for compilers that are not ANSI-C
compliant, which should be... nothing these days. Chances are the rest
of the code base wouldn't compile on it anyway. On anything modern, the
macro doesn't do anything. Remove it and see what happens. Comments in
zconf.h seem to indicate it may cause problems for OSX.

Refs #10507