Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Media backends

PascalW edited this page · 5 revisions
Clone this wiki locally

Creating Media backends

Airplayer supports pluggable media backends. A media backend is a class representing a media player like XBMC, Plex, Boxee etc. A media backend is responsible for all communication to the represented media player.

Creating a media backend is as easy as creating a python class which inherits from the BaseMediaBackend, and implements the abstract methods defined by the BaseMediaBackend.

Naming convention

Media backends should follow the following conventions:

  • Media backends are placed in the mediabackends package.
  • Media backend modules should be named _media_backend.py, e.g. XBMC_media_backend.py.
  • Inside your media backend module you should define a class named <name of the backend>Mediabackend, e.g. XBMCMediaBackend.

If you have developed a media backend, please don't hesitate to contact me and I'll add it to the wiki page.

Something went wrong with that request. Please try again.