libmyth: mediamonitor-windows add removeable media handling

This patch adds handling for USB/removable drives to the Win32
media monitor.  Currently it's restricted to CDs only.

Fixes #10295

Signed-off-by: Lawrence Rust <lvr@softsystem.co.uk>
Signed-off-by: Gavin Hurlbut <ghurlbut@mythtv.org>
libmythbase: Handle mixed-mode (audio+data) CDs

This fixes a bug in mythcdrom-linux.cpp which currently announces
the data portion of a mixed mode CD rather than the audio.  This change
enables MythMusic to autoplay the CD audio.

Fixes #10296

Signed-off-by: Lawrence Rust <lvr@softsystem.co.uk>
Signed-off-by: Gavin Hurlbut <ghurlbut@mythtv.org>
Add a doctype to index.html for the backend server

Fixes #10639
use qIsNaN in place of ::isnan

Feature patch for g++ C++0x/C++11 standards compliance

When compiling with g++ and specifing -std=c++0x the compilation fails in
mythplayer.cpp due to a namespace collision for isnan (std:: and math::).

Patch attached which changes mythplayer to use the Qt function qIsNaN,
providing a platform neutral implementation now that Qt has made that
function available (in Qt 4.6).

Since MythTV does not currently specify use of the new C++ standards, this
patch is not necessary at this time, but may useful be at some future date
(when gcc defaults to the C++11 standards?)

Fixes #10524

Signed-off-by: Gavin Hurlbut <ghurlbut@mythtv.org>
freemheg: Support bitmaps with included content

Signed-off-by: Lawrence Rust <lvr@softsystem.co.uk>
Signed-off-by: Stuart Morgan <smorgan@mythtv.org>
freemheg: Fix the colour of default initialised visible elements

Signed-off-by: Lawrence Rust <lvr@softsystem.co.uk>
Signed-off-by: Stuart Morgan <smorgan@mythtv.org>
freemheg: Catch divide by zero

Signed-off-by: Lawrence Rust <lvr@softsystem.co.uk>
Signed-off-by: Stuart Morgan <smorgan@mythtv.org>
freemheg: Support JPEG bitmaps

Signed-off-by: Lawrence Rust <lvr@softsystem.co.uk>
Signed-off-by: Stuart Morgan <smorgan@mythtv.org>
freemheg: Print ActionSlot number in disassembly to aid debugging

Signed-off-by: Lawrence Rust <lvr@softsystem.co.uk>
Signed-off-by: Stuart Morgan <smorgan@mythtv.org>
freemheg: Added ASN1 codes for InteractionChannel

Signed-off-by: Lawrence Rust <lvr@softsystem.co.uk>
Signed-off-by: Stuart Morgan <smorgan@mythtv.org>
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.