diff --git a/nexus/Torrent/TechnicalInformation.php b/nexus/Torrent/TechnicalInformation.php index a3eb6251..d2d3102e 100644 --- a/nexus/Torrent/TechnicalInformation.php +++ b/nexus/Torrent/TechnicalInformation.php @@ -98,6 +98,9 @@ class TechnicalInformation if (!empty($values['Language'])) { $audioInfoArr[] = $values['Language']; } + if (!empty($values['Title'])) { + $audioInfoArr[] = $values['Title']; + } if (!empty($values['Format'])) { $audioInfoArr[] = $values['Format']; } @@ -121,15 +124,18 @@ class TechnicalInformation if (strpos($parentKey, 'Text') === false) { continue; } - $audioInfoArr = []; + $subtitlesInfoArr = []; if (!empty($values['Language'])) { - $audioInfoArr[] = $values['Language']; + $subtitlesInfoArr[] = $values['Language']; + } + if (!empty($values['Title'])) { + $subtitlesInfoArr[] = $values['Title']; } if (!empty($values['Format'])) { - $audioInfoArr[] = $values['Format']; + $subtitlesInfoArr[] = $values['Format']; } - if (!empty($audioInfoArr)) { - $result[$parentKey] = implode(" ", $audioInfoArr); + if (!empty($subtitlesInfoArr)) { + $result[$parentKey] = implode(" ", $subtitlesInfoArr); } } return $result;