Re: SimpleLibraryViews plugin update increases library build time by a factor of 10

adhawkins <adhawkins.aktllz-NUepA2SMhDQqspMVqqL2D+4xXEVPTSb/[email protected]> Sun, 22 May 2022 09:46:44 +0000
Newsgroups gmane.music.equipment.slimdevices.devel
Organization Logitech Squeezebox Forums
Message-ID <[email protected]>
mherger wrote: 
> 
> > my $pathSearch = Slim::Utils::Misc::fileURLFromPath($dir) .
> File::Spec->catfile('', '') . "%";
> 
> I still believe this could fail on Windows. Would you have any Windows 
> testers? catfile() should not be used with a URL. Just use the forward 
> slash "/" instead.

Yes, I've replaced that. I deliberately used catfile because I wanted to
make sure I used the correct separator under Windows. You are of course
correct though, the URI format that's actually used in the database
should only use the '/' as a separator, so I've changed that.

Cheers

Andy


------------------------------------------------------------------------
adhawkins's Profile: http://forums.slimdevices.com/member.php?userid=650
View this thread: http://forums.slimdevices.com/showthread.php?t=116400