Python3 Migrate
This commit is contained in:
18
venv/lib/python3.7/site-packages/mopidy/file/backend.py
Normal file
18
venv/lib/python3.7/site-packages/mopidy/file/backend.py
Normal file
@@ -0,0 +1,18 @@
|
||||
import logging
|
||||
|
||||
import pykka
|
||||
|
||||
from mopidy import backend
|
||||
from mopidy.file import library
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class FileBackend(pykka.ThreadingActor, backend.Backend):
|
||||
uri_schemes = ["file"]
|
||||
|
||||
def __init__(self, config, audio):
|
||||
super().__init__()
|
||||
self.library = library.FileLibraryProvider(backend=self, config=config)
|
||||
self.playback = backend.PlaybackProvider(audio=audio, backend=self)
|
||||
self.playlists = None
|
||||
Reference in New Issue
Block a user