Skip to content

Install the repository ZIP straight from an HTTP source in Kodi - #199

Merged
firsttris merged 2 commits into
masterfrom
claude/awesome-dirac-z285vb
Oct 20, 2026
Merged

firsttris merged 2 commits into
masterfrom
claude/awesome-dirac-z285vb

Conversation

@firsttris

Copy link
Copy Markdown
Owner

Summary

On TVs and streaming boxes (webOS, Android TV, Fire TV), copying repository.sendtokodi-1.0.0.zip to the device first is awkward (see #167 (comment)). Kodi can install a ZIP directly from an HTTP source, but only from a URL that serves a directory listing, not from the raw ZIP URL.

  • .github/workflows/docs.yml: after mkdocs build, fetch the repository ZIP from firsttris/repository.sendtokodi into site/repo/ and write an index.html listing it. The page is deployed with the docs to https://firsttris.github.io/plugin.video.sendtokodi/repo/.
    • The listing matches what Kodi's CHTTPDirectory parser accepts: a relative link whose text equals the href, with the file next to the page.
  • docs/installation.md: tip box explaining how to add the URL as a source in File manager and install the ZIP from it.
  • README.md: one-line pointer in the install steps.

Test plan

  • mkdocs build --strict passes locally.
  • Ran the new workflow step locally: the ZIP downloads, index.html is generated, and the ZIP contains repository.sendtokodi/.
  • Checked the generated listing against the link regex and name/link check in Kodi Omega's xbmc/filesystem/HTTPDirectory.cpp.
  • Not yet tested on a real Kodi device; the URL only works after this is merged and the docs are deployed.

Generated by Claude Code

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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01P8B2rKqi31EXKBScqDeM1i
@codecov

codecov Bot commented Oct 20, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.65%. Comparing base (87115e3) to head (3a571cd).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #199   +/-   ##
=======================================
  Coverage   84.65%   84.65%           
=======================================
  Files          14       14           
  Lines        2601     2601           
=======================================
  Hits         2202     2202           
  Misses        399      399           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@firsttris
firsttris merged commit 0c565c3 into master Oct 20, 2026
6 checks passed
@firsttris
firsttris deleted the claude/awesome-dirac-z285vb branch October 20, 2026 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants