- if not no_resume:
- basic_args += ['--resume']
-
- args = basic_args + [[], ['--skip', '1']][not live and self.params.get('continuedl', False)]
+ if real_time:
+ basic_args += ['--realtime']
+
+ args = basic_args
+ if not no_resume and continue_dl and not live:
+ args += ['--resume']
+ if not live and continue_dl:
+ args += ['--skip', '1']