Fixes for is_live flag.
This commit is contained in:
parent
cd712b4c5a
commit
18526bad38
1 changed files with 3 additions and 5 deletions
|
|
@ -118,9 +118,7 @@ class DownloadQueue:
|
||||||
except KeyError:
|
except KeyError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
is_manifestless = 'post_live' == entry.get('live_status') if 'live_status' in entry else None
|
options.update({'is_manifestless': 'post_live' == entry.get('live_status', None)})
|
||||||
|
|
||||||
options.update({'is_manifestless': is_manifestless})
|
|
||||||
|
|
||||||
dl = ItemDTO(
|
dl = ItemDTO(
|
||||||
id=entry.get('id'),
|
id=entry.get('id'),
|
||||||
|
|
@ -134,9 +132,9 @@ class DownloadQueue:
|
||||||
output_template=output_template if output_template else self.config.output_template,
|
output_template=output_template if output_template else self.config.output_template,
|
||||||
datetime=formatdate(time.time()),
|
datetime=formatdate(time.time()),
|
||||||
error=error,
|
error=error,
|
||||||
is_live=entry.get('is_live', None) or live_in is not None,
|
is_live=entry.get('is_live', None) or 'is_live' == entry.get('live_status', None) or live_in,
|
||||||
live_in=live_in,
|
live_in=live_in,
|
||||||
options=options
|
options=options,
|
||||||
)
|
)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue