X-Git-Url: http://git.joshuawise.com/patchfork.git/blobdiff_plain/964dd0bc22ff252711b1190854923d5cd5382f9f..225e0317cf785ce7c6c13b3db69c7a1f3685a2f4:/inc/Net/MPD/Common.php diff --git a/inc/Net/MPD/Common.php b/inc/Net/MPD/Common.php index d921154..6fefdad 100644 --- a/inc/Net/MPD/Common.php +++ b/inc/Net/MPD/Common.php @@ -358,7 +358,7 @@ class Net_MPD_Common // This is to determine if it was in a status call // or in a directory call. case 'playlist': - if ($prev['key'] == 'random') { + if ($output['status']) { $output['status'][$key] = $value; } else { $output[$key][] = $value;