mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +02:00
Add mp3 import
This commit is contained in:
parent
b51a09520d
commit
196df8d9fe
1 changed files with 5 additions and 1 deletions
|
@ -103,7 +103,11 @@ while($hasNewContent){
|
|||
download($value->images->thumbsGif, $value->filename, $path);
|
||||
|
||||
foreach ($value->videos->mp4 as $key2=>$value2) {
|
||||
_error_log("importChannel: key = {$key} key2 = {$key2} APIURL = $APIURL");
|
||||
_error_log("importChannel MP4: key = {$key} key2 = {$key2} APIURL = $APIURL");
|
||||
download($value2, $value->filename, $path);
|
||||
}
|
||||
foreach ($value->videos->mp3 as $key2=>$value2) {
|
||||
_error_log("importChannel MP3: key = {$key} key2 = {$key2} APIURL = $APIURL");
|
||||
download($value2, $value->filename, $path);
|
||||
}
|
||||
$video->setStatus(Video::$statusActive);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue