def do_activate(self):
self.ui.activate()
if Settings.get().first_start:
Settings.update(first_start=False).execute()
path = str(Path.home()) + "/Audiobooks"
Settings.update(path=str(Path.home()) + "/Audiobooks").execute()
if not os.path.exists(path):
os.makedirs(path)
else:
self.ui.scan(None, True)
self.ui.refresh_content()
self.add_window(self.ui.window)
MPRIS(self, self.ui)
评论列表
文章目录