Replace isset with null check in _getAudioInfo mediainfo lookup

This commit is contained in:
DariusIII
2018-10-29 09:22:47 +01:00
parent 00e0eb62f5
commit f4f41e4a63
2 changed files with 2 additions and 1 deletions
@@ -1720,7 +1720,7 @@ class ProcessAdditional
if ($xmlArray !== null) {
foreach ($xmlArray->getAudios() as $track) {
if (isset($track->get('album'), $track->get('performer'))) {
if ($track->get('album') !== null && $track->get('performer') !== null) {
if ((int) $this->_release->predb_id === 0 && config('nntmux.rename_music_mediainfo')) {
// Make the extension upper case.
$ext = strtoupper($fileExtension);