|
|
@ -272,7 +272,7 @@ class BilibiliServiceV2 |
|
|
$videoPartsMap = []; |
|
|
$videoPartsMap = []; |
|
|
if (count($vItems) > 0) { |
|
|
if (count($vItems) > 0) { |
|
|
foreach ($vItems as $vItem) { |
|
|
foreach ($vItems as $vItem) { |
|
|
if ($vItem["is_download"] == 1 && $vItem["is_downloaded"] == 0 || $vItem["download_status"] != 1) { |
|
|
|
|
|
|
|
|
if ($vItem["is_download"] == 1 && $vItem["is_downloaded"] == 0 && $vItem["download_status"] != 1) { |
|
|
// $videoList[] = "av" . $vItem["aid"];
|
|
|
// $videoList[] = "av" . $vItem["aid"];
|
|
|
if (!$this->repository->softLockUpdate(["id" => $vItem["id"]], $vItem["version"], ["download_status" => 1])) { |
|
|
if (!$this->repository->softLockUpdate(["id" => $vItem["id"]], $vItem["version"], ["download_status" => 1])) { |
|
|
Log::warning("soft Lock failed id : " . $vItem["id"]); |
|
|
Log::warning("soft Lock failed id : " . $vItem["id"]); |
|
|
|