This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

This package provides an array of functions which can be used to control a Kodi instance.

For full details of exactly what functions are available, the necessary parameters which must be provided to those functions and exactly what the subsequent processing of the response is please refer to the source code directly.

Note: This is a work in progress and not all Kodi JSON methods are implemented.

Example

This is an example of the GetMovies method given a kodi server at 192.168.0.1, using port 8000 (username=’user1’, password=’pwd’):

controller = kodicontroller.KodiController()
controller.SetServer('192.168.0.1', '8000', 'user1', 'pwd')
controller.VideoLibrary_GetMovies()

This will setup the Kodi JSON client given the provided server details and call the VideoLibrary.GetMovies JSON method with the following parameters:

params = {'properties':['title',
                        'lastplayed',
                        'thumbnail',
                        'plot',
                        'playcount',
                        'resume',
                        'file']}
movies = server.VideoLibrary.GetMovies(params)

The response will then be parsed to extract an appropriate resume percentage and it will also download and (optionally) locally cache any thumbnails.

Requirements

This is a python package and requires the following:

  • Python 3.4+
  • Python kodijsonrpc package

And of course to have a purpose a Kodi instance is required:

  • Kodi v13 or later

Installation

Install using pip:

$ pip install kodicontroller

Requests, Issues, Bugs or Suggestions

Add any feature requests, issues, bugs or suggestions here: https://github.com/davgeo/kodicontroller/issues

Please give as much detail as possible.

Release History

Release History

0.0.2

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.0.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
kodicontroller-0.0.2-py3-none-any.whl (8.2 kB) Copy SHA256 Checksum SHA256 py3 Wheel Nov 20, 2016
kodicontroller-0.0.2.tar.gz (6.2 kB) Copy SHA256 Checksum SHA256 Source Nov 20, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting