mopidy.core — Core API

The core API is the interface that is used by frontends like mopidy.http and Mopidy-MPD. The core layer is in between the frontends and the backends. Don’t forget that you will be accessing core as a Pykka actor. If you are only interested in being notified about changes in core see CoreListener.

Changed in version 1.1: All core API calls are now type checked.

Changed in version 1.1: All backend return values are now type checked.

Tracklist controller

Manipulating

Current state

Future state

Options

Playback controller

Playback control

Current track

Playback states

class mopidy.core.PlaybackState
STOPPED = 'stopped'
PLAYING = 'playing'
PAUSED = 'paused'

Library controller

class mopidy.core.LibraryController

Playlists controller

class mopidy.core.PlaylistsController

Fetching

Manipulating

Mixer controller

class mopidy.core.MixerController

History controller

class mopidy.core.HistoryController

Core events