possible bug

Advanced Renamer forum
#1 : 24/12-22 11:08
JaqoBravo
Posts: 5
Hi,

I discovered strange behavior when renaming files with sequence numbers per folder

I have files in directories like so

TV_Show
TV_Show_S01
Part 1.txt
Part 2.txt
Part 3.txt
Part 4.txt
TV_Show_S02
Part 5.txt
Part 6.txt
Part 7.txt
Part 8.txt

what I wanted to do is using this formula
<DirName:1>E<Inc NrDir:1>_Part<Inc NrDir:1>

so that the files will be renamed like
TV_Show
TV_Show_S01
TV_Show_S01E01_Part01
TV_Show_S01E02_Part02
TV_Show_S01E03_Part03
TV_Show_S01E04_Part04
TV_Show_S02
TV_Show_S02E01_Part01
TV_Show_S02E02_Part02
TV_Show_S02E03_Part03
TV_Show_S02E04_Part04

but what happened is that Advanced Renamer is renaming them with even and odd Inc for some reason so they appear like this


TV_Show
TV_Show_S01
TV_Show_S01E01_Part02
TV_Show_S01E03_Part04
TV_Show_S01E05_Part06
TV_Show_S01E07_Part08
TV_Show_S02
TV_Show_S02E01_Part02
TV_Show_S02E03_Part04
TV_Show_S02E05_Part06
TV_Show_S02E07_Part08


I cannot see anything in my formula that leads to this behavior so I made it on two steps to make it work one step did this formula
<DirName:1>E<Inc NrDir:1>_Part

then closed the software opened again and add the files then used this formula
<Name><Inc NrDir:1>

it worked but I do not think this should be a two times work

regards