1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-04 10:19:24 +02:00
This commit is contained in:
daniel 2019-05-15 14:16:39 -03:00
parent f57484953e
commit a3301cb29f

View file

@ -159,6 +159,9 @@ class API extends PluginAbstract {
}
$SubtitleSwitcher = YouPHPTubePlugin::loadPluginIfEnabled("SubtitleSwitcher");
foreach ($rows as $key=>$value) {
if(empty($value['filename'])){
continue;
}
$rows[$key]['images'] = Video::getImageFromFilename($value['filename']);
$rows[$key]['videos'] = Video::getVideosPaths($value['filename'], true);
if ($SubtitleSwitcher) {