Fix audio sync.

Fixes #11440

Signed-off-by: Jean-Yves Avenard <jyavenard@mythtv.org>
(cherry picked from commit 9ec7421138adef73ef9cb83b74e046092fecdd6a)
Fix categorytype for Dish & Bell EIT. The wrong values were being set, in particular causing news to be marked as 'sports' and sports as 'series' which would affect certain scheduling decisions.
Reorder and rename the choices in the capture card combo box

To try and reduce some confusion and common mis-configuration the descriptions and order of the options has been changed. The most commonly used options are listed first, through to the least used and similar or related choices are grouped together. Incorrect descriptions such as 'DVB Capture' are replaced by more descriptive strings e.g. 'DVB-T/S/C, ATSC or ISDB-T tuner card'
(cherry picked from commit 536b7c1a02639c4ee8fa8bb53a511a2e751ed461)
Make DVB the first target in the CaptureCardGroup triggered configuration.
(cherry picked from commit 801028a3cc56db5c658bf81fd0f5a862d3bcf272)
make "Universal (Europe)" the default LNB type

Signed-off-by: Stuart Morgan <smorgan@mythtv.org>
(cherry picked from commit 0556cdb6e40486ae3d1abb84e4c876d5cb1b30e6)
Warn about reliance on the XMLTV 'TimeOffset' setting which has been
removed in 0.27

The XMLTV specification states that dates and times must be either in
GMT/UTC or specify an offset from GMT/UTC in ISO8601 format. Since the
'offset' setting has caused so much confusion over the years we're
removing it and requiring all xmltv input to follow the specs.

This change also sets the default for this setting to 'Auto' which it
should have been from the beginning.
Avoid un-necessary video mode changes.

Fixes #11494
(cherry picked from commit 8aca90207ffffc9dd512fa11cd9d88d1f4b5884f)
Revert "Avoid un-necessary video mode changes."

This reverts commit 3c763fdca88075f8ba7667f5096583d66307b2cd.
Avoid un-necessary video mode changes.

Fixes #11494
(cherry picked from commit 8aca90207ffffc9dd512fa11cd9d88d1f4b5884f)
minor code cleanup.

Following 8aca90207ffffc9dd512fa11cd9d88d1f4b5884f, remove useless test and tidy-up
(cherry picked from commit 4e23172d774cf36a45b7b7f382797a9887fa6de6)
New Netherlands locale file
from tycholursen@gmail.com

Thank you!

closes #11502

Signed-off-by: Nicolas Riendeau <nriendeau@mythtv.org>
MythNews: improve media:content parsing in rss feeds

* use the medium or type attributes to determine whether the content is an
  image or video. Previously we ignored the type and ended up trying to play
  an image.

* if we haven't found any thumbnail image then use any images found in the
  media:content as the thumbnail. Fixes #11161.

* parse all the media:content items not just the first one we find.
(cherry picked from commit 7d9c51eb75ae37f39a57eb969c0ad7e532738e8a)
update mythtranscode to work with ac3 with newer ffmpeg

ffmpeg has moved the duration/size of the audio frame to another place, so look
there

links used to figure it out how to move forward
http://ffmpeg.org/trac/ffmpeg/ticket/1240
http://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=364c71c80e9124a2624e3bfeb8e84c5cddeda222
http://code.mythtv.org/trac/ticket/2077#comment:42

thanks to Nicolas Pöhlmann for finding the commit that broke it

Refs: #2077
(cherry picked from commit a9b906528)
add NULL check missed in [a9b90652]

found by Jim Stichnoth

Refs #2077
(cherry picked from commit f04a8e42b)
mythmusic: Save playlists to DB when changed not at frontend exit

This changes things so any changes to playlists are saved to the database
immediately rather than cached and saved when the frontend exits.

This fixes a problem were you could lose edits to a playlist if the FE is not
shutdown cleanly like when using the idle timer to shutdown or if you shutdown
the computer from the FE exit menu.
(cherry picked from commit 70143c30dfb67812ecd6cb29e66a10353579054f)

Fixes #11228
Updated MythFrontend English GB translation
from Nick Morrott

Thank you Nick!

Refs #11522

Signed-off-by: Nicolas Riendeau <nriendeau@mythtv.org>
mythnews: fix debugging in NewsSite::parseRSS()
(cherry picked from commit f17a6fd24bab751f00b361249b7d2129108e335d)
Fix crash.

When playback request failed for whatever reason, if we were to check for the playback status it would crash due to ic being NULL.
(cherry picked from commit cc1ca2ef2c12cd25cbced5b57b527382d2d70926)
Properly handle multi-part http request in AirPlay video

This commit also adds the basics required to support AirPlay photo. Incidentally, properly handling multi-part data now allows to play videos from the iPhone "Photos" app.
(cherry picked from commit 75541357af4a527057301f8f1b4b2ae0368f47b1)
changed: allow 4 second skew between streams in mov before attempting to seek

Signed-off-by: Jean-Yves Avenard <jyavenard@mythtv.org>
(cherry picked from commit e4170c604e6a6af969e5de74ac740ac596686da8)