Do not simulate download on relaunch

This commit is contained in:
Totonyus 2022-05-15 14:46:12 +02:00
parent e23939b9cc
commit 1878a8a58f
1 changed files with 4 additions and 1 deletions

View File

@ -187,7 +187,10 @@ class DownloadManager:
noplaylist_param = preset.get('noplaylist')
noplaylist_param = noplaylist_param if noplaylist_param is not None else False
return not self.is_from_playlist or (noplaylist_param and self.is_video)
if self.ignore_post_security:
return False
else:
return not self.is_from_playlist or (noplaylist_param and self.is_video)
def is_user_permitted(self, users_management=None):
manage_user = self.__cm.get_app_params().get('_enable_users_management') if users_management is None else users_management