backend: Remove old backends API

As far as I know, Mopidy-VKontakte is the only backend extension that hasn't
been updated to use the new API yet. They have a PR ready for merging that does
the update for them.
This commit is contained in:
Stein Magnus Jodal 2014-02-17 10:27:37 +01:00
parent 4e75126b22
commit ed1edb622c
5 changed files with 6 additions and 31 deletions

View File

@ -10,6 +10,12 @@ v0.19.0 (UNRELEASED)
Feature release.
**Backend API**
- Imports of the backend API from :mod:`mopidy.backends` no longer works. The
new API introuced in v0.18 is now required. Most extensions already use the
new API location.
**MPD frontend**
- Proper command tokenization for MPD requests. This replaces the old regex

View File

@ -1 +0,0 @@
from __future__ import unicode_literals

View File

@ -1,17 +0,0 @@
from __future__ import unicode_literals
from mopidy.backend import (
Backend,
LibraryProvider as BaseLibraryProvider,
PlaybackProvider as BasePlaybackProvider,
PlaylistsProvider as BasePlaylistsProvider)
# Make classes previously residing here available in the old location for
# backwards compatibility with extensions targeting Mopidy < 0.18.
__all__ = [
'Backend',
'BaseLibraryProvider',
'BasePlaybackProvider',
'BasePlaylistsProvider',
]

View File

@ -1,5 +0,0 @@
from __future__ import unicode_literals
# Make classes previously residing here available in the old location for
# backwards compatibility with extensions targeting Mopidy < 0.18.
from mopidy.backend.dummy import * # noqa

View File

@ -1,8 +0,0 @@
from __future__ import unicode_literals
from mopidy.backend import BackendListener
# Make classes previously residing here available in the old location for
# backwards compatibility with extensions targeting Mopidy < 0.18.
__all__ = ['BackendListener']