#1 2023-08-03 09:26

klapvogn
Member
Registered: 2023-05-06
Posts: 5

Reindex episode numbers

I have this :

MASH.S10E01.NORDiC.720p.WEB.H264.AAC2.0-TWASERiES
MASH.S10E02.NORDiC.720p.WEB.H264.AAC2.0-TWASERiES

They are part 1 and 2, so my plex can handle it correctly, so is there a way to rename it correctly?

I mean when I put it back in it's folder it would go like this:

MASH.S10E01.NORDiC.720p.WEB.H264.AAC2.0-TWASERiES
MASH.S10E03.NORDiC.720p.WEB.H264.AAC2.0-TWASERiES
MASH.S10E04.NORDiC.720p.WEB.H264.AAC2.0-TWASERiES
MASH.S10E05.NORDiC.720p.WEB.H264.AAC2.0-TWASERiES

Offline

#2 2023-08-03 11:30

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

Re: Reindex episode numbers

klapvogn wrote:

I have this :

MASH.S10E01.NORDiC.720p.WEB.H264.AAC2.0-TWASERiES
MASH.S10E02.NORDiC.720p.WEB.H264.AAC2.0-TWASERiES

They are part 1 and 2, so my plex can handle it correctly, so is there a way to rename it correctly?

I mean when I put it back in it's folder it would go like this:

MASH.S10E01.NORDiC.720p.WEB.H264.AAC2.0-TWASERiES
MASH.S10E03.NORDiC.720p.WEB.H264.AAC2.0-TWASERiES
MASH.S10E04.NORDiC.720p.WEB.H264.AAC2.0-TWASERiES
MASH.S10E05.NORDiC.720p.WEB.H264.AAC2.0-TWASERiES

I don't get it.

What would be your correct name?


What and how do you want to rename?
FROM:
xxx
TO:
xxy


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

#3 2023-08-03 14:10

klapvogn
Member
Registered: 2023-05-06
Posts: 5

Re: Reindex episode numbers

Hi,

What I have after I have merged

MASH.S10E01.NORDiC.720p.WEB.H264.AAC2.0-TWASERiES
MASH.S10E02.NORDiC.720p.WEB.H264.AAC2.0-TWASERiES

- as they are part 1 and 2

So now I have :

MASH.S10E01.NORDiC.720p.WEB.H264.AAC2.0-TWASERiES

But now when I put it in the folder with the rest I have:

MASH.S10E01.NORDiC.720p.WEB.H264.AAC2.0-TWASERiES
MASH.S10E03.NORDiC.720p.WEB.H264.AAC2.0-TWASERiES
MASH.S10E04.NORDiC.720p.WEB.H264.AAC2.0-TWASERiES

Can renamer fix the episode order so it goes from E01 to E24

Offline

#4 2023-08-03 15:10

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

Re: Reindex episode numbers

These rules will re-index all episode numbers according to the order in which they appear in table.

1) Insert: Insert "." as Prefix
2) Serialize: Incremental from 1 repeat 1 step 1 and pad to length 2 as Prefix
3) Regular Expressions: Replace expression "\A(\d+)\.(.*)\b(S\d+E)\d+\b" with "$2$3$1"

Just make sure you sort your files before applying these rules.

topic-2964-reindex-episode-numbers.png

Example input:

S10E01
S10E03
S10E04
S10E05
S10E10
S10E999

Output:

S10E01
S10E02
S10E03
S10E04
S10E05
S10E06

Offline

#5 2023-08-03 17:06

klapvogn
Member
Registered: 2023-05-06
Posts: 5

Re: Reindex episode numbers

Thanks, i'll give it a shot smile

Offline

Board footer

Powered by FluxBB