Skip to content
PascalW edited this page Jan 2, 2011 · 5 revisions

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 Mediabackend, e.g. XBMCMediaBackend.

If you'd like to develop a media backend, please don't hesitate to fork airplayer and send me a pull request to include your backend. Also, feel free to contact me should you need any help.

Clone this wiki locally