{"id":13426486,"url":"https://github.com/ritiek/play-on-kodi","last_synced_at":"2025-09-03T22:35:21.075Z","repository":{"id":57325817,"uuid":"98754661","full_name":"ritiek/play-on-kodi","owner":"ritiek","description":"Stream your local/network content directly to Kodi by making HTTP requests","archived":false,"fork":false,"pushed_at":"2022-11-27T21:18:16.000Z","size":41,"stargazers_count":28,"open_issues_count":2,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-08-30T01:58:40.313Z","etag":null,"topics":["http","kodi","local","media","stream","url"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ritiek.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-07-29T19:32:56.000Z","updated_at":"2025-03-14T23:46:21.000Z","dependencies_parsed_at":"2023-01-22T01:52:55.540Z","dependency_job_id":null,"html_url":"https://github.com/ritiek/play-on-kodi","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/ritiek/play-on-kodi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ritiek%2Fplay-on-kodi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ritiek%2Fplay-on-kodi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ritiek%2Fplay-on-kodi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ritiek%2Fplay-on-kodi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ritiek","download_url":"https://codeload.github.com/ritiek/play-on-kodi/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ritiek%2Fplay-on-kodi/sbom","scorecard":{"id":777462,"data":{"date":"2025-08-11","repo":{"name":"github.com/ritiek/play-on-kodi","commit":"c9e35bd198b92100cf73e09afddebc2fb1858cec"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Code-Review","score":0,"reason":"Found 1/29 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 3 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-23T03:57:44.990Z","repository_id":57325817,"created_at":"2025-08-23T03:57:44.990Z","updated_at":"2025-08-23T03:57:44.990Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273523169,"owners_count":25120860,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-03T02:00:09.631Z","response_time":76,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["http","kodi","local","media","stream","url"],"created_at":"2024-07-31T00:01:35.925Z","updated_at":"2025-09-03T22:35:21.048Z","avatar_url":"https://github.com/ritiek.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# play-on-kodi\n\nStream your local/network content directly on Kodi without having to\nsetup FTP, SMB or anything else.\n\n## Installation\n\nInstall the latest release with:\n```\n$ npm install -g playonkodi\n```\n\nIf you plan to hack on the code, you can instead install the development version with:\n```\n$ git clone https://github.com/ritiek/play-on-kodi\n$ cd play-on-kodi\n$ npm install -g .\n```\n\nAlso make sure you have\n[youtube-dl](https://github.com/rg3/youtube-dl/blob/master/README.md#installation) installed.\n\n## Usage\n\n```\nusage: playonkodi.js [-h] [-v] -s SERVER -p PORT [-u USER] [-P PASS] [-i INTERFACE_IP] MEDIA\n\nStream your local/network content directly on Kodi.\n\nPositional arguments:\n  MEDIA                 Path to media file\n\nOptional arguments:\n  -h, --help            Show this help message and exit.\n  -v, --version         Show program's version number and exit.\n  -s SERVER, --server SERVER\n                        Kodi's local ip address\n  -p PORT, --port PORT  Kodi's web interface port\n  -u USER, --username USER\n                        [Optional] Kodi's web interface username\n  -P PASS, --password PASS\n                        [Optional] Kodi's web interface password\n  -i INTERFACE_IP, --interface-ip INTERFACE_IP\n                        [Optional] Interface IP to send to Kodi server\n```\n\n### Examples\n\nStream a local video to Kodi\n```\n$ playonkodi -s 192.168.0.108 -p 6050 /path/to/local/media/file\n```\n\nStream a video from the internet to Kodi\n```\n$ playonkodi -s 192.168.0.108 -p 6050 http://path/to/media\n```\n\nSince this tool now uses the youtube-dl backend to resolve URLs, so you should\nbe able to media content from most websites (including YouTube, HotStar, and many more).\nJust pass the URL, and you'll know if it plays on Kodi.\n\nSend local IP address to Kodi server manually (useful if script cannot find out\nthe correct network interface IP automatically)\n```\n$ playonkodi -s 192.168.0.108 -p 6050 -i 192.168.0.105 /path/to/local/media/file\n```\n\n## Loading External Subtitles\n\nThere maybe cases where you would want to link your local media content with external\nsubtitles (.srt, etc.). Due to a limitation in Kodi, it cannot be done automatically\n(check out [issue #3](https://github.com/ritiek/play-on-kodi/issues/3)).\n\nHowever you can install `mkvtoolnix` (`$ sudo apt install mkvtoolnix`) to embed\nexternal subtitles in the container itself and pass this new container to Kodi.\n\n**For example:**\n```\n$ mkvmerge -o output.mkv input.mp4 subtitles.srt\n$ playonkodi -s 192.168.0.108 -p 6050 output.mkv\n```\n\n## Why?\n\nThis tool is supposed is supposed to be very minimal way to play local and\nnetwork files on Kodi. It was made to quickly be able to play your local media\ncontent to Kodi server. You don't want to setup FTP/SMB (if not already), add it\nas a network source on Kodi and locate the media to just make the thing play\n\n\n## How it works?\n\n- For local media, it makes your media content available locally to the devices\n  on the same network. Otherwise it just uses youtube-dl to resolve the passed URL.\n\n- It then attempts to figure out your PC's local IP address.\n\n- And lastly, it makes a network request to Kodi's jsonrpc server to play the\n  hosted media content.\n\n\n\n# License\n\n`[![License](https://img.shields.io/github/license/ritiek/play-on-kodi.svg)](https://github.com/ritiek/play-on-kodi/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fritiek%2Fplay-on-kodi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fritiek%2Fplay-on-kodi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fritiek%2Fplay-on-kodi/lists"}