{"id":28747883,"url":"https://github.com/stekel/kodi","last_synced_at":"2026-04-27T18:32:20.798Z","repository":{"id":62543270,"uuid":"122095156","full_name":"stekel/kodi","owner":"stekel","description":"Simple php class for interacting with a running Kodi instance","archived":false,"fork":false,"pushed_at":"2021-05-26T13:25:34.000Z","size":59,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-19T06:54:55.895Z","etag":null,"topics":["kodi","laravel","php"],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/stekel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-02-19T17:13:44.000Z","updated_at":"2018-02-20T02:12:49.000Z","dependencies_parsed_at":"2022-11-02T18:00:15.560Z","dependency_job_id":null,"html_url":"https://github.com/stekel/kodi","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/stekel/kodi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stekel%2Fkodi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stekel%2Fkodi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stekel%2Fkodi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stekel%2Fkodi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stekel","download_url":"https://codeload.github.com/stekel/kodi/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stekel%2Fkodi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32349466,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T17:12:42.749Z","status":"ssl_error","status_checked_at":"2026-04-27T17:12:41.658Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["kodi","laravel","php"],"created_at":"2025-06-16T17:12:11.321Z","updated_at":"2026-04-27T18:32:20.783Z","avatar_url":"https://github.com/stekel.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kodi\n\nThis package provides a simple api for interacting with a running Kodi instance using the Kodi jsonrpc api.\n\n## Install\n\nVia Composer\n\n``` bash\n$ composer require stekel/kodi\n```\n\n## Usage\n\n### Laravel\n\n``` php\nuse Kodi;\n\nKodi::player()-\u003eplayPause(); // Play/Pause the currently playing media\n```\n\n### Manual\n\n``` php\nuse stekel\\Kodi\\Kodi\n\n$kodi = Kodi::connect('192.168.1.100', '8080', 'xbmc', 'xbmc');\n\n$kodi-\u003eplayer()-\u003eplayPause(); // Play/Pause the currently playing media\n```\n\n## Supported Functions\n\n### Add-ons\n| Function | Execution |\n| -------- | --------- |\n| Addons.GetAddons | `$kodi-\u003eaddons()-\u003egetAddons();` |\n| Addons.ExecuteAddon : script.playrandomvideos | `$kodi-\u003eaddons()-\u003eplayRandom($model)`\u003cbr\u003e$model can be a `TvShow` or `Song` |\n\n### Gui\n| Function | Execution |\n| -------- | --------- |\n| GUI.ShowNotification | `$kodi-\u003egui()-\u003eshowNotification($title, $message);` |\n\n### Player\n| Function | Execution |\n| -------- | --------- |\n| Player.GetActivePlayers | `$kodi-\u003eplayer()-\u003egetActivePlayers();` |\n| Player.Open | `$kodi-\u003eplayer()-\u003eopen($model);`\u003cbr\u003e$model can be an `Episode` or `Song` |\n| Player.PlayPause | `$kodi-\u003eplayer()-\u003eplayPause();` |\n| Player.Stop | `$kodi-\u003eplayer()-\u003estop();` |\n| Player.GetItem | `$kodi-\u003eplayer()-\u003egetItem();`\u003cbr\u003eReturns either an `Episode` or `Song` |\n\n### Video Library\n| Function | Execution |\n| -------- | --------- |\n| VideoLibrary.GetTVShows | `$kodi-\u003evideoLibrary()-\u003egetTvShows();` |\n| VideoLibrary.GetTVShowDetails | `$kodi-\u003evideoLibrary()-\u003egetTVShowDetails(TvShow $tvshow);` |\n| VideoLibrary.GetEpisodes | `$kodi-\u003evideoLibrary()-\u003egetEpisodes($tvShowId);` |\n| VideoLibrary.GetRecentlyAddedEpisodes | `$kodi-\u003evideoLibrary()-\u003erecentlyAddedEpisodes($limit=3);` |\n| VideoLibrary.Clean | `$kodi-\u003evideoLibrary()-\u003eclean();` |","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstekel%2Fkodi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstekel%2Fkodi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstekel%2Fkodi/lists"}