Index: Slim/Player/Source.pm =================================================================== --- Slim/Player/Source.pm (revision 3495) +++ Slim/Player/Source.pm (working copy) @@ -1552,16 +1552,14 @@ $::d_source && msg("checking formats for: $profile\n"); + # get the command for this profile + $command = $commandTable{$profile}; + # if the user's disabled the profile, then skip it... - return undef unless enabledFormat($profile); + return undef unless $command && enabledFormat($profile); $::d_source && msg(" enabled\n"); - - # get the command for this profile - $command = $commandTable{$profile}; $::d_source && $command && msg(" Found command: $command\n"); - - return undef unless $command; # if we don't have one or more of the requisite binaries, then move on. while ($command && $command =~ /\[([^]]+)\]/g) {