Skip to content
PascalW edited this page Mar 4, 2011 · 5 revisions

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.

Clone this wiki locally