Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
MoojMidge committed Apr 17, 2024
2 parents b8d0e55 + 94f7c6e commit e9ab567
Show file tree
Hide file tree
Showing 77 changed files with 3,670 additions and 641 deletions.
59 changes: 41 additions & 18 deletions .github/workflows/release-development-repository.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Generate Development Repository
name: Generate and Publish Development Repositories
on:
workflow_dispatch:
inputs:
Expand All @@ -15,13 +15,15 @@ on:
jobs:
repo-gen:
if: github.repository == 'anxdpanic/plugin.video.youtube' || github.event_name == 'workflow_dispatch'
name: Generate development repository and upload to mirrors
name: Generate development repositories and upload them to mirrors
runs-on: ubuntu-22.04
permissions:
contents: write

steps:
- name: Release Status
- name: Get and set release status
# workflow_dispatch: use prerelease variable for release status
# push-tag: check tag for alpha|beta|dev to determine release status
id: release
run: |
version=${GITHUB_REF/refs\/tags\//}
Expand All @@ -41,37 +43,44 @@ jobs:
python-version: '3.x'

- name: Install dependencies
# install lftp for mirroring repository
# install lxml for repository generator script
run: |
sudo apt update
sudo apt install lftp
python -m pip install --upgrade pip
pip install lxml
- name: Checkout Official Add-on
- name: Checkout Official Branch (Unstable and Stable Releases)
# Check out the master branch to use for official [unstable|stable] add-on zip source
uses: actions/checkout@v4
with:
path: ./official_testing/${{ github.event.repository.name }}
ref: "master"

- name: Checkout Unofficial Add-on
- name: Checkout Unofficial Branch (Unstable and Stable Releases)
# Check out the nexus-unofficial branch to use for unofficial [unstable|stable] add-on zip source
uses: actions/checkout@v4
with:
path: ./unofficial_testing/${{ github.event.repository.name }}
ref: "nexus-unofficial"

- name: Checkout Unofficial Add-on
- name: Checkout Unofficial Branch (Stable Releases)
# Check out the nexus-unofficial branch to use for unofficial [stable] add-on zip source
if: steps.release.outputs.pre-release == 'false'
uses: actions/checkout@v4
with:
path: ./unofficial/${{ github.event.repository.name }}
ref: "nexus-unofficial"

- name: Checkout Add-on
uses: actions/checkout@v4
with:
path: ${{ github.event.repository.name }}
- name: Copy Repository Generator
# Copy the repository generator script from master branch to cwd
run: |
cp ./official_testing/${{ github.event.repository.name }}/.scripts/.prepare_repository.py .
cp ./official_testing/${{ github.event.repository.name }}/.scripts/.config.json .
- name: Download Repository Add-on Files from FTP
# Download [un]official testing repository add-ons source from mirrors for generating new repository add-on zips from source
run: |
lftp -c "\
set ssl:verify-certificate false; \
Expand All @@ -84,6 +93,7 @@ jobs:
"
- name: Download Unofficial Repository Add-on Files from FTP
# Download unofficial repository add-on source from mirrors for generating new repository add-on zips from source
if: steps.release.outputs.pre-release == 'false'
run: |
lftp -c "\
Expand All @@ -95,16 +105,14 @@ jobs:
bye \
"
- name: Copy Generator Script
run: |
cp ./official_testing/${{ github.event.repository.name }}/.scripts/.prepare_repository.py .
cp ./official_testing/${{ github.event.repository.name }}/.scripts/.config.json .
- name: Generate Repository
- name: Generate Repositories
# Run the repository generator script to generate zips, addons.xml, and addons.xml.gz
run: |
python .prepare_repository.py --prerelease=${{ steps.release.outputs.pre-release }}
- name: Mirror Repository to FTP
- name: Mirror Official Testing Repository to FTP (Unstable and Stable Releases)
# Mirror the generated official testing repository to the mirrors
# https://download.osmc.tv/dev/anxdpanic/kodi/youtube/official_testing/
run: |
lftp -c "\
set ssl:verify-certificate false; \
Expand All @@ -113,11 +121,26 @@ jobs:
cd /root/anxdpanic/kodi/youtube/; \
lcd repository/; \
mirror --verbose --use-pget-n=8 -c --reverse --verbose official_testing official_testing; \
bye \
"
- name: Mirror Unofficial Testing Repository to FTP (Unstable and Stable Releases)
# Mirror the generated unofficial testing repository to the mirrors
# https://download.osmc.tv/dev/anxdpanic/kodi/youtube/unofficial_testing/
run: |
lftp -c "\
set ssl:verify-certificate false; \
set sftp:auto-confirm yes; \
open ${{ secrets.SFTP }}; \
cd /root/anxdpanic/kodi/youtube/; \
lcd repository/; \
mirror --verbose --use-pget-n=8 -c --reverse --verbose unofficial_testing unofficial_testing; \
bye \
"
- name: Mirror Unofficial Repository to FTP
- name: Mirror Unofficial Repository to FTP (Stable Releases)
# Mirror the generated unofficial repository to the mirrors
# https://download.osmc.tv/dev/anxdpanic/kodi/youtube/unofficial/
if: steps.release.outputs.pre-release == 'false'
run: |
lftp -c "\
Expand Down
46 changes: 41 additions & 5 deletions resources/language/resource.language.af_za/strings.po
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: XBMC-Addons\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: 2015-09-21 11:01+0000\n"
"PO-Revision-Date: 2024-04-12 14:59+0000\n"
"Last-Translator: Anonymous <[email protected]>\n"
Expand Down Expand Up @@ -185,11 +185,11 @@ msgstr ""
# Kodion Common
# empty strings from id 30039 to 30099
msgctxt "#30100"
msgid "Favourites"
msgid "Bookmarks"
msgstr ""

msgctxt "#30101"
msgid "Add to addon favs"
msgid "Bookmark"
msgstr ""

msgctxt "#30102"
Expand Down Expand Up @@ -1117,7 +1117,7 @@ msgid "Are you sure?"
msgstr ""

msgctxt "#30704"
msgid "Use YouTube website urls"
msgid "Use YouTube website urls with default player"
msgstr ""

msgctxt "#30705"
Expand Down Expand Up @@ -1449,7 +1449,7 @@ msgid "Choose device capabilities"
msgstr ""

msgctxt "#30787"
msgid "720p | Limited or older devices"
msgid "720p, H.264 only | Limited or older devices"
msgstr ""

msgctxt "#30788"
Expand Down Expand Up @@ -1487,3 +1487,39 @@ msgstr ""
msgctxt "#30796"
msgid "1080p/60 fps | Raspberry Pi 4, or similar"
msgstr ""

msgctxt "#30797"
msgid "1080p/30 fps or 720p/30 fps, H.264 only | Raspberry Pi 1/2, or similar"
msgstr ""

msgctxt "#30798"
msgid "Clear bookmarks list"
msgstr ""

msgctxt "#30799"
msgid "Delete bookmarks database"
msgstr ""

msgctxt "#30800"
msgid "bookmarks list"
msgstr ""

msgctxt "#30801"
msgid "Clear Bookmarks list"
msgstr ""

msgctxt "#30802"
msgid "Are you sure you want to clear your Bookmarks list?"
msgstr ""

msgctxt "#30803"
msgid "Bookmark %s"
msgstr ""

msgctxt "#30804"
msgid "Use YouTube website urls with external player"
msgstr ""

msgctxt "#30805"
msgid "Use adaptive streaming formats with external player"
msgstr ""
46 changes: 41 additions & 5 deletions resources/language/resource.language.am_et/strings.po
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: XBMC-Addons\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: 2015-09-21 11:01+0000\n"
"PO-Revision-Date: 2024-04-12 14:59+0000\n"
"Last-Translator: Anonymous <[email protected]>\n"
Expand Down Expand Up @@ -185,11 +185,11 @@ msgstr ""
# Kodion Common
# empty strings from id 30039 to 30099
msgctxt "#30100"
msgid "Favourites"
msgid "Bookmarks"
msgstr ""

msgctxt "#30101"
msgid "Add to addon favs"
msgid "Bookmark"
msgstr ""

msgctxt "#30102"
Expand Down Expand Up @@ -1117,7 +1117,7 @@ msgid "Are you sure?"
msgstr ""

msgctxt "#30704"
msgid "Use YouTube website urls"
msgid "Use YouTube website urls with default player"
msgstr ""

msgctxt "#30705"
Expand Down Expand Up @@ -1449,7 +1449,7 @@ msgid "Choose device capabilities"
msgstr ""

msgctxt "#30787"
msgid "720p | Limited or older devices"
msgid "720p, H.264 only | Limited or older devices"
msgstr ""

msgctxt "#30788"
Expand Down Expand Up @@ -1487,3 +1487,39 @@ msgstr ""
msgctxt "#30796"
msgid "1080p/60 fps | Raspberry Pi 4, or similar"
msgstr ""

msgctxt "#30797"
msgid "1080p/30 fps or 720p/30 fps, H.264 only | Raspberry Pi 1/2, or similar"
msgstr ""

msgctxt "#30798"
msgid "Clear bookmarks list"
msgstr ""

msgctxt "#30799"
msgid "Delete bookmarks database"
msgstr ""

msgctxt "#30800"
msgid "bookmarks list"
msgstr ""

msgctxt "#30801"
msgid "Clear Bookmarks list"
msgstr ""

msgctxt "#30802"
msgid "Are you sure you want to clear your Bookmarks list?"
msgstr ""

msgctxt "#30803"
msgid "Bookmark %s"
msgstr ""

msgctxt "#30804"
msgid "Use YouTube website urls with external player"
msgstr ""

msgctxt "#30805"
msgid "Use adaptive streaming formats with external player"
msgstr ""
46 changes: 41 additions & 5 deletions resources/language/resource.language.ar_sa/strings.po
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: XBMC-Addons\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: 2015-09-21 11:01+0000\n"
"PO-Revision-Date: 2024-04-12 14:59+0000\n"
"Last-Translator: Anonymous <[email protected]>\n"
Expand Down Expand Up @@ -185,11 +185,11 @@ msgstr ""
# Kodion Common
# empty strings from id 30039 to 30099
msgctxt "#30100"
msgid "Favourites"
msgid "Bookmarks"
msgstr ""

msgctxt "#30101"
msgid "Add to addon favs"
msgid "Bookmark"
msgstr ""

msgctxt "#30102"
Expand Down Expand Up @@ -1117,7 +1117,7 @@ msgid "Are you sure?"
msgstr ""

msgctxt "#30704"
msgid "Use YouTube website urls"
msgid "Use YouTube website urls with default player"
msgstr ""

msgctxt "#30705"
Expand Down Expand Up @@ -1449,7 +1449,7 @@ msgid "Choose device capabilities"
msgstr ""

msgctxt "#30787"
msgid "720p | Limited or older devices"
msgid "720p, H.264 only | Limited or older devices"
msgstr ""

msgctxt "#30788"
Expand Down Expand Up @@ -1487,3 +1487,39 @@ msgstr ""
msgctxt "#30796"
msgid "1080p/60 fps | Raspberry Pi 4, or similar"
msgstr ""

msgctxt "#30797"
msgid "1080p/30 fps or 720p/30 fps, H.264 only | Raspberry Pi 1/2, or similar"
msgstr ""

msgctxt "#30798"
msgid "Clear bookmarks list"
msgstr ""

msgctxt "#30799"
msgid "Delete bookmarks database"
msgstr ""

msgctxt "#30800"
msgid "bookmarks list"
msgstr ""

msgctxt "#30801"
msgid "Clear Bookmarks list"
msgstr ""

msgctxt "#30802"
msgid "Are you sure you want to clear your Bookmarks list?"
msgstr ""

msgctxt "#30803"
msgid "Bookmark %s"
msgstr ""

msgctxt "#30804"
msgid "Use YouTube website urls with external player"
msgstr ""

msgctxt "#30805"
msgid "Use adaptive streaming formats with external player"
msgstr ""
Loading

0 comments on commit e9ab567

Please sign in to comment.