コード例 #1
0
ファイル: main_window.py プロジェクト: yo1995/GUI-YouGet
    def get_info(self):
        mconfig.set_default()
        set_default()
        self.button_download.setEnabled(False)
        self.urls = (str(self.text_edit_urls.toPlainText())).split(';')
        mlog.debug(self.urls[0])

        self.m_thread = GetVideoInfoThread(self.urls, **mconfig.kwargs)
        self.m_thread.finish_signal.connect(self.finish_get_info)
        self.m_thread.start()
コード例 #2
0
    def get_info(self):
        mconfig.set_default()
        set_default()
        self.button_download.setEnabled(False)
        self.urls = (str(self.text_edit_urls.toPlainText())).split(';')
        mlog.debug(self.urls[0])

        self.m_thread = GetVideoInfoThread(self.urls, **mconfig.kwargs)
        self.m_thread.finish_signal.connect(self.finish_get_info)
        self.m_thread.start()
コード例 #3
0
ファイル: files_list_dialog.py プロジェクト: oo7ww/GUI-YouGet
    def start_download_files(self):
        status.set_default()
        self.push_button_confirm.setEnabled(False)
        option = self.combo_box_options.currentText()
        mconfig.set_file_itag(option)
        mlog.debug('option is ' + option)

        self.download_thread = DownloadThread(mconfig.get_urls(), **mconfig.kwargs)
        self.download_thread.finish_signal.connect(self.finish_download)
        self.download_thread.start()

        self.show_progress_bar()
コード例 #4
0
    def start_download_files(self):
        status.set_default()
        self.push_button_confirm.setEnabled(False)
        option = self.combo_box_options.currentText()
        mconfig.set_file_itag(option)
        mlog.debug('option is ' + option)

        self.download_thread = DownloadThread(mconfig.get_urls(),
                                              **mconfig.kwargs)
        self.download_thread.finish_signal.connect(self.finish_download)
        self.download_thread.start()

        self.show_progress_bar()