[Project] Dual Audio Output support (Krypton/Jarvis/Isengard/Helix/Gotham/Frodo)

  Thread Rating:
  • 9 Vote(s) - 4.56 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Ryangodammit Offline
Junior Member
Posts: 40
Joined: Jun 2015
Reputation: 2
Location: New Zealand
Post: #646
(2017-07-26 21:53)Farseer Wrote:  
(2017-06-08 22:55)Ryangodammit Wrote:  Hey shark I did it the other day, it's real easy.

Get the entire dual audio libreelec build that you want from the beginning of this thread then put it into your updates folder via samba share or ssh (or whatever you need), then restart your system and it will install it.
I've turned off auto updates because I imagine that would remove everything

Hey there,

What system are you running LE on? I'm having trouble getting this to work on a RPi3.

Thanks!

I'm running on a Asus chrome box. Works very easy.
Although I just updated to the newest libreelec build because I was getting a few bugs and glitches couldn't tell it it was my settings or the build. Lost dual audio of course.
I'll go back to it soon enough
find quote
bambam82 Offline
Junior Member
Posts: 5
Joined: Sep 2013
Reputation: 0
Post: #647
I'm currently trying to build 8.0.0 with Dual Audio for RPi2 (and 3).
Ran into some issue with liberation-fonts-ttf, which wouldn't gunzip. I've downloaded it from another source and now it is continuing... Curious how long this will take though.

I took a few (8) hours and a few fixes, which of course took the longest time

Below are the fixes I needed to do to come to an actual tar file.

Code:
diff --git a/packages/tools/dtc/package.mk b/packages/tools/dtc/package.mk
index 49b53a7..be129ef 100644
--- a/packages/tools/dtc/package.mk
+++ b/packages/tools/dtc/package.mk
@@ -21,7 +21,7 @@ PKG_VERSION="1.4.2"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="https://git.kernel.org/cgit/utils/dtc/dtc.git"
-PKG_URL="https://git.kernel.org/cgit/utils/dtc/dtc.git/snapshot/$PKG_VERSION.tar.xz"
+PKG_URL="https://git.kernel.org/cgit/utils/dtc/dtc.git/snapshot/$PKG_VERSION.tar.gz"
PKG_SOURCE_DIR="$PKG_VERSION"
PKG_DEPENDS_TARGET="toolchain"
PKG_SECTION="tools"
diff --git a/packages/x11/font/liberation-fonts-ttf/package.mk b/packages/x11/font/liberation-fonts-ttf/package.mk
index b7b8506..6992ca6 100644
--- a/packages/x11/font/liberation-fonts-ttf/package.mk
+++ b/packages/x11/font/liberation-fonts-ttf/package.mk
@@ -21,7 +21,9 @@ PKG_VERSION="2.00.1"
PKG_ARCH="any"
PKG_LICENSE="OFL1_1"
PKG_SITE="https://www.redhat.com/promo/fonts/"
-PKG_URL="https://fedorahosted.org/releases/l/i/liberation-fonts/$PKG_NAME-$PKG_VERSION.tar.gz"
+PKG_URL="http://sources.openelec.tv/mirror/liberation-fonts-ttf/$PKG_NAME-$PKG_VERSION.tar.gz"
+# ORG
+#PKG_URL="https://fedorahosted.org/releases/l/i/liberation-fonts/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain util-macros"
PKG_SECTION="x11/fonts"
PKG_SHORTDESC="liberation-fonts: High quality "open-sourced" vector fonts"
diff --git a/projects/RPi2/patches/kodi/kodi-001-backport.patch b/projects/RPi2/patches/kodi/kodi-001-backport.patch
index 355c349..5890d11 100644
--- a/projects/RPi2/patches/kodi/kodi-001-backport.patch
+++ b/projects/RPi2/patches/kodi/kodi-001-backport.patch
@@ -46920,14 +46920,14 @@ index 9db3a9cc91fd5f9b194d6c1aa66aa02121164c29..56170f48cda417554c57b2adf934c2df
    }
  }
  
-@@ -602,6 +609,7 @@ bool CVideoPlayerAudio::SwitchCodecIfNeeded()
-   bool allowpassthrough = !CSettings::GetInstance().GetBool(CSettings::SETTING_VIDEOPLAYER_USEDISPLAYASCLO​CK);
-   if (m_streaminfo.realtime)
-     allowpassthrough = false;
-+  allowpassthrough |= CSettings::GetInstance().GetInt("audiooutput.plladjust") > 0;
-   CDVDAudioCodec *codec = CDVDFactoryCodec::CreateAudioCodec(m_streaminfo, m_processInfo, allowpassthrough, m_processInfo.AllowDTSHDDecode());
-   if (!codec || codec->NeedPassthrough() == m_pAudioCodec->NeedPassthrough()) {
-     // passthrough state has not changed
+#@@ -857,6 +864,7 @@ bool CVideoPlayerAudio::SwitchCodecIfNeeded()
+#   bool allowpassthrough = !CSettings::GetInstance().GetBool(CSettings::SETTING_VIDEOPLAYER_USEDISPLAYASCLO​CK);
+#   if (m_streaminfo.realtime)
+#     allowpassthrough = false;
+#+  allowpassthrough |= CSettings::GetInstance().GetInt("audiooutput.plladjust") > 0;
+#   CDVDAudioCodec *codec = CDVDFactoryCodec::CreateAudioCodec(m_streaminfo, m_processInfo, allowpassthrough, m_processInfo.AllowDTSHDDecode());
+#   if (!codec || codec->NeedPassthrough() == m_pAudioCodec->NeedPassthrough()) {
+#     // passthrough state has not changed
diff --git a/xbmc/linux/RBP.cpp b/xbmc/linux/RBP.cpp
index 5a6f780517cff0c31f1c40e5e95445d448eb2297..6e8529001b1a464b4547a846f553d98f5bc0b6​c0 100644
--- a/xbmc/linux/RBP.cpp

Testing of the actual file and dual audio will be done in the morning.
(This post was last modified: 2017-07-29 22:23 by bambam82.)
find quote
Farseer Offline
Junior Member
Posts: 6
Joined: Apr 2011
Reputation: 0
Post: #648
(2017-07-29 20:09)bambam82 Wrote:  I'm currently trying to build 8.0.0 with Dual Audio for RPi2 (and 3).
Ran into some issue with liberation-fonts-ttf, which wouldn't gunzip. I've downloaded it from another source and now it is continuing... Curious how long this will take though.

I took a few (8) hours and a few fixes, which of course took the longest time

Below are the fixes I needed to do to come to an actual tar file.

Testing of the actual file and dual audio will be done in the morning.

Thank you very much for working on this! Did everything complete successfully?
find quote
Lunatixz Online
Skilled Python Coder
Posts: 5,065
Joined: May 2011
Reputation: 155
Location: NYC
Post: #649
This is exactly what I need... Any plans for a 17.3 release?
find quote
Post Reply