コード例 #1
0
    def __init__(self):
        self.manager = FileManager()
        self.services = [
            LegitTorrentsService(),
            KickAssService(),
            TPBService()
        ]
        #        self.services = [LegitTorrentsService()]
        self._init_session()

        threading.Thread(target=self._prefill_cache).start()

        self._playing = None
コード例 #2
0
 def setUp(self):
     self.manager = FileManager()
     self.configure_session()