mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 09:49:28 +02:00
Embed cols
This commit is contained in:
parent
4314087928
commit
facda502cb
1 changed files with 5 additions and 3 deletions
|
@ -106,10 +106,12 @@ while($hasNewContent){
|
||||||
_error_log("importChannel MP4: key = {$key} key2 = {$key2} APIURL = $APIURL");
|
_error_log("importChannel MP4: key = {$key} key2 = {$key2} APIURL = $APIURL");
|
||||||
download($value2, $value->filename, $path);
|
download($value2, $value->filename, $path);
|
||||||
}
|
}
|
||||||
foreach ($value->videos->mp3 as $key2=>$value2) {
|
|
||||||
_error_log("importChannel MP3: key = {$key} key2 = {$key2} APIURL = $APIURL");
|
if(!empty($value->videos->mp3)){
|
||||||
download($value2, $value->filename, $path);
|
_error_log("importChannel MP3: {$value->videos->mp3} APIURL = $APIURL");
|
||||||
|
download($value->videos->mp3, $value->filename, $path);
|
||||||
}
|
}
|
||||||
|
|
||||||
$video->setStatus(Video::$statusActive);
|
$video->setStatus(Video::$statusActive);
|
||||||
}else{
|
}else{
|
||||||
_error_log("importChannel: ERROR Video NOT saved");
|
_error_log("importChannel: ERROR Video NOT saved");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue