コード例 #1
0
ファイル: musiq.py プロジェクト: stacywebb/raveberry
    def __init__(self, base: "Base") -> None:
        self.base = base

        self.suggestions = Suggestions(self)

        self.queue = QueuedSong.objects

        self.playback = Playback(self)
        self.controller = Controller(self)
コード例 #2
0
    def __init__(self, base: "Base") -> None:
        self.base = base

        self.suggestions = Suggestions(self)

        self.queue = QueuedSong.objects

        self.player = Player(self)
        self.player.start()
コード例 #3
0
    def __init__(self, base: "Base") -> None:
        self.base = base

        self.suggestions = Suggestions(self)

        self.queue = QueuedSong.objects
        self.placeholders: List[Dict[str, Union[Optional[int], str]]] = []

        self.player = Player(self)
        self.player.start()
コード例 #4
0
    def __init__(self, base):
        self.base = base

        self.logger = logging.getLogger('raveberry')

        self.suggestions = Suggestions(self)

        self.queue = QueuedSong.objects
        self.placeholders = []

        self.player = Player(self)
        self.player.start()