From 5a918608ab8dde9d09dc5e8aea08855bf5145049 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Tue, 13 Dec 2016 18:45:58 +0000
Subject: mythtv & mythplugins: update to latest fixes

mythtv: disable subtitle cutdown in recording options
---
 abs/core/mythtv/stable-0.28/git_src/git_hash                 |  2 +-
 abs/core/mythtv/stable-0.28/mythplugins/PKGBUILD             |  2 +-
 abs/core/mythtv/stable-0.28/mythtv/PKGBUILD                  |  4 +++-
 .../disable_subtitle_cutdown_in_recording_options.patch      | 12 ++++++++++++
 4 files changed, 17 insertions(+), 3 deletions(-)
 create mode 100644 abs/core/mythtv/stable-0.28/mythtv/disable_subtitle_cutdown_in_recording_options.patch

diff --git a/abs/core/mythtv/stable-0.28/git_src/git_hash b/abs/core/mythtv/stable-0.28/git_src/git_hash
index 3fb8d98..b5dbddb 100644
--- a/abs/core/mythtv/stable-0.28/git_src/git_hash
+++ b/abs/core/mythtv/stable-0.28/git_src/git_hash
@@ -1 +1 @@
-e9d0543d64fc21072fb1a0199ac2e24334169461
+2d6466f1aa08c29531f27edd61963d5180186a96
diff --git a/abs/core/mythtv/stable-0.28/mythplugins/PKGBUILD b/abs/core/mythtv/stable-0.28/mythplugins/PKGBUILD
index 63cb9c9..d79049b 100644
--- a/abs/core/mythtv/stable-0.28/mythplugins/PKGBUILD
+++ b/abs/core/mythtv/stable-0.28/mythplugins/PKGBUILD
@@ -9,7 +9,7 @@ pkgname=('mytharchive'
          'mythweather'
          'mythzoneminder')
 pkgver=0.28
-pkgrel=27
+pkgrel=28
 arch=('i686' 'x86_64')
 url="http://www.mythtv.org"
 license=('GPL')
diff --git a/abs/core/mythtv/stable-0.28/mythtv/PKGBUILD b/abs/core/mythtv/stable-0.28/mythtv/PKGBUILD
index b369178..19f3648 100644
--- a/abs/core/mythtv/stable-0.28/mythtv/PKGBUILD
+++ b/abs/core/mythtv/stable-0.28/mythtv/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=mythtv
 pkgver=0.28
-pkgrel=27
+pkgrel=28
 commit_hash=`cat ../git_src/git_hash`
 pkgdesc="A Homebrew PVR project $commit_hash"
 arch=('i686' 'x86_64')
@@ -27,6 +27,7 @@ patches=(
          'autoskip_reduce_commskip_jumpback.patch'
          'change_msg_types.patch'
          'disable_mythnotification_tuner_failure.patch'
+         'disable_subtitle_cutdown_in_recording_options.patch'
          'tv.cpp_fix_caps.patch'
          'add_categorytype_Program.pm.patch'
          'searchMetatdataSelectedGrabber.patch'
@@ -112,6 +113,7 @@ md5sums=('e30b482dcd5f3e71c6419fd753bab2b1'
          '0bf5e92c0609a7eda8f253bf2e032590'
          'f8a56ac814722b110dc9859169b9bda9'
          '1cd668136deea20efb79cf3e6310effc'
+         '3420d15014274b5bf8083355af71304b'
          '62c42b1043ebf65959fa9eced9ca3ed8'
          'fa836371ebeb3be5b9855be8dd016f82'
          '0f674b9cad031ba1e03aaf6b5ee1499f'
diff --git a/abs/core/mythtv/stable-0.28/mythtv/disable_subtitle_cutdown_in_recording_options.patch b/abs/core/mythtv/stable-0.28/mythtv/disable_subtitle_cutdown_in_recording_options.patch
new file mode 100644
index 0000000..ed958e0
--- /dev/null
+++ b/abs/core/mythtv/stable-0.28/mythtv/disable_subtitle_cutdown_in_recording_options.patch
@@ -0,0 +1,12 @@
+--- src/mythtv/programs/mythfrontend/playbackbox.cpp.orig	2016-12-12 20:49:50.224910076 +0000
++++ src/mythtv/programs/mythfrontend/playbackbox.cpp	2016-12-12 20:50:40.898386010 +0000
+@@ -3289,9 +3289,6 @@
+     if (!pginfo.GetSubtitle().isEmpty())
+     {
+         extra = QString('\n') + pginfo.GetSubtitle();
+-        int maxll = max(title.length(), 20);
+-        if (extra.length() > maxll)
+-            extra = extra.left(maxll - 3) + "...";
+     }
+ 
+     return QString("\n%1%2\n%3").arg(title).arg(extra).arg(timedate);
-- 
cgit v0.12

