Skip to content

Commit 2496057

Browse files
author
Jeffrey Kardatzke
authored
Merge pull request google#493 from jusjoken/master
SD EPG fixes [ci release]
2 parents 1b5d4a5 + ff61323 commit 2496057

File tree

20 files changed

+734
-195
lines changed

20 files changed

+734
-195
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ on:
99
jobs:
1010
build:
1111

12-
# runs-on: ubuntu-latest
13-
runs-on: ubuntu-18.04
12+
# runs-on: ubuntu-latest 2025-03-04 changed to 22.04 as 20.04 is no longer supported as of 4/1/2025
13+
runs-on: ubuntu-22.04
1414

1515
steps:
1616
- uses: actions/checkout@v2

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,23 @@
11
# Change Log
22

33
## Next
4+
5+
## Version 9.2.9 (2025-03-11)
46
* Updated gradle script so that project could build in Netbeans
57
* Updated the FFMPEGTranscoder to fallback to frame count instead of time to calculate progress
68
* Allow IR blasters that support it to xmit non-numeric Tune strings (eg 42-1).
9+
* SD EPG changes to correct image retrieval without token and other API corrections/updates
10+
* SD EPG added debug_sd_support property to enable extra debug info when contacting SD support
11+
* SD EPG added sdepg_core/bypassCelebrityImages to allow users in the future to bypass reteiving Celebrity images from SD if causing issues
12+
* SD EPG added sdepg_core/bypassProgramImages to allow users in the future to bypass retrieving Program images from SD if causing issues
13+
* SD EPG added sdepg_core/bypassEPGUpdates to allow users in the future to bypass retrieving EPG from SD if causing issues
14+
* SD EPG added wizard/scheduled_maintenance and wizard/scheduled_maintenance_offset to allow users to set the hour that the daily maintenance will run
15+
* SD EPG added code to support SD now passing back the current token along with its expiration
16+
* SD EPG fix for send SD empty program lists as well as malformed endpoint for metadata/program
17+
* SD EPG fix enpoint call for metadata/programs to use 14 character programID rather than shortended to 10
18+
* Added seeker/duration_for_watchdog property to handle long running watchdog process for larger libraries (defaults to 60000)
19+
* Windows installer build notes updated for location of missing files needed for the build
20+
* Added ability to notify user if a new version is available on Github (defaults to enabled but can be disabled)
721

822
## Version 9.2.8 (2022-01-05)
923
* Update to build process to support Linux build on Ubuntu 18.04 and JDK 11

build.gradle

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ ext {
4848
version = fullVersion
4949

5050
// Just printing out the SAGETV build version for informational purposes
51-
// System.out.println("SAGETV VERSION ${versionArch}");
51+
//System.out.println("SAGETV VERSION ${versionArch}");
5252

5353
// set gradle's buildDir to something other than the default 'build', or
5454
// we'll end up deleting EVERYTHING in 'build' when we ./gradlew clean
@@ -322,19 +322,22 @@ def getBuildNumber() {
322322

323323
if (OperatingSystem.current().isLinux()) {
324324
// use git to find the build version
325-
ant.exec(
326-
command: 'git rev-list HEAD --count',
327-
os: 'Linux',
328-
failonerror: true,
329-
outputproperty: 'sagebuildnum')
330-
331-
buildVer = ant.sagebuildnum
325+
// 03-06-2025 jusjoken: Also we should note that you will get error code 128 if you have git
326+
// installed, but you did not pull this project using git because git will not know where
327+
// to get the commit count from.
328+
new ByteArrayOutputStream().withStream { outputStream ->
329+
exec {
330+
executable 'git'
331+
args 'rev-list', 'HEAD', '--count'
332+
standardOutput = outputStream
333+
}
334+
buildVer = outputStream.toString().trim()
335+
}
332336
} else if (OperatingSystem.current().isWindows()) {
333337
//ensure full path to git\bin is in the Path Environment variable on windows
334338
// 04-24-2017 JS: I changed this to remove the dependency on sh. Also we should note that
335339
// you will get error code 128 if you have git installed, but you did not pull this project
336-
// using git because git will not know where to get the commit count from. This is likely
337-
// true for Linux too.
340+
// using git because git will not know where to get the commit count from.
338341
new ByteArrayOutputStream().withStream { outputStream ->
339342
exec {
340343
executable 'git'
@@ -381,7 +384,7 @@ task(updateBuildNumber) {
381384
// save buildnumber to file
382385
// we'll be referencing it later
383386
// Eventually we'll do this, but for now, fetch it every time
384-
// new File('.buildnumber').write(buildVersion)
387+
new File('.buildnumber').write(buildVersion)
385388
}
386389
}
387390

build/buildmplayer.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ if [ "$MPLAYER_NEW" = "1" ] ; then
3838
else
3939
# use legacy mplayer build
4040
cd ../third_party/mplayer/
41-
LDFLAGS="-no-pie" ./configure --host-cc=gcc --disable-gcc-check --enable-runtime-cpudetection --disable-mencoder --disable-gl --enable-directx --enable-largefiles --disable-langinfo --disable-tv --disable-dvdread --disable-dvdread-internal --disable-menu --disable-libdvdcss-internal --enable-pthreads --disable-debug --disable-freetype --disable-fontconfig --enable-stv --enable-stream-sagetv --disable-ivtv --disable-x264 --extra-libs=-lpthread --disable-png || { echo "Build failed, exiting."; exit 1; }
41+
LDFLAGS="-no-pie" ./configure --host-cc=gcc --disable-gcc-check --enable-runtime-cpudetection --disable-mencoder --disable-gl --enable-directx --enable-largefiles --disable-langinfo --disable-tv --disable-dvdread --disable-dvdread-internal --disable-menu --disable-libdvdcss-internal --enable-pthreads --disable-debug --disable-freetype --disable-fontconfig --enable-stv --enable-stream-sagetv --disable-ivtv --disable-x264 --extra-libs="-lpthread -pthread" --disable-png || { echo "Build failed, exiting."; exit 1; }
4242
make -j32 || { echo "Build failed, exiting."; exit 1; }
4343
echo "Built OLD mplayer"
4444
cp -v mplayer ../../build/elf

installer/Readme.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,19 @@
22

33
This folder includes the files needed to perform the build of the installers for windows
44

5-
Note: this is a work in progress and I hope to add more scripting and automation over time
6-
75
## Change the versions for an installer release
86
* all version information is retreived from java/sage/Version.java
97

108
## Use powershell script to build each part of the product
119
### From Admin Powershell
12-
* cd C:\Projects\Installer\sagetv\installer\wix\SageTVSetup
10+
* cd C:\Projects\sagetv\installer\wix\SageTVSetup #or whatever the path is to ""
1311
* .\installerbuild.ps1 -A
1412
### Notes
1513
* run .\installerbuild.ps1 without any parameters to see the list of available options
16-
* to upload to bintray add the -u parameter such as ".\installerbuild.ps1 -A -u"
14+
* if building the sage.jar, miniclient.jar elsewhere then use .\installerbuild.ps1 -A -xAll -nj
1715

1816
## Notes:
1917
* building of imageloader.dll and swscale.dll still need to be added to this powershell script
20-
* I will expand on this document as time permits as you will need WIX installed as well as VS2015 and a number of environment variables to make this work.
18+
* after cloning the sagetv github repo you will be missing files needed for the installer build. They can be downloaded here...
19+
https://github.com/OpenSageTV/sagetv-windows/releases/tag/v1.1
2120

0 commit comments

Comments
 (0)