From b8794d22a344bc0f876426b24f7bfd2e336f6bf7 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 20 Oct 2026 08:28:13 +0000 Subject: [PATCH] Install the repository ZIP straight from an HTTP source in Kodi The docs workflow now publishes the repository ZIP with a directory listing at /repo/ on the docs site. Kodi can add that URL as a File manager source and install the ZIP from it, so TVs and boxes (webOS, Android TV, Fire TV) no longer need the ZIP copied over by USB stick or network share. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01P8B2rKqi31EXKBScqDeM1i --- .github/workflows/docs.yml | 12 ++++++++++++ README.md | 4 +++- docs/installation.md | 10 ++++++++++ 3 files changed, 25 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index a6ac212f0..15e2721da 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -43,6 +43,18 @@ jobs: cache-dependency-path: requirements-docs.txt - run: pip install -r requirements-docs.txt - run: mkdocs build --strict + # site/repo/ is a directory listing Kodi can add as an HTTP source, so the + # repository ZIP installs without copying it to the device first. + # Kodi only lists links whose text equals the href, next to the page. + - name: Repository ZIP as Kodi HTTP source + env: + REPO_ZIP: repository.sendtokodi-1.0.0.zip + run: | + mkdir -p site/repo + curl -fsSL -o "site/repo/$REPO_ZIP" \ + "https://raw.githubusercontent.com/firsttris/repository.sendtokodi/master/$REPO_ZIP" + printf '\nSendToKodi repository\n%s
\n\n' \ + "$REPO_ZIP" "$REPO_ZIP" > site/repo/index.html - uses: actions/upload-pages-artifact@v3 with: path: site diff --git a/README.md b/README.md index e413a4539..8ff91b5cf 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,9 @@ CoreELEC. The add-on is not in the official Kodi repository, so install the Send the add-on updated automatically. 1. Download [repository.sendtokodi-1.0.0.zip](https://github.com/firsttris/repository.sendtokodi/raw/refs/heads/master/repository.sendtokodi-1.0.0.zip) - to a place your Kodi can reach. + to a place your Kodi can reach. On a TV without a USB stick or network share, add + `https://firsttris.github.io/plugin.video.sendtokodi/repo/` as a source in Kodi's **File manager** instead and + pick the ZIP from there in step 2. 2. In Kodi, go to **Add-ons → Install from zip file** and install the ZIP (allow *Unknown sources* once if Kodi asks). 3. Go to **Add-ons → Install from repository → SendToKodi Repository → Video add-ons** and install **SendToKodi**. diff --git a/docs/installation.md b/docs/installation.md index ee08f2623..2dc08695b 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -36,6 +36,16 @@ it up to date automatically. 4. Go to *Add-ons → Install from repository → SendToKodi Repository → Video add-ons → SendToKodi* and choose *Install*. Kodi installs the dependencies with it. +!!! tip "No USB stick or network share? Install straight from the web" + On TVs and streaming boxes (webOS, Android TV, Fire TV) copying a file to the device is often awkward. Kodi + can fetch the repository ZIP itself instead; this replaces step 1 and step 3: + + 1. Go to *Settings → File manager → Add source*, select *<None>*, enter + `https://firsttris.github.io/plugin.video.sendtokodi/repo/`, name the source *SendToKodi* and confirm. + 2. Go to *Add-ons → Install from zip file → SendToKodi* and pick `repository.sendtokodi-1.0.0.zip`. + + Then continue with step 4. + From now on Kodi updates SendToKodi together with its other add-ons. If you turned off automatic add-on updates, new versions appear under *Add-ons → My add-ons → Video add-ons → SendToKodi → Update*.