Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@ set(EON_HEADERS
addon_version(pvr.eon EON)
add_definitions(-DEON_VERSION=${EON_VERSION})

if(DEFINED APP_VERSION_MAJOR)
set(INPUTSTREAM_ADAPTIVE_MINVERSION "${APP_VERSION_MAJOR}.0.0")
else()
set(INPUTSTREAM_ADAPTIVE_MINVERSION "21.0.0")
endif()

build_addon(pvr.eon EON DEPLIBS)

include(CPack)
39 changes: 37 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,47 @@ This is the EON.tv PVR client addon for Kodi. It provides Kodi integration for t
4. `cmake -DADDONS_TO_BUILD=pvr.eon -DADDON_SRC_PREFIX=../.. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=../../xbmc/addons -DPACKAGE_ZIP=1 ../../xbmc/cmake/addons`
5. `make`

### Local checkout note

- `ADDON_SRC_PREFIX` only redirects the source path. Kodi still requires an addon definition for `pvr.eon` via `ADDONS_DEFINITION_DIR` or `xbmc/cmake/addons/addons/pvr.eon/pvr.eon.txt`.
- The current `xbmc` `master` branch tracks Kodi `Piers` (v22). The `Omega` branch of this addon should be built against an `xbmc` Omega checkout.
- Reproducible Docker builds are available under `tools/docker/` for:
- Linux `x86_64`: `build-linux-amd64.sh`
- Linux `armv7`: `build-linux-armv7.sh`
- Linux `aarch64`: `build-linux-aarch64.sh`
- Android `armv7`: `build-android-armv7.sh`
- Android `aarch64`: `build-android-aarch64.sh`

### Docker builds

1. Ensure the sibling `xbmc` checkout has `origin/Omega`.
2. Run the matching build script for your target from the addon root, for example `./tools/docker/build-linux-amd64.sh` or `./tools/docker/build-android-aarch64.sh`.
3. Use the generated zip from the corresponding `build/docker-*/zips/` directory.

For ARM Linux targets, the Docker scripts default to `LINUX_RENDER_SYSTEM=gles`. If your target uses desktop OpenGL, override it, for example:

`LINUX_RENDER_SYSTEM=gl ./tools/docker/build-linux-aarch64.sh`

The Android Docker image installs:
- Android SDK command-line tools
- Android platform `android-36`
- Android build-tools `36.0.0`
- Android NDK `28.2.13676358`

The build uses Kodi's `tools/depends` step only to generate the Android binary-addon toolchain, then cross-builds `pvr.eon` through `xbmc/cmake/addons`.

For older Android Kodi builds, you can match the Kodi tag and Android NDK used by that Kodi release. Example for Kodi 21.2:

`XBMC_REF=21.2-Omega ANDROID_NDK_VERSION=21.4.7075529 ANDROID_NDK_API=21 ./tools/docker/build-android-aarch64.sh`

## Notes

- Tested building it for Linux and Android / x86 and aarch64
- Tested building it for Linux `x86_64`, Linux `armv7`, Linux `aarch64`, Android `armv7`, and Android `aarch64`
- Only tested Telemach.ba, but other should work as well or should be easy to fix
- Depends on inputstream addon
- Fast forward and rewind won't work in Replay TV because that is handled via specific servers which inputstream does not support
- Standard inputstream-based Replay TV still behaves like a short rolling live HLS window on EON/Vivacom, so full seek/rewind is limited there
- `Experimental native archive streaming` adds working archive seek support for finished replay programmes and for `EPG -> Play programme` on already-started events
- Direct live channel `Switch` still uses the standard live playback path and does not yet expose the native archive/timeshift behavior

##### Useful links

Expand Down
4 changes: 2 additions & 2 deletions pvr.eon/addon.xml.in
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<addon
id="pvr.eon"
version="21.7.9"
version="21.7.11"
name="EON PVR Client"
provider-name="Nirvana">
<requires>
@ADDON_DEPENDS@
<import addon="inputstream.adaptive" minversion="21.0.0"/>
<import addon="inputstream.adaptive" minversion="@INPUTSTREAM_ADAPTIVE_MINVERSION@"/>
<import addon="script.module.inputstreamhelper" version="0.5.8"/>
</requires>
<extension point="kodi.pvrclient" library_@PLATFORM@="@LIBRARY_FILENAME@"/>
Expand Down
2 changes: 2 additions & 0 deletions pvr.eon/changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
v21.7.11
- Maintenance release
v21.5.0
- Initial release
v21.6.0
Expand Down
4 changes: 4 additions & 0 deletions pvr.eon/resources/language/resource.language.bg_BG/strings.po
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,10 @@ msgctxt "#30056"
msgid "Възрастово ограничение"
msgstr ""

msgctxt "#30057"
msgid "Експериментално собствено архивно стриймване"
msgstr ""

msgctxt "#30500"
msgid "Грешка при входящия поток"
msgstr ""
Expand Down
4 changes: 4 additions & 0 deletions pvr.eon/resources/language/resource.language.de_de/strings.po
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,10 @@ msgctxt "#30056"
msgid "Age Rating"
msgstr "Altersfreigabe"

msgctxt "#30057"
msgid "Experimental native archive streaming"
msgstr "Experimentelles natives Archiv-Streaming"

msgctxt "#30500"
msgid "Inputstream error"
msgstr "Inputstream Fehler"
Expand Down
4 changes: 4 additions & 0 deletions pvr.eon/resources/language/resource.language.en_gb/strings.po
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,10 @@ msgctxt "#30056"
msgid "Age Rating"
msgstr ""

msgctxt "#30057"
msgid "Experimental native archive streaming"
msgstr ""


msgctxt "#30500"
msgid "Inputstream error"
Expand Down
4 changes: 4 additions & 0 deletions pvr.eon/resources/language/resource.language.en_us/strings.po
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,10 @@ msgctxt "#30056"
msgid "Age Rating"
msgstr ""

msgctxt "#30057"
msgid "Experimental native archive streaming"
msgstr ""

msgctxt "#30500"
msgid "Inputstream error"
msgstr ""
Expand Down
5 changes: 5 additions & 0 deletions pvr.eon/resources/settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,11 @@
</constraints>
<control type="list" format="integer" />
</setting>
<setting id="experimentalnativestream" type="boolean" label="30057">
<level>0</level>
<default>false</default>
<control type="toggle" />
</setting>
</group>
</category>
</section>
Expand Down
Loading
Loading