mirror of
				https://github.com/DigitalDevices/pvr.octonet.git
				synced 2025-03-01 10:53:09 +00:00 
			
		
		
		
	Compare commits
	
		
			8 Commits
		
	
	
		
			20.2.0-Nex
			...
			Nexus
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|  | 419998ff98 | ||
|  | 2ff3523183 | ||
|  | bf39731a50 | ||
|  | f62c9b9cd5 | ||
|  | 656912b9f1 | ||
|  | 39dc489001 | ||
|  | c2a3daa691 | ||
|  | 51cd4c4c90 | 
							
								
								
									
										19
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										19
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							| @@ -11,17 +11,10 @@ jobs: | ||||
|       matrix: | ||||
|         include: | ||||
|         - name: "Debian package test" | ||||
|           os: ubuntu-18.04 | ||||
|           os: ubuntu-latest | ||||
|           CC: gcc | ||||
|           CXX: g++ | ||||
|           DEBIAN_BUILD: true | ||||
|         - os: ubuntu-18.04 | ||||
|           CC: gcc | ||||
|           CXX: g++ | ||||
|         - os: ubuntu-18.04 | ||||
|           CC: clang | ||||
|           CXX: clang++ | ||||
|         - os: macos-10.15 | ||||
|     steps: | ||||
|     - name: Install needed ubuntu depends | ||||
|       env: | ||||
| @@ -31,13 +24,13 @@ jobs: | ||||
|         if [[ $DEBIAN_BUILD == true ]]; then sudo apt-get update; fi | ||||
|         if [[ $DEBIAN_BUILD == true ]]; then sudo apt-get install fakeroot; fi | ||||
|     - name: Checkout Kodi repo | ||||
|       uses: actions/checkout@v2 | ||||
|       uses: actions/checkout@v4 | ||||
|       with: | ||||
|         repository: xbmc/xbmc | ||||
|         ref: master | ||||
|         ref: Nexus | ||||
|         path: xbmc | ||||
|     - name: Checkout pvr.argustv repo | ||||
|       uses: actions/checkout@v2 | ||||
|     - name: Checkout add-on repo | ||||
|       uses: actions/checkout@v4 | ||||
|       with: | ||||
|         path: ${{ env.app_id }} | ||||
|     - name: Configure | ||||
| @@ -48,7 +41,7 @@ jobs: | ||||
|       run: | | ||||
|         if [[ $DEBIAN_BUILD != true ]]; then cd ${app_id} && mkdir -p build && cd build; fi | ||||
|         if [[ $DEBIAN_BUILD != true ]]; then cmake -DADDONS_TO_BUILD=${app_id} -DADDON_SRC_PREFIX=${{ github.workspace }} -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=${{ github.workspace }}/xbmc/addons -DPACKAGE_ZIP=1 ${{ github.workspace }}/xbmc/cmake/addons; fi | ||||
|         if [[ $DEBIAN_BUILD == true ]]; then wget https://raw.githubusercontent.com/xbmc/xbmc/master/xbmc/addons/kodi-dev-kit/tools/debian-addon-package-test.sh && chmod +x ./debian-addon-package-test.sh; fi | ||||
|         if [[ $DEBIAN_BUILD == true ]]; then wget https://raw.githubusercontent.com/xbmc/xbmc/Nexus/xbmc/addons/kodi-dev-kit/tools/debian-addon-package-test.sh && chmod +x ./debian-addon-package-test.sh; fi | ||||
|         if [[ $DEBIAN_BUILD == true ]]; then sudo apt-get build-dep ${{ github.workspace }}/${app_id}; fi | ||||
|     - name: Build | ||||
|       env: | ||||
|   | ||||
							
								
								
									
										28
									
								
								.github/workflows/changelog-and-release.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										28
									
								
								.github/workflows/changelog-and-release.yml
									
									
									
									
										vendored
									
									
								
							| @@ -39,28 +39,29 @@ jobs: | ||||
