Remove config option: open_torrent_after_download
This commit is contained in:
parent
1b519b27aa
commit
f1dc81b6e0
2 changed files with 0 additions and 13 deletions
|
@ -103,7 +103,6 @@ gPodderSettings = {
|
|||
'on_sync_delete': False,
|
||||
'on_sync_mark_played': False,
|
||||
'only_sync_not_played': False,
|
||||
'open_torrent_after_download': False,
|
||||
'opml_url': 'http://gpodder.org/directory.opml',
|
||||
'paned_position': 200,
|
||||
'player': 'default',
|
||||
|
|
|
@ -1642,18 +1642,6 @@ class gPodder(BuilderWidget, dbus.service.Object):
|
|||
message = self.format_episode_list(failed_downloads)
|
||||
self.show_message(message, _('Downloads failed'), True, widget=self.labelDownloads)
|
||||
|
||||
# Open torrent files right after download (bug 1029)
|
||||
if self.config.open_torrent_after_download:
|
||||
for task in download_tasks_seen:
|
||||
if task.status != task.DONE:
|
||||
continue
|
||||
|
||||
episode = task.episode
|
||||
if episode.mimetype != 'application/x-bittorrent':
|
||||
continue
|
||||
|
||||
self.playback_episodes([episode])
|
||||
|
||||
|
||||
def format_episode_list(self, episode_list, max_episodes=10):
|
||||
"""
|
||||
|
|
Loading…
Reference in a new issue