Skip to content
Merged
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
12 changes: 12 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 '<!DOCTYPE html>\n<html><head><meta charset="utf-8"><title>SendToKodi repository</title></head><body>\n<a href="%s">%s</a> <br>\n</body></html>\n' \
"$REPO_ZIP" "$REPO_ZIP" > site/repo/index.html
- uses: actions/upload-pages-artifact@v3
with:
path: site
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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**.

Expand Down
10 changes: 10 additions & 0 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 *&lt;None&gt;*, 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*.

Expand Down
Loading