diff --git a/install/importChannel.php b/install/importChannel.php index d916080509..e0a5dcf2da 100644 --- a/install/importChannel.php +++ b/install/importChannel.php @@ -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);