Remove the hardcoded director string in Description field of ProgramInfo and allow it to be templated instead. VIDEOS ONLY for now.
(cherry picked from commit 097247ae9fe9063dc407c74b8f0fe84eb39d507e)

Fixes #11861
QT treats a single ampersand as special, we must double up ampersands to display them. Fixes #11806
(cherry picked from commit 9265f8e82bde8acb2b5efbbaf72674dc4509719c)
Fix master backend crashing when receiving events from a slave

This is a workaround for 0.27 and requires a proper fix.

Fixes #11316

Signed-off-by: Daniel Kristjansson <danielk@cuymedia.net>
Signed-off-by: Stuart Morgan <smorgan@mythtv.org>
(cherry picked from commit a6c0330baa5ab01d3877a3d56818c3fcf8068a28)
Fix event socket reconnections. Refs #11777

SafeConnectToMaster() needlessly checked whether the control socket
was connected before calling ConnectToMasterServer(). This broken
reconnection of the event socket in the event that the control socket
had remained connected.

This doesn't fix the root cause of #11777 but it should eventually
allow the frontend to recover.
(cherry picked from commit fdd8f784a7774ad873992ea9d66e2645ae694c14)
Don't send ALLOW/BLOCK_SHUTDOWN on the event socket. Refs #11777

The event socket is a 'Monitor' connection it won't block shutdown so
there's nothing gained by sending these messages on it. Additionally
it's only ever used in conjunction with a control socket to the same
server (master) and we've just sent the message via that socket, so
it's redundant.
(cherry picked from commit cb8b4204808879e1e7205bdf900e89e71f3e08a2)
Close file descriptor after dup2

Close the file descriptor assgined by open if it
is not the same as the newfd.

Fixes coverity 1028694
Fixes #11607

(It seems likely that coverity will not agree that it is
fixed, since it will not recognize the belt and suspenders
checking of the fd being the value dup'ed to).

Signed-off-by: Stuart Morgan <smorgan@mythtv.org>
Prevent a segfault in MythSystemLegacyPrivate. This is just a hack to avoid the crash until we can figure out the root cause. Refs #11795
(cherry picked from commit 9059c42eab34bcdaa160afa988ed99c4ae30dbaa)
MythUIButtonlist: fix removing the last item using RemoveItem()

All arrange methods except the fixed one failed to make the last button
invisible when the last item was removed.

Fixes #11285.

(cherry picked from commit d982be7d414da2678521137e08849186921a8369)
MusicCommon: remove the workaround to remove the last track

Refs #11285.

(cherry picked from commit 2f3cd3cfc36a44c6676fcdb6e48437ef627b237c)
Call Tc->Poll() outside if statement and ignore function value.

Fixes #11298

Signed-off-by: Stuart Morgan <smorgan@mythtv.org>
(cherry picked from commit 7c46e2ad254811c9210698f616e000aca749b035)
Setting VERSION to v0.27
Update the Swedish translation.

Update of the Swedish translation for mythfrontend and all plugins made
by me and Roger Mårtensson (thank you!).

(cherry picked from commit 246b2e6a2e496aa8f56c32d38d3997cbf5ff2b1c)