mopidy/tests/backends/local/__init__.py
Thomas Adamcik 18ed7c6279 local: Convert mopidy-local extension to local: uris.
- Use local:playlist:<name>, local:track:<path> and local:search uris
- Adds LocalPlaybackProvider which translates to file uris.
- Switches to storing actual uris in playlists - so local: urls and not
  file:// or plain paths.
- Moved file:// to streaming plugin
- Cleaned up tests and imports for these changes.
2013-07-30 00:40:12 +02:00

7 lines
140 B
Python

from __future__ import unicode_literals
from mopidy.utils.path import path_to_uri
generate_song = lambda i: 'local:track:song%s.wav' % i