Bugzilla – Bug 8598
hard-coded scanner paths prevent using multiple versions of SC
Last modified: 2008-06-29 07:30:14 UTC
Created attachment 3505 [details] implement the desired behavior Slim/Music/Import.pm tries to use copies of squeezecenter-scanner in the preferred vendor locations if possible. This causes problems if you want to install the official Linux package but also occasionally shut that down and run a different version from a tarball, SVN checkout, etc. -- as I like to do before committing to an upgrade of my main system. I think the behavior should probably be to only use the preferred vendor location if there's not a scanner.pl in the $Bin directory. 1) When running an offcial package, SC7 would only find squeezecenter-scanner in the preferred location, and it would continue to work properly. 2) When running from a tarball in a home directory, SC7 would find $Bin/scanner.pl and ignore any squeezecenter-scanner that might exist elsewhere -- and also work properly.
This is similar to bug 6827 (which I only vaguely recall at the moment). Probably a shortcoming of my fix there. If necessary, I'll help look at this in the next day or so.
Hold on, let me verify this should still be a bug, test to make sure the fix for bug 6827 didn't address this sufficiently. I'll re-open if it still looks like a problem.