diff options
-rw-r--r-- | hypervideo_gui.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/hypervideo_gui.py b/hypervideo_gui.py index 5587ef3..a6672a4 100644 --- a/hypervideo_gui.py +++ b/hypervideo_gui.py @@ -66,7 +66,6 @@ class App(QMainWindow): msg.setText("<p align='center'>Written with Python3 and PyQt5<br>" "Version: %s <br> License: %s </p>" % (__version__, __license__)) msg.setIcon(QMessageBox.Information) - # msg.setInformativeText("Version: %s" % __version__) x = msg.exec_() @@ -99,8 +98,6 @@ class App(QMainWindow): urlEntryLabel = QLabel('Enter URL:') self.urlEntryText = QLineEdit() self.urlEntryText.setPlaceholderText('https://invidio.us/watch?v=8SdPLG-_wtA') - # set default video to download - # self.urlEntryText.setText('https://invidio.us/watch?v=8SdPLG-_wtA') # set up callback to update video formats when URL is changed self.urlEntryText.textChanged.connect(self.resetVideoFormats) @@ -205,9 +202,9 @@ class App(QMainWindow): # download the video in daemon thread if re.match(self._VALID_URL, str(self.url_entry())) is None: - self.statusBar().showMessage('Please add a URL...') # update status bar + self.statusBar().showMessage('Please add a URL...') else: - self.statusBar().showMessage('Downloading Video...') # update status bar + self.statusBar().showMessage('Downloading Video...') thread = threading.Thread(target=downloadVideo_thread_helper, args=(self, ydl_opts, )) thread.daemon = True thread.start() |