1 3
import logging
2

3 3
import pykka
4

5 3
from mopidy import backend
6 3
from mopidy.file import library
7

8 3
logger = logging.getLogger(__name__)
9

10

11 3
class FileBackend(pykka.ThreadingActor, backend.Backend):
12 3
    uri_schemes = ["file"]
13

14 3
    def __init__(self, config, audio):
15 3
        super().__init__()
16 3
        self.library = library.FileLibraryProvider(backend=self, config=config)
17 3
        self.playback = backend.PlaybackProvider(audio=audio, backend=self)
18 3
        self.playlists = None

Read our documentation on viewing source code .

Loading