BRU simply stops working

Post any Bulk Rename Utility support requirements here. Open to all registered users.

BRU simply stops working

Postby RebelliousOne » Tue Aug 27, 2024 8:04 pm

I've been using BRU for a while now with no issues. The past couple days, it's simply stopped working. I updated it, still nothing.
What happens:
I was using the regex filter to rename some files on my media server, watching the preview window to make sure I was getting the results I expected. Saw the pattern was producing the desired results on on file, clicked to highlight another file to check it, and nothing. The pattern produced no change at all. So went back to the file I had just checked and it also was now producing no change. I didn't change anything, just clicked from one file to the next. Now I can't get it to do anything with the regex. The replace filter works, but not the regex filter. I haven't tested any of the others because I don't use them much.

I just renamed dozens of files yesterday. And it was working fine for the first few minutes today. I don't understand why it stops working.
RebelliousOne
 
Posts: 2
Joined: Tue Aug 27, 2024 7:50 pm

Re: BRU simply stops working

Postby RebelliousOne » Wed Aug 28, 2024 9:26 pm

When I apply this regex:
Code: Select all
/^(.*t), (T.*)\s\(.*(\.\w{3}$)

To these files:
Code: Select all
Midnight, Texas (2017) - S01E01 - Pilot (1080p BluRay x265 Silence).mkv
Midnight, Texas (2017) - S01E02 - Bad Moon Rising (1080p BluRay x265 Silence).mkv
On the regex101 site, it works as expected. But it does nothing to the file names in BRU.

This had been producing the desired results previously. But no longer works.
Code: Select all
${1} ${2}${3}


Also tried
Code: Select all
$1 $2$3

and
Code: Select all
\1 \2\3

With no success.
RebelliousOne
 
Posts: 2
Joined: Tue Aug 27, 2024 7:50 pm

Remove ending (text) from names with "t, T" and 3-char exten

Postby Luuk » Thu Aug 29, 2024 2:39 am

The Filters12 "Mask" must always match the file-extension, but the RegEx(1) "Match" doesnt always need to match it.
RegEx(1) only needs to match it with "Inc.Ext." or "Renaming Options, File/Folder Extensions, Rename File Extensions".

In either case, the leading / in your regex should be removed, or it cant match anything.
So the Filters(12) "Mask" could be something like... .+t, T.+ \(.+\)\.\w{3}$

And without options to match/replace extensions, RegEx(1) can use a "Match" and "Replace" like...
(.+t, T.+) \(.+\)$
\1
Luuk
 
Posts: 809
Joined: Fri Feb 21, 2020 10:58 pm

Remove ending (text) from names with "t, T" and 3-char exten

Postby Luuk » Thu Aug 29, 2024 9:48 am

Im just realized you probably want to replace ", " with 1-space, so the RegEx(1) "Match" and "Replace" to be more like...
(.+t),( T.+) \(.+\)$
\1\2
Luuk
 
Posts: 809
Joined: Fri Feb 21, 2020 10:58 pm


Return to BRU Support


cron