tag premiere video correctly.
This commit is contained in:
parent
bb41eadde7
commit
1c8de32e72
2 changed files with 2 additions and 2 deletions
|
|
@ -294,7 +294,7 @@ class DownloadQueue(metaclass=Singleton):
|
||||||
if not item.extras.get("live_in") and live_in:
|
if not item.extras.get("live_in") and live_in:
|
||||||
item.extras["live_in"] = live_in
|
item.extras["live_in"] = live_in
|
||||||
|
|
||||||
if not item.extras.get("live_in") and is_premiere:
|
if not item.extras.get("is_premiere") and is_premiere:
|
||||||
item.extras["is_premiere"] = is_premiere
|
item.extras["is_premiere"] = is_premiere
|
||||||
|
|
||||||
dl = ItemDTO(
|
dl = ItemDTO(
|
||||||
|
|
|
||||||
|
|
@ -599,7 +599,7 @@ const setStatus = item => {
|
||||||
}
|
}
|
||||||
|
|
||||||
if ('not_live' === item.status) {
|
if ('not_live' === item.status) {
|
||||||
if (item.extras?.is_premiere){
|
if (item.extras?.is_premiere) {
|
||||||
return 'Premiere'
|
return 'Premiere'
|
||||||
}
|
}
|
||||||
return display_style.value === 'cards' ? 'Live Stream' : 'Live'
|
return display_style.value === 'cards' ? 'Live Stream' : 'Live'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue