Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3:Update
youtube-dl-gui
youtube-dl-gui-use_system_exe.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File youtube-dl-gui-use_system_exe.patch of Package youtube-dl-gui
From: Luigi Baldoni <aloisio@gmx.com> Date: 2017-04-13 18:07:44 +0200 Subject: Disable update button and force exe path Update button is ghosted so that we don't end up with locally installed versions of youtube-dl and rely on the system one instead. Also the path for youtube-dl is hardcoded so that it can point to the system-installed executable. Index: youtube-dl-gui-0.3.8/youtube_dl_gui/mainframe.py =================================================================== --- youtube-dl-gui-0.3.8.orig/youtube_dl_gui/mainframe.py +++ youtube-dl-gui-0.3.8/youtube_dl_gui/mainframe.py @@ -149,6 +149,7 @@ class MainFrame(wx.Frame): self._download_btn = self._create_button(self.DOWNLOAD_LABEL, self._on_download) self._update_btn = self._create_button(self.UPDATE_LABEL, self._on_update) + self._update_btn.Disable() self._options_btn = self._create_button(self.OPTIONS_LABEL, self._on_options) self._status_list = ListCtrl(self.STATUSLIST_COLUMNS, @@ -276,7 +277,6 @@ class MainFrame(wx.Frame): """Resets GUI widgets after update or download process. """ self._download_btn.SetLabel(self.DOWNLOAD_LABEL) self._download_btn.Enable() - self._update_btn.Enable() def _print_stats(self): """Display download stats in the status bar. """ Index: youtube-dl-gui-0.3.8/youtube_dl_gui/optionsmanager.py =================================================================== --- youtube-dl-gui-0.3.8.orig/youtube_dl_gui/optionsmanager.py +++ youtube-dl-gui-0.3.8/youtube_dl_gui/optionsmanager.py @@ -234,7 +234,7 @@ class OptionsManager(object): 'username': '', 'password': '', 'video_password': '', - 'youtubedl_path': self.config_path, + 'youtubedl_path': '__BINDIR__', 'cmd_args': '', 'enable_log': True, 'log_time': False,
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor