Repository navigation
Install the repository ZIP straight from an HTTP source in Kodi - #199
Merged
Merged
Conversation
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 Report✅ All modified and coverable lines are covered by tests. 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. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
On TVs and streaming boxes (webOS, Android TV, Fire TV), copying
repository.sendtokodi-1.0.0.zipto 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: aftermkdocs build, fetch the repository ZIP fromfirsttris/repository.sendtokodiintosite/repo/and write anindex.htmllisting it. The page is deployed with the docs tohttps://firsttris.github.io/plugin.video.sendtokodi/repo/.CHTTPDirectoryparser 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 --strictpasses locally.index.htmlis generated, and the ZIP containsrepository.sendtokodi/.xbmc/filesystem/HTTPDirectory.cpp.Generated by Claude Code