main.py 文件源码

python
阅读 20 收藏 0 点赞 0 评论 0

项目:aurora-sdk-win 作者: nanoleaf 项目源码 文件源码
def play_plugin(self):
        if self.plugin_dir_path.get() == "":
            tkMessageBox.showerror("Error", "No plugin to play")
            return
        if self.ip_addr.get() == "":
            tkMessageBox.showerror("Error", "No IP Address")
            return

        while (not self.test_auth()):
            self.authenticate_with_aurora()
        time.sleep(0.5)

        iprint("Playing plugin")
        self.sound_module.run_music_processor()
        time.sleep(1)
        iprint("Playing music processor")
        self.sound_module.run_thread(self.ip_addr.get(), self.plugin_dir_path.get(), self.palette_path.get(), self.palette_entered)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号