Update the myth protocol version after the addition of the MythMusic commands
PlaylistEditorView: null check the playlist in getPlaylistTracks

Fixes Coverity ID #1164500
MetaIO: clear the m_fileinfo struct in the ctor to keep Coverity happy

Fixes Coverity ID #1164503
MusicFileScanner: initialise some member variables in the ctor

This is really a false positive because they are all set to 0 before use in
SearchDirs() anyway. Fixes Coverity ID #1164504
MythSingleDownload: initialise m_errorcode in the ctor

Fixes Coverity ID #1192763
MythMusic: fix mixed up smart playlist "starts with" and "ends with" criteria

Fixes #12097

Signed-off-by: Paul Harrison <pharrison@mythtv.org>
Fixes #12098 Only dynamically load the libGLESv2 library if OpenGL ES is enabled.

The nvidia driver version 334.21 has included the libGLESv2 library.
Users upgrading to the newer drivers were seeing mythfrontend segfault
because it was dynamically loading this library and then using it
incorrectly (because mythtv had been build with opengles disabled)
Add BonjourRegister::ReAnnounceService()

This allows to force re-announcing an already published service
Advertise RAOP service before AirPlay service.

This helps having the AirPlay device being recognised as a full service
Fix AirPlay occasionally only showing as an audio device on iOS 7.x

We re-announce the AirPlay video service 2s after the first registration followed by every 10s.
This forces the video service to be registered after the RAOP Service. Since the release of iOS 7, AirPlay has been very much unusable.

Thanks to Memphiz from the XBMC team to figuring the cause.

Fixes #11901
findIcon: use RemoteFile::FindFile() to search for the icons

FindFile() is a lot more efficient than Exists() since it only looks in the
specified storage group.
getAlbumArtFile: add a sanity check before searching for the image
PlaylistEditorView: make sure we only update the images once in itemVisible

If no image could be found for a node each time a node becomes visible we
would retry to find one. This uses a text field as a flag to make sure we
only look for an image the first time a node becomes visible.
PlaylistEditorView: don't bother looking for an icon for some nodes
Make AirPlay photo sharing works with iOS 7.1
No need to add randomisation to bonjour first registration
Improve AirPlay photosharing

Make the AirPlay photo sharing’s behavior closer to what an Apple TV does:
- Make the photo disappear whenever you exit the photo application
- Allows to play music while showing photos
- Improve transition between photos and videos
- Only make the photo disappear once video playback has started
Myth Protocol: add optional allowFallback parameter to QUERY_SG_FILEQUERY

A value of '0' will prevent it falling back to searching every storage group
if not found in the specified one. If omitted or a value of '1' is passed then
it will fall back to search all storage groups.

format is now:
QUERY_SG_FILEQUERY <host> <storagegroup> <filename> <allowfallback (optional)>
RemoteFile::FindFile: make sure we only search the storage group we want
PlaylistEditorView: don't use itemVisible if using the tree view

This will make sure we don't hunt for node images and icons if we are using the
tree view which doesn't show them.

It would be nice to only disable the hunt if the buttonimage image is not
present in the buttonlist but I can't see a way to do that.