Fix segfaults in MythUIType::UpdateDependState() following 640da5a9
ExternalStreamHandler: prevent an unlikely segfault
AvFormatDecoder::ProcessVideoFrame: Prevent a segfault.
Recently the V4L2_ENC_CMD_START has become less and less likely to actually
start encoding with the HD-PVR.  Go back to using a simple read instead,
which is more like what we did before adding HD-PVR support.

Further, give it several chances.  At least with the HD-PVR getting a
"Resource temporarily unavailable" is not uncommon.
RecorderBase::SetRecordingStatus: When entering a failing state, send REC_FAILING system event.
From 149a80a818218baa96e52f36798c6632e9a5bb91 Mon Sep 17 00:00:00 2001
Subject: [PATCH] Enhance tv_rec recording profile info message with cardid

Signed-off-by: John Poet <jpoet@mythtv.org>
From 0fa4cff4764e777e8211aaabce780944a87f622e Mon Sep 17 00:00:00 2001
Subject: [PATCH] Enhance tv_rec recording profile messages in fallback/error
 cases

Signed-off-by: John Poet <jpoet@mythtv.org>
adapt mythwikiscript to the changed html code
create downloaded wiki script as executable files
test existence of target directory and try to create it if its missing
Set the VID_AVC flag where applicable recordings by inspecting the video codec during recording.
Remove a header that ended up not being used.
Fix some DB queries in ProfileGroupEditor which weren't using bound values.
Fix some DB queries in ChannelUtil which weren't using bound values.
Fix a slew of errors in the previous commit.
MythMusic: Fix out of bounds array access in spectrum visualizer

NB This was the cause of the 'sticky bars' often seen with this visualiser.

Signed-off-by: Paul Harrison <pharrison@mythtv.org>
UK EIT fixup. Set category_type to movie where the event category starts with 'Movie' or 'Film'
UPnP: Refactor various parts of the code

The way we build the object tree has changed allowing for a tree depth
greater than one. e.g. Genre > Artist > Album > Tracks.

The number of queries required to build results has been significantly
reduced which should improve response times.

XBox and WMP 11 specific hacks have been disabled. In part to allow
users of these systems to test new UPnP behaviour, but also because
these non-upnp compliant bits need better segregation from
the core code.

Searching and sorting has been disabled because the existing
implementation was incomplete and broken. This will be finished and
re-enabled soon.

There will be bugs, if you absolutely depend upon UPnP then please hold off
updating for a little so I can fix issues found by wider testing. Of
course if nobody tests UPnP then issues won't get found ...
UPnP: Disable the mixing of genres and videos in the Video 'Movie' view. Not sure it really works and there's a bug in the totals count anyway.
Alter the schema of the unused recordedfile table. Use recordedid instead of chanid/starttime, change the names of two columns for clarity.