Revert "Fix settings display on macs"

This reverts commit 15425cb53e643a8c00975c1ef0ea7674464fdca2.
My analysis for the problem in 96ecd539de8e76a880f0013b4b8854da216e17b1 was wrong.
The actual issue is that QPalette inheritance appears broken on a mac; if you set the palette to the top widget container, it doesn’t do anything on its children. However, setting the palette to the main application itself does.

Now things look exactly the same between mac and linux for better or worse. Including font sizes and colors.
A downside, is that the selection color appears to be misused in most themes including the default. So you can't tell if a text is selected or simply having focus
Qt bug: QTBUG-32067, QTBUG-26144 (over 224 bugs related to palette use in Qt as of 2014-04-05)
Fix linking issues.

Spotted by Craig Treleaven, freetype linking parameters were added twice and too early, causing general linking with installed system libraries first, and then local tree ones.
Configure also automatically adds all libraries checked for to EXTRALIBS define
Fixes Video Playback Profile Editor.

Two corrected issues:
1- Adding or Editing an existing profile, did nothing visually, but would actually update the database
2- When deleting a profile, the newly selected one wasn’t actually saved as default

Was broken since 2007 by the look of things (feature first introduced in aaf6f2b5b1eee055074a72513ca819d97dd687cb)
Fixes #7004 and others
Revert "Fixes Video Playback Profile Editor."

This reverts commit b254bb09bbb77d109e8992a2108ec135bf99144b.
Fixes Video Playback Profile Editor.

Two corrected issues:
1- Adding or Editing an existing profile, did nothing visually, but would actually update the database. Regression was introduced in 9686f034ac54
2- When deleting a profile, the newly selected one wasn’t actually saved as default
Add optional XML declaration to pidprinter

Refs #11812
import inetref from xmltv into program guide

see http://xmltv.cvs.sourceforge.net/viewvc/xmltv/xmltv/xmltv.dtd?r1=1.45&r2=1.46
currently the expectation is that also a category "series" or "movie" is
present and for series an xmltv_ns episode number
EIT improvements for DVB

Fixes #11914, Refs #10136

Signed-off-by: Stuart Auchterlonie <stuarta@squashedfrog.net>
Remove file check for pytmdb3.cache

This is a partial roll back of 2c50a824b and remove the check for the
pytmdb3.cache file, allowing the library to simply create the file if
necessary.

Fixes #11876
MythMusic: allow some views to be nested so you can return to previous views

This allows you to for example switch to the full screen visualiser from the
playlist and playlist editor views and when you exit the visualiser you will
return to the previous view you was on rather than exit MythMusic.
MythMusic: always start playback after adding tracks to the current playlist
CDRip: Fix Coverity ID 1196562 Division or modulo by float zero

Make sure we get a sector count before proceeding with the rip. It's very
unlikely we would have some tracks but not find any sectors but ...
MythMusic General Settings: Fix Coverity ID 1196561 Unchecked return value

Check the queries to truncate the music tables executed OK
Protect pbs with proper (aka locked) refcounting.

The PlaybackSock must not be immediatly deleted on connectionClosed()
if some other requests are still using it. This leads to segfaults in
the MBE when the SBE disconnects (#11306).
(cherry picked from commit 7b305848b0584bcebc55d6fe5a670ef7d2f55360)

Refs #11306
Signed-off-by: Stuart Auchterlonie <stuarta@squashedfrog.net>
Allow user to force a specific HLS bitrate to record.  Right now there is no

UI to make this easy, and I have mostly used it as a debugging tool.

To use this, the channel and iptv_channel tables need to be updated.

In the channel table, create a separate channel entry for each bitrate.  In other
words, instead of just having a SKYNEWS channel and allowing myth to auto
select the best bitrate for the available bandwidth, create three separate
SKYNEWS channels:  SKYNEWS-1, SKYNEWS-2, SKYNEWS-3.

INSERT INTO `channel` (`chanid`, `channum`, `freqid`, `sourceid`,
`callsign`, `name`, `icon`, `finetune`, `videofilters`, `xmltvid`,
`recpriority`, `contrast`, `brightness`, `colour`, `hue`, `tvformat`,
`visible`, `outputfilters`, `useonairguide`, `mplexid`, `serviceid`,
`tmoffset`, `atsc_major_chan`, `atsc_minor_chan`, `last_record`,
`default_authority`, `commmethod`, `iptvid`) VALUES
(5051,'5-1',NULL,5,'SKYNEWS-1','SKYNEWS-1','',NULL,'','19572',0,32768,32768,32768,32768,'Default',1,'',0,NULL,0,0,0,0,'2014-02-20 21:40:47','',-1,NULL),
(5052,'5-2',NULL,5,'SKYNEWS-2','SKYNEWS-2','',NULL,'','19572',0,32768,32768,32768,32768,'Default',1,'',0,NULL,0,0,0,0,'2014-02-20 21:40:47','',-1,NULL),
(5053,'5-3',NULL,5,'SKYNEWS-3','SKYNEWS-3','',NULL,'','19572',0,32768,32768,32768,32768,'Default',1,'',0,NULL,0,0,0,0,'2014-02-20
21:40:47','',-1,NULL);

In the iptv_channel table, also create a separate channel entry for each
bitrate, and set the 'bitrate' column to be the index of the desired
bitrate.

INSERT INTO `iptv_channel` (`chanid`, `url`, `type`, `bitrate`)
VALUES
(5051,'http://skynews-1.ml.llnwd.net/skynews_sd/smil:mbr_alpha.smil/playlist.m3u8','data',1),
(5052,'http://skynews-1.ml.llnwd.net/skynews_sd/smil:mbr_alpha.smil/playlist.m3u8','data',2),
(5053,'http://skynews-1.ml.llnwd.net/skynews_sd/smil:mbr_alpha.smil/playlist.m3u8','data',3);

I may change this from using an index to the actual desired bitrate.  If the
feed suddenly changes the bitrates they offer, though, that could cause it
to suddenly stop working.

If users find value in being able to select a specific bitrate, a UI will
have to be developed.
Add an "External" recorder to Myth.  This allows myth to read in a Transport Stream via a pipe from an external application.  See http://www.mythtv.org/wiki/ExternalRecorder for documentation.
Extend the time-outs in mythplayer to allow the analog side of the hvr-2250

to work.

Patch by webe3vt@aim.com

Fixes #11402
Revert programs/mythfrontend/scheduleeditor.* to a sane state.

stgit is useful, but when it blowes it, it can create a mess!
Fix path to ExternalRecorder in .pro file