mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Replace isset with null check in _getAudioInfo mediainfo lookup
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user