- 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.
7 lines
140 B
Python
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
|