14 lines
288 B
Python
14 lines
288 B
Python
import pykka
|
|
|
|
from mopidy import backend
|
|
|
|
from . import playlists
|
|
|
|
|
|
class M3UBackend(pykka.ThreadingActor, backend.Backend):
|
|
uri_schemes = ["m3u"]
|
|
|
|
def __init__(self, config, audio):
|
|
super().__init__()
|
|
self.playlists = playlists.M3UPlaylistsProvider(self, config)
|