Re: SimpleLibraryViews plugin update increases library build time by a factor of 10
Michael Herger <slim-b/[email protected]> Sat, 21 May 2022 10:37:40 +0200
| Newsgroups | gmane.music.equipment.slimdevices.devel |
|---|---|
| Message-ID | <[email protected]> |
> So you're saying I should use File::Next to search for > '.simple-library-views-<libname>' files. Then for each one of these it > finds, call the query you quote passing in > file://dirname(fullpath-to-slv-file)/. Only the path, not including the file name, of course. But basically yes, this. > Will your query handle if (for > example) they have library files in both: > > - /var/spool/music/A/Andy/ > - /var/spool/music/A/Andy/Album 1 As the first one would include the second one anyway you should filter out sub-folders of folders already included. This would prevent redundant processing. But the result otherwise should be the same, as the query does "INSERT OR IGNORE" - ignore a command if the resulting record already exists.