#1 2012-12-26 14:43

iycgtptyarvg
Member
Registered: 2009-07-30
Posts: 24

FIXED: Renamer v5.60 b16 bug: Serialize fails with dirs with numbers

I use this script:
1. Delete - Delete from Position 1 until the End (skip extension)
2. Serialize - Serialize Incremental from 1 step 1 repeat 0 (reset index if folder changes) and pad to length 3 as prefix
3. Case - Extension lower case

For some reason (bug) it has problems with directories with numbers in them:

Example:
C:\Comicbooks\Godstorm #01\00.jpg -> 001.jpg
C:\Comicbooks\Godstorm #1\00.jpg -> 001.jpg
C:\Comicbooks\Godstorm #01\01.jpg -> 001.jpg
C:\Comicbooks\Godstorm #1\01.jpg -> 001.jpg
C:\Comicbooks\Godstorm #01\02.jpg -> 001.jpg
C:\Comicbooks\Godstorm #1\02.jpg -> 001.jpg

What it should have done:
C:\Comicbooks\Godstorm #01\00.jpg -> 001.jpg
C:\Comicbooks\Godstorm #1\00.jpg -> 001.jpg
C:\Comicbooks\Godstorm #01\01.jpg -> 002.jpg
C:\Comicbooks\Godstorm #1\01.jpg -> 002.jpg
C:\Comicbooks\Godstorm #01\02.jpg -> 003.jpg
C:\Comicbooks\Godstorm #1\02.jpg -> 003.jpg


Obviously, this doesn't work. Could you please fix this?

Last edited by iycgtptyarvg (2013-01-04 10:53)

Offline

#2 2012-12-27 17:43

SafetyCar
Senior Member
Registered: 2008-04-28
Posts: 446
Website

Re: FIXED: Renamer v5.60 b16 bug: Serialize fails with dirs with numbers

I don't know what would den4b say about it, but meanwhile, try sorting by path (column) before and doing the preview.


If this software has helped you, consider getting your pro version. :)

Offline

#3 2012-12-27 21:41

iycgtptyarvg
Member
Registered: 2009-07-30
Posts: 24

Re: FIXED: Renamer v5.60 b16 bug: Serialize fails with dirs with numbers

I do that already! I sort on the full path, but it sorts incorrectly.

Offline

#4 2012-12-29 10:45

den4b
Administrator
From: den4b.com
Registered: 2006-04-06
Posts: 3,479

Re: FIXED: Renamer v5.60 b16 bug: Serialize fails with dirs with numbers

Try enabling "natural sorting" in the settings and then sort by full path.

Offline

#5 2012-12-29 14:24

iycgtptyarvg
Member
Registered: 2009-07-30
Posts: 24

Re: FIXED: Renamer v5.60 b16 bug: Serialize fails with dirs with numbers

I already have natural sorting on. It's in the Settings/General tab : 'Use natural order sorting algorithm (2-3 times slower)'

Renamer doesn't see a difference between '1' and '01' and mixes them together (same for other numbers).

Offline

#6 2012-12-29 20:00

den4b
Administrator
From: den4b.com
Registered: 2006-04-06
Posts: 3,479

Re: FIXED: Renamer v5.60 b16 bug: Serialize fails with dirs with numbers

The natural sorting algorithm implies that 1 is the same as 01 and 001 and 0001.

If you disable natural sorting, then 1 will appear after 01, because comparison will be performed character by character - which is probably what you want.

Sorry don't have computer, on vacation, can't test.

Offline

#7 2012-12-29 23:02

Stefan
Moderator
From: Germany, EU
Registered: 2007-10-23
Posts: 1,161

Re: FIXED: Renamer v5.60 b16 bug: Serialize fails with dirs with numbers

Seems to work for me?


FROM:
Godstorm #01\00.jpg
Godstorm #01\01.jpg
Godstorm #01\02.jpg
Godstorm #1\00.jpg
Godstorm #1\01.jpg
Godstorm #1\02.jpg

TO:
Godstorm #01\001.jpg
Godstorm #01\002.jpg
Godstorm #01\003.jpg
Godstorm #1\001.jpg
Godstorm #1\002.jpg
Godstorm #1\003.jpg

USE:
ReNamer 5.50+ Beta 50 >> works
ReNamer 5.60+ Beta 16 >> not tested
ReNamer 5.60+ Beta 23 >> works
UseNaturalSort=1
Otherwise nothing configured, nothing sorted.



Rules:
1) Delete: Delete from Position 1 until the End (skip extension)
2) Serialize: Serialize Incremental from 1 step 1 repeat 1
(reset index if folder changes) and pad to length 3 as prefix

Godstorm #01	
00.jpg		001.jpg	
01.jpg		002.jpg	
02.jpg		003.jpg	
Godstorm #1	
00.jpg		001.jpg	
01.jpg		002.jpg	
02.jpg		003.jpg	



Executing result:
---------------------------
Information
---------------------------
6 file(s) successfully renamed.
2 file(s) skipped.
---------------------------
OK   
---------------------------



.


Read the  *WIKI* for HELP + MANUAL + Tips&Tricks.
If ReNamer had helped you, please *DONATE* to Denis or buy a PRO license. (Read *Lite vs Pro*)

Offline

#8 2012-12-30 13:19

SafetyCar
Senior Member
Registered: 2008-04-28
Posts: 446
Website

Re: FIXED: Renamer v5.60 b16 bug: Serialize fails with dirs with numbers

I don't seem to see anything strange either, are you updating the preview (button) after changing the sorting order right?


If this software has helped you, consider getting your pro version. :)

Offline

#9 2012-12-31 10:27

iycgtptyarvg
Member
Registered: 2009-07-30
Posts: 24

Re: FIXED: Renamer v5.60 b16 bug: Serialize fails with dirs with numbers

I have ReNamer 5.60+ Beta 16.
I'll try to download a newer version and get back to check whether that helped.

Edit 1:
Where can I download a newer version?

Renamer-1_zps24d5cb0a.png

Last edited by iycgtptyarvg (2012-12-31 10:47)

Offline

#10 2012-12-31 12:14

Stefan
Moderator
From: Germany, EU
Registered: 2007-10-23
Posts: 1,161

Re: FIXED: Renamer v5.60 b16 bug: Serialize fails with dirs with numbers

.

iycgtptyarvg wrote:

Where can I download a newer version?


How about "go to the homepage" and watch out for something like "Downloads"?



.


Read the  *WIKI* for HELP + MANUAL + Tips&Tricks.
If ReNamer had helped you, please *DONATE* to Denis or buy a PRO license. (Read *Lite vs Pro*)

Offline

Board footer

Powered by FluxBB