|  | ||||
|       # Checkout the current repository into a directory (repositories name) | ||||
|       - name: Checkout Repository | ||||
|         uses: actions/checkout@v2 | ||||
|         uses: actions/checkout@v4 | ||||
|         with: | ||||
|           fetch-depth: 0 | ||||
|           path: ${{ github.event.repository.name }} | ||||
|  | ||||
|       # Checkout the required scripts from kodi-pvr/pvr-scripts into the 'scripts' directory | ||||
|       # Checkout the required scripts from xbmc/binary-addon-scripts into the 'scripts' directory | ||||
|       - name: Checkout Scripts | ||||
|         uses: actions/checkout@v2 | ||||
|         uses: actions/checkout@v4 | ||||
|         with: | ||||
|           fetch-depth: 0 | ||||
|           repository: kodi-pvr/pvr-scripts | ||||
|           repository: xbmc/binary-addon-scripts | ||||
|           path: scripts | ||||
|  | ||||
|       # Install all dependencies required by the following steps | ||||
|       # - libxml2-utils, xmlstarlet: reading news and version from addon.xml.in | ||||
|       - name: Install dependencies | ||||
|         run: | | ||||
|           sudo apt-get update | ||||
|           sudo apt-get install libxml2-utils xmlstarlet | ||||
|  | ||||
|       # Setup python version 3.9 | ||||
|       - name: Set up Python | ||||
|         uses: actions/setup-python@v2 | ||||
|         uses: actions/setup-python@v5 | ||||
|         with: | ||||
|           python-version: '3.9' | ||||
|  | ||||
| @@ -84,6 +85,7 @@ jobs: | ||||
|       # - steps.required-variables.outputs.version: version element from addon.xml.in | ||||
|       # - steps.required-variables.outputs.branch: branch of the triggering ref | ||||
|       # - steps.required-variables.outputs.today: today's date in format '%Y-%m-%d' | ||||
|       # Note: we use a random EOF for 'changes' as is best practice for for multiline variables | ||||
|       - name: Get required variables | ||||
|         id: required-variables | ||||
|         run: | | ||||
| @@ -92,17 +94,15 @@ jobs: | ||||
|           then | ||||
|             changes=$(xmlstarlet fo -R "$(find . -name addon.xml.in)" | xmlstarlet sel -t -v 'string(/addon/extension/news)' | awk -v RS= 'NR==1') | ||||
|           fi | ||||
|           changes="${changes//'%'/'%25'}" | ||||
|           changes="${changes//$'\n'/'%0A'}" | ||||
|           changes="${changes//$'\r'/'%0D'}" | ||||
|           changes="${changes//$'\\n'/'%0A'}" | ||||
|           changes="${changes//$'\\r'/'%0D'}" | ||||
|           echo ::set-output name=changes::$changes | ||||
|           EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64) | ||||
|           echo "changes<<$EOF" >> $GITHUB_OUTPUT | ||||
|           echo "$changes" >> $GITHUB_OUTPUT | ||||
|           echo "$EOF" >> $GITHUB_OUTPUT | ||||
|           version=$(xmlstarlet fo -R "$(find . -name addon.xml.in)" | xmlstarlet sel -t -v 'string(/addon/@version)') | ||||
|           echo ::set-output name=version::$version | ||||
|           echo "version=$version" >> $GITHUB_OUTPUT | ||||
|           branch=$(echo ${GITHUB_REF#refs/heads/}) | ||||
|           echo ::set-output name=branch::$branch | ||||
|           echo ::set-output name=today::$(date +'%Y-%m-%d') | ||||
|           echo "branch=$branch" >> $GITHUB_OUTPUT | ||||
|           echo "today=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT | ||||
|         working-directory: ${{ github.event.repository.name }} | ||||
|  | ||||
|       # Create a commit of the incremented version and changelog, news changes | ||||
|   | ||||
							
								
								
									
										9
									
								
								.github/workflows/increment-version.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										9
									
								
								.github/workflows/increment-version.yml
									
									
									
									
										vendored
									
									
								
							| @@ -15,20 +15,20 @@ jobs: | ||||
|     steps: | ||||
|  | ||||
|       - name: Checkout Repository | ||||
|         uses: actions/checkout@v2 | ||||
|         uses: actions/checkout@v4 | ||||
|         with: | ||||
|           fetch-depth: 0 | ||||
|           path: ${{ github.event.repository.name }} | ||||
|  | ||||
|       - name: Checkout Scripts | ||||
|         uses: actions/checkout@v2 | ||||
|         uses: actions/checkout@v4 | ||||
|         with: | ||||
|           fetch-depth: 0 | ||||
|           repository: xbmc/weblate-supplementary-scripts | ||||
|           path: scripts | ||||
|  | ||||
|       - name: Set up Python | ||||
|         uses: actions/setup-python@v2 | ||||
|         uses: actions/setup-python@v5 | ||||
|         with: | ||||
|           python-version: '3.9' | ||||
|  | ||||
| @@ -42,13 +42,14 @@ jobs: | ||||
|  | ||||
|       - name: Install dependencies | ||||
|         run: | | ||||
|           sudo apt-get update | ||||
|           sudo apt-get install libxml2-utils xmlstarlet | ||||
|  | ||||
|       - name: Get required variables | ||||
|         id: required-variables | ||||
|         run: | | ||||
|           version=$(xmlstarlet fo -R "$(find . -name addon.xml.in)" | xmlstarlet sel -t -v 'string(/addon/@version)') | ||||
|           echo ::set-output name=version::$version | ||||
|           echo "version=$version" >> $GITHUB_OUTPUT | ||||
|         working-directory: ${{ github.event.repository.name }} | ||||
|  | ||||
|       - name: Create PR for incrementing add-on versions | ||||
|   | ||||
							
								
								
									
										18
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										18
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							| @@ -14,7 +14,7 @@ jobs: | ||||
|  | ||||
|       # Checkout the current repository into a directory (repositories name) | ||||
|       - name: Checkout Repository | ||||
|         uses: actions/checkout@v2 | ||||
|         uses: actions/checkout@v4 | ||||
|         with: | ||||
|           fetch-depth: 0 | ||||
|           path: ${{ github.event.repository.name }} | ||||
| @@ -23,12 +23,14 @@ jobs: | ||||
|       # - libxml2-utils, xmlstarlet: reading news and version from addon.xml.in | ||||
|       - name: Install dependencies | ||||
|         run: | | ||||
|           sudo apt-get update | ||||
|           sudo apt-get install libxml2-utils xmlstarlet | ||||
|  | ||||
|       # Create the variables required by the following steps | ||||
|       # - steps.required-variables.outputs.changes: latest entry in the changelog.txt (if exists), or addon.xml.in news element | ||||
|       # - steps.required-variables.outputs.version: version element from addon.xml.in | ||||
|       # - steps.required-variables.outputs.branch: branch of the triggering ref | ||||
|       # Note: we use a random EOF for 'changes' as is best practice for for multiline variables | ||||
|       - name: Get required variables | ||||
|         id: required-variables | ||||
|         run: | | ||||
| @@ -37,16 +39,14 @@ jobs: | ||||
|           then | ||||
|             changes=$(xmlstarlet fo -R "$(find . -name addon.xml.in)" | xmlstarlet sel -t -v 'string(/addon/extension/news)' | awk -v RS= 'NR==1') | ||||
|           fi | ||||
|           changes="${changes//'%'/'%25'}" | ||||
|           changes="${changes//$'\n'/'%0A'}" | ||||
|           changes="${changes//$'\r'/'%0D'}" | ||||
|           changes="${changes//$'\\n'/'%0A'}" | ||||
|           changes="${changes//$'\\r'/'%0D'}" | ||||
|           echo ::set-output name=changes::$changes | ||||
|           EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64) | ||||
|           echo "changes<<$EOF" >> $GITHUB_OUTPUT | ||||
|           echo "$changes" >> $GITHUB_OUTPUT | ||||
|           echo "$EOF" >> $GITHUB_OUTPUT | ||||
|           version=$(xmlstarlet fo -R "$(find . -name addon.xml.in)" | xmlstarlet sel -t -v 'string(/addon/@version)') | ||||
|           echo ::set-output name=version::$version | ||||
|           echo "version=$version" >> $GITHUB_OUTPUT | ||||
|           branch=$(echo ${GITHUB_REF#refs/heads/}) | ||||
|           echo ::set-output name=branch::$branch | ||||
|           echo "branch=$branch" >> $GITHUB_OUTPUT | ||||
|         working-directory: ${{ github.event.repository.name }} | ||||
|  | ||||
|       # Create a release at {steps.required-variables.outputs.branch} | ||||
|   | ||||
| @@ -9,7 +9,7 @@ on: | ||||
|  | ||||
| jobs: | ||||
|   default: | ||||
|     if: github.repository == 'DigitalDevices/pvr.octonet' | ||||
|     if: github.repository == 'kodi-pvr/pvr.octonet' | ||||
|     runs-on: ubuntu-latest | ||||
|  | ||||
|     strategy: | ||||
| @@ -21,18 +21,18 @@ jobs: | ||||
|     steps: | ||||
|  | ||||
|       - name: Checkout repository | ||||
|         uses: actions/checkout@v2 | ||||
|         uses: actions/checkout@v4 | ||||
|         with: | ||||
|           path: project | ||||
|  | ||||
|       - name: Checkout sync_addon_metadata_translations repository | ||||
|         uses: actions/checkout@v2 | ||||
|         uses: actions/checkout@v4 | ||||
|         with: | ||||
|           repository: xbmc/sync_addon_metadata_translations | ||||
|           path: sync_addon_metadata_translations | ||||
|  | ||||
|       - name: Set up Python ${{ matrix.python-version }} | ||||
|         uses: actions/setup-python@v2 | ||||
|         uses: actions/setup-python@v5 | ||||
|         with: | ||||
|           python-version: ${{ matrix.python-version }} | ||||
|  | ||||
| @@ -55,3 +55,4 @@ jobs: | ||||
|           branch: amt-sync | ||||
|           delete-branch: true | ||||
|           path: ./project | ||||
|           reviewers: gade01 | ||||
|   | ||||
							
								
								
									
										54
									
								
								.travis.yml
									
									
									
									
									
								
							
							
						
						
									
										54
									
								
								.travis.yml
									
									
									
									
									
								
							| @@ -1,54 +0,0 @@ | ||||
| language: cpp | ||||
|  | ||||
| # | ||||
| # Define the builds to get up to date versions of cmake and gcc | ||||
| # | ||||
| env: | ||||
|   global: | ||||
|     - app_id=pvr.octonet | ||||
|  | ||||
| matrix: | ||||
|   include: | ||||
|     - os: linux | ||||
|       dist: bionic | ||||
|       sudo: required | ||||
|       compiler: gcc | ||||
|     - os: linux | ||||
|       dist: bionic | ||||
|       sudo: required | ||||
|       compiler: clang | ||||
|     - os: linux | ||||
|       dist: bionic | ||||
|       sudo: required | ||||
|       compiler: gcc | ||||
|       env: DEBIAN_BUILD=true | ||||
|     - os: linux | ||||
|       dist: focal | ||||
|       sudo: required | ||||
|       compiler: gcc | ||||
|       env: DEBIAN_BUILD=true | ||||
|     - os: osx | ||||
|       osx_image: xcode10.2 | ||||
|  | ||||
| before_install: | ||||
|   - if [[ $DEBIAN_BUILD == true ]]; then sudo add-apt-repository -y ppa:team-xbmc/xbmc-nightly; fi | ||||
|   - if [[ $DEBIAN_BUILD == true ]]; then sudo apt-get update; fi | ||||
|   - if [[ $DEBIAN_BUILD == true ]]; then sudo apt-get install fakeroot; fi | ||||
|  | ||||
| # | ||||
| # The addon source is automatically checked out in $TRAVIS_BUILD_DIR, | ||||
| # we'll put the Kodi source on the same level | ||||
| # | ||||
| before_script: | ||||
|   - if [[ $DEBIAN_BUILD != true ]]; then cd $TRAVIS_BUILD_DIR/..; fi | ||||
|   - if [[ $DEBIAN_BUILD != true ]]; then git clone --branch master --depth=1 https://github.com/xbmc/xbmc.git; fi | ||||
|   - if [[ $DEBIAN_BUILD != true ]]; then cd ${app_id} && mkdir build && cd build; fi | ||||
|   - if [[ $DEBIAN_BUILD != true ]]; then mkdir -p definition/${app_id}; fi | ||||
|   - if [[ $DEBIAN_BUILD != true ]]; then echo ${app_id} $TRAVIS_BUILD_DIR $TRAVIS_COMMIT > definition/${app_id}/${app_id}.txt; fi | ||||
|   - if [[ $DEBIAN_BUILD != true ]]; then cmake -DADDONS_TO_BUILD=${app_id} -DADDON_SRC_PREFIX=$TRAVIS_BUILD_DIR/.. -DADDONS_DEFINITION_DIR=$TRAVIS_BUILD_DIR/build/definition -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=$TRAVIS_BUILD_DIR/../xbmc/addons -DPACKAGE_ZIP=1 $TRAVIS_BUILD_DIR/../xbmc/cmake/addons; fi | ||||
|   - if [[ $DEBIAN_BUILD == true ]]; then wget https://raw.githubusercontent.com/xbmc/xbmc/master/xbmc/addons/kodi-dev-kit/tools/debian-addon-package-test.sh && chmod +x ./debian-addon-package-test.sh; fi | ||||
|   - if [[ $DEBIAN_BUILD == true ]]; then sudo apt-get build-dep $TRAVIS_BUILD_DIR; fi | ||||
|  | ||||
| script:  | ||||
|   - if [[ $DEBIAN_BUILD != true ]]; then make; fi | ||||
|   - if [[ $DEBIAN_BUILD == true ]]; then ./debian-addon-package-test.sh $TRAVIS_BUILD_DIR; fi | ||||
| @@ -1,10 +1,9 @@ | ||||
| # Octonet PVR | ||||
| Digital Devices [Octonet](http://www.digital-devices.eu/shop/de/netzwerk-tv/) PVR client addon for [Kodi](http://kodi.tv) | ||||
|  | ||||
| | Platform | Status | | ||||
| |----------|--------| | ||||
| | Linux + OS X (github) | [](https://github.com/kodi-pvr/pvr.octonet/actions/workflows/build.yml) | | ||||
| | Windows (AppVeyor) | [](https://ci.appveyor.com/project/julianscheel/pvr-octonet) | | ||||
| [](LICENSE.md) | ||||
| [](https://github.com/DigitalDevices/pvr.octonet/actions/workflows/build.yml) | ||||
| [](https://jenkins.kodi.tv/blue/organizations/jenkins/DigitalDevices%2Fpvr.octonet/branches/) | ||||
|  | ||||
| # Building | ||||
|  | ||||
|   | ||||
							
								
								
									
										33
									
								
								appveyor.yml
									
									
									
									
									
								
							
							
						
						
									
										33
									
								
								appveyor.yml
									
									
									
									
									
								
							| @@ -1,33 +0,0 @@ | ||||
| version: BuildNr.{build} | ||||
|  | ||||
| image: Visual Studio 2017 | ||||
|  | ||||
| shallow_clone: true | ||||
|  | ||||
| clone_folder: c:\projects\pvr.octonet | ||||
|  | ||||
| environment: | ||||
|   app_id: pvr.octonet | ||||
|  | ||||
|   matrix: | ||||
|     - GENERATOR: "Visual Studio 15" | ||||
|       CONFIG: Release | ||||
|     - GENERATOR: "Visual Studio 15 Win64" | ||||
|       CONFIG: Release | ||||
|     - GENERATOR: "Visual Studio 15 Win64" | ||||
|       CONFIG: Release | ||||
|       WINSTORE: -DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_SYSTEM_VERSION="10.0.17763.0" | ||||
|     - GENERATOR: "Visual Studio 15 ARM" | ||||
|       CONFIG: Release | ||||
|       WINSTORE: -DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_SYSTEM_VERSION="10.0.17763.0" | ||||
|  | ||||
| build_script: | ||||
|   - cd .. | ||||
|   - git clone --branch master --depth=1 https://github.com/xbmc/xbmc.git | ||||
|   - cd %app_id% | ||||
|   - mkdir build | ||||
|   - cd build | ||||
|   - mkdir -p definition\%app_id% | ||||
|   - echo %app_id% %APPVEYOR_BUILD_FOLDER% %APPVEYOR_REPO_COMMIT% > definition\%app_id%\%app_id%.txt | ||||
|   - cmake -T host=x64 -G "%GENERATOR%" %WINSTORE% -DADDONS_TO_BUILD=%app_id% -DCMAKE_BUILD_TYPE=%CONFIG% -DADDONS_DEFINITION_DIR=%APPVEYOR_BUILD_FOLDER%/build/definition -DADDON_SRC_PREFIX=../.. -DCMAKE_INSTALL_PREFIX=../../xbmc/addons -DPACKAGE_ZIP=1 ../../xbmc/cmake/addons | ||||
|   - cmake --build . --config %CONFIG% --target %app_id% | ||||
| @@ -1,7 +1,7 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
| <addon | ||||
|   id="pvr.octonet" | ||||
|   version="20.2.0" | ||||
|   version="20.3.0" | ||||
|   name="Digital Devices Octopus NET Client" | ||||
|   provider-name="digitaldevices"> | ||||
|   <requires>@ADDON_DEPENDS@</requires> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user