Code: Select all
*.mp4 REGEX_MATCH(GET_PROPERTY($stem:..".srt","content"),"situation.*bonus")
So, this is… get the name of all mp4 files, find name-matching .srt files, search their content, if a match is found, return the original .mp4 file?
Hmm. It's a much slower process, but it's good to have, thank you.
Media files are going to have over a dozen extensions, but it seems I can use vid: or aud: to broaden it to those instead of one singular extension, so that's awesome.
So, I was being a bit cheeky on the <situation bonus>, the actual phrase was/is "bonus situation". I was highlighting how searching the content that way let's me search just like, well, Everything does elsewhere. The order of words didn't matter, only that both where present in the content.
"content"),"situation.*bonus")
I'm unsure how I would modify that to be... less limited in regards to order, or being on the same line, or if it's possible.
If I wanted to search similarly to content:<situation bonus>, That's...
Code: Select all
vid: REGEX_MATCH(GET_PROPERTY($stem:..".srt","content"),"situation") REGEX_MATCH(GET_PROPERTY($stem:..".srt","content"),"bonus")
Another whole REGEX_MATCH(GET_PROPERTY($stem:..".srt","content"),"WORD") for each word?