[Amarok] Add check for correct collection scanner version.

Martin Aumueller aumuell at reserv.at
Mon Jan 18 08:42:19 CET 2010


On Monday 18 January 2010 08:07:12 Mark Kretschmann wrote:
> On Sun, Jan 17, 2010 at 2:06 PM, Kevin Funk <krf at gmx.de> wrote:
> > FYI: Be sure to check for the right path where the binary resides (best to
> > implement this in a global method, tbh).
> > See ScanManager.cpp:67-68 (already had problems with this when installing
> > Amarok in user space, etc).
> 
> TBH, I don't really understand why this is needed. If the scanner is
> in $PATH, then it should be found, no?

To me it makes sense: if Amarok has been installed to PREFIX (and has been started from PREFIX), then the collection scanner from PREFIX should be used. And not the first one found in $PATH - could be from a different Amarok version.

How about not installing the collection scanner to PREFIX/bin but to PREFIX/libexec or whatever?

Martin

> 
> Can you explain?
> 
> 


More information about the Amarok-devel mailing list