not getting the same results when searching metatags

You have a question or need an advice about how to do something? Ask it here!
Post Reply
Osric
Posts: 34
Joined: 16 Jul 2022 07:06
not getting the same results when searching metatags

Post by Osric »

Hi

When I try to find music tagged with "sunshine" in the mood tag I get a set of results (find window.png) but when I try to perform the same search by including it as a script line I immediately do not get any results at all (find script line.png) . I am searching a very large folder with over 200k tracks. Is that the issue? There's no time delay so I don't believe the library size is an issue but when I 'test' the script line nothing is returned.

I can't figure out what I'm doing wrong?
Any suggestions?
Thanks
Osric
Attachments
Find settings.PNG
Find script line.PNG
Find window.PNG
User avatar
radio42
Site Admin
Posts: 8926
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: not getting the same results when searching metatags

Post by radio42 »

In the Find Window the search is using all available media libraries.
Whereas the Filtern in the script is using (only) the media library as defined in that script-line (in your case ‚All Music‘).
You can also limit the search in the Find Window to a particular media library with the top right combobox.

As you also output the media library from the entry in the Find Window, you’ll see, that those found entries are from different media libraries, eg. ‚LVNT 3‘ or ‚5 Star Reggae‘ - but none from the lib ‚All Music‘.

As such, I must assume, that even if the name of the media library is called ‚All Music‘, it doesn’t contain all your music.
Osric
Posts: 34
Joined: 16 Jul 2022 07:06
Re: not getting the same results when searching metatags

Post by Osric »

Thanks for the swift reply.
The library being searched is a folder containing over 200k songs spread across multiple directories (see screenshot) so the assumption you have made appears to be incorrect - unless I'm misunderstanding your reply?

Anything else I can check?
Attachments
library.PNG
User avatar
radio42
Site Admin
Posts: 8926
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: not getting the same results when searching metatags

Post by radio42 »

No, I guess you did not get me wrong.
When using a folder it must be fully scanned and read in all tags. With 200k entries this might take several hours. And when adding new files or sub-folders that lib must be rescanned.
So perform a Rescan…. and note the red status indicator at the very bottom left. When it is off, the rescan is complete.
Only after all Tags are fully read in, the Find Window will return all filters properly.
Osric
Posts: 34
Joined: 16 Jul 2022 07:06
Re: not getting the same results when searching metatags

Post by Osric »

Tried to rescan the library. It is taking 11 seconds which is impressive but after reading your guidance, slightly concerning! Will keep trying to find solutions but something is slightly amiss?

Update: I checked all the settings and have enabled 'Cache Library (synced_pfp) and the Proppfrexx Worker thread status shows it going through every tag - so will check back in a few hours. 🤞🏾
Attachments
library settings.PNG
rescan library.PNG
User avatar
radio42
Site Admin
Posts: 8926
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: not getting the same results when searching metatags

Post by radio42 »

That’s why the cached libs setting is enabled by default. Ie. don’t change any settings until you exactly know why.

So the 11sec. is to enumerate the files, but not until all Tags are read in.
Osric
Posts: 34
Joined: 16 Jul 2022 07:06
Re: not getting the same results when searching metatags

Post by Osric »

Many thanks for that further clarification. 🙏🏾
Results are being returned and all appears to be working correctly.
Kind regards
Osric

Post Reply