{ "info": { "author": "Jean-Christophe Saad-Dupuy", "author_email": "jc.saaddupuy@fsfe.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.1", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Multimedia", "Topic :: Utilities" ], "description": "|Python Versions| |Wheel status| |Licence| |Travis| |codecov|\n\npython kodi json client\n=======================\n\nSimple python module that allow kodi control over HTTP Json API.\nVirtually support all availables commands.\n\nInstall it :\n\n.. code:: bash\n\n pip install kodi-json\n\nUsages examples :\n\nClient instanciation\n\n.. code:: python\n\n from kodijson import XBMC, PLAYER_VIDEO\n #Login with default kodi/kodi credentials\n kodi = XBMC(\"http://YOURHOST/jsonrpc\")\n\n #Login with custom credentials\n kodi = XBMC(\"http://YOURHOST/jsonrpc\", \"login\", \"password\")\n\nPing kodi\n\n.. code:: python\n\n print kodi.JSONRPC.Ping()\n\nUI interaction :\n\n.. code:: python\n\n # Navigate throught windows\n kodi.GUI.ActivateWindow({\"window\":\"home\"})\n kodi.GUI.ActivateWindow({\"window\":\"weather\"})\n\n # Show some notifiations :\n kodi.GUI.ShowNotification({\"title\":\"Title\", \"message\":\"Hello notif\"})\n\n # ...and so on\n\nParameters can alos be passed as python parameters:\n\n.. code:: python\n\n kodi.GUI.ActivateWindow(window=\"home\")\n kodi.GUI.ActivateWindow(window=\"weather\")\n kodi.GUI.ShowNotification(title=\"Title\", message = \"Hello notif\")\n\nLibrary interaction :\n\n.. code:: python\n\n kodi.VideoLibrary.Scan()\n kodi.VideoLibrary.Clean()\n # ...and so on\n\nEverything to build a script thats act as a full remote\n\n.. code:: python\n\n kodi.Application.SetMute({\"mute\":True})\n kodi.Player.PlayPause([PLAYER_VIDEO])\n kodi.Player.Stop([PLAYER_VIDEO])\n kodi.Input.Left()\n kodi.Input.Right()\n kodi.Input.Up()\n kodi.Input.Down()\n kodi.Input.Back()\n kodi.Input.Down()\n kodi.Input.Info()\n # ...and so on\n\nSee http://wiki.xbmc.org/index.php?title=JSON-RPC_API/v6 for availables\ncommands.\n\nEvery kodi namespaces are accessible from the instanciated kodi client.\n\nEvery commands presents in the `API\ndocumentation `__\nshould be available.\n\nYou can take a look at\n`xbmc-client `__ for an\nimplementation example.\n\nContribute\n----------\n\nPlease make your PR on the branch develop :)\n\n.. |Python Versions| image:: https://img.shields.io/pypi/pyversions/kodi-json.svg?maxAge=2592000\n :target: https://pypi.python.org/pypi/kodi-json/\n.. |Wheel status| image:: https://img.shields.io/pypi/wheel/kodi-json.svg?maxAge=2592000\n :target: https://pypi.python.org/pypi/kodi-json/\n.. |Licence| image:: https://img.shields.io/pypi/l/kodi-json.svg?maxAge=2592000\n :target: https://pypi.python.org/pypi/kodi-json/\n.. |Travis| image:: https://img.shields.io/travis/jcsaaddupuy/python-kodi.svg?maxAge=2592000\n :target: https://pypi.python.org/pypi/kodi-json/\n.. |codecov| image:: https://codecov.io/gh/jcsaaddupuy/python-kodi/branch/master/graph/badge.svg\n :target: https://codecov.io/gh/jcsaaddupuy/python-kodi\n", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jcsaaddupuy/python-kodijson", "keywords": null, "license": "WTFPL", "maintainer": null, "maintainer_email": null, "name": "kodi-json", "package_url": "https://pypi.org/project/kodi-json/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/kodi-json/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/jcsaaddupuy/python-kodijson" }, "release_url": "https://pypi.org/project/kodi-json/1.0.0/", "requires_dist": null, "requires_python": null, "summary": "Python module for controlling kodi over HTTP Json API", "version": "1.0.0" }, "last_serial": 2309548, "releases": { "0.3.2": [], "1.0.0": [ { "comment_text": "", "digests": { "md5": "ecdd32ca1ccd419a34dca3ca178dd977", "sha256": "ccca09a7ff92781a8c87ac4db345bae30c6bb0f09b4bfcba3e1bcdb63a566053" }, "downloads": -1, "filename": "kodi_json-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ecdd32ca1ccd419a34dca3ca178dd977", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 3843, "upload_time": "2016-08-28T14:56:06", "url": "https://files.pythonhosted.org/packages/3b/43/43c553de849393269cdb29d7f2e0ee033a411c8d7a95d365291109d57aa4/kodi_json-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b8c61dd2cb5534ccabe7bb9333579a77", "sha256": "98f6d28857fca9b375b9f841788ee8799f0c8134bc99b6c5345a3becfefb45fd" }, "downloads": -1, "filename": "kodi_json-1.0.0-py3.5.egg", "has_sig": false, "md5_digest": "b8c61dd2cb5534ccabe7bb9333579a77", "packagetype": "bdist_egg", "python_version": "3.5", "requires_python": null, "size": 4896, "upload_time": "2016-08-27T13:44:47", "url": "https://files.pythonhosted.org/packages/e4/89/26cd7f5505a4d4ded2921363b460a3cec38e0da22051326a7d640c59c1f8/kodi_json-1.0.0-py3.5.egg" }, { "comment_text": "", "digests": { "md5": "65338eeb2ad72bd99757bf37c515daca", "sha256": "797a6f051760dcfc8872c6f18e31edaeae14800914c621fd742a724256b80e27" }, "downloads": -1, "filename": "kodi_json-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "65338eeb2ad72bd99757bf37c515daca", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 3676, "upload_time": "2016-08-27T13:44:36", "url": "https://files.pythonhosted.org/packages/65/f7/0d35d79c3f3082742b2d3df707c5a48525791ee312420a6079e62b282dc5/kodi_json-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "91c967912041b141de0f7586a005ba86", "sha256": "151e5ffe5024742a1d190d4100cc3d40eade332f1887a7582f3c608ef0e42c65" }, "downloads": -1, "filename": "kodi-json-1.0.0.tar.gz", "has_sig": false, "md5_digest": "91c967912041b141de0f7586a005ba86", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6220, "upload_time": "2016-08-27T13:44:56", "url": "https://files.pythonhosted.org/packages/cb/2f/34f9b4d54df7ee414b59c36a6e34394e045d27cea59746fa9209127b35c0/kodi-json-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ecdd32ca1ccd419a34dca3ca178dd977", "sha256": "ccca09a7ff92781a8c87ac4db345bae30c6bb0f09b4bfcba3e1bcdb63a566053" }, "downloads": -1, "filename": "kodi_json-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ecdd32ca1ccd419a34dca3ca178dd977", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 3843, "upload_time": "2016-08-28T14:56:06", "url": "https://files.pythonhosted.org/packages/3b/43/43c553de849393269cdb29d7f2e0ee033a411c8d7a95d365291109d57aa4/kodi_json-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b8c61dd2cb5534ccabe7bb9333579a77", "sha256": "98f6d28857fca9b375b9f841788ee8799f0c8134bc99b6c5345a3becfefb45fd" }, "downloads": -1, "filename": "kodi_json-1.0.0-py3.5.egg", "has_sig": false, "md5_digest": "b8c61dd2cb5534ccabe7bb9333579a77", "packagetype": "bdist_egg", "python_version": "3.5", "requires_python": null, "size": 4896, "upload_time": "2016-08-27T13:44:47", "url": "https://files.pythonhosted.org/packages/e4/89/26cd7f5505a4d4ded2921363b460a3cec38e0da22051326a7d640c59c1f8/kodi_json-1.0.0-py3.5.egg" }, { "comment_text": "", "digests": { "md5": "65338eeb2ad72bd99757bf37c515daca", "sha256": "797a6f051760dcfc8872c6f18e31edaeae14800914c621fd742a724256b80e27" }, "downloads": -1, "filename": "kodi_json-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "65338eeb2ad72bd99757bf37c515daca", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 3676, "upload_time": "2016-08-27T13:44:36", "url": "https://files.pythonhosted.org/packages/65/f7/0d35d79c3f3082742b2d3df707c5a48525791ee312420a6079e62b282dc5/kodi_json-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "91c967912041b141de0f7586a005ba86", "sha256": "151e5ffe5024742a1d190d4100cc3d40eade332f1887a7582f3c608ef0e42c65" }, "downloads": -1, "filename": "kodi-json-1.0.0.tar.gz", "has_sig": false, "md5_digest": "91c967912041b141de0f7586a005ba86", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6220, "upload_time": "2016-08-27T13:44:56", "url": "https://files.pythonhosted.org/packages/cb/2f/34f9b4d54df7ee414b59c36a6e34394e045d27cea59746fa9209127b35c0/kodi-json-1.0.0.tar.gz" } ] }