#1 2016-08-07 06:45

skylinekiller
Member
Registered: 2016-08-07
Posts: 15

rename seasons S##E## to show s##e##

How can i change the caps for the seasons and episodes only?

Offline

#2 2016-08-07 09:54

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

Re: rename seasons S##E## to show s##e##

The easiest way to do this is with a RegEx rule:

Replace expression "\bS(\d+)E(\d+)\b" with "s$1e$2" (skip extension)

Offline

#3 2016-08-07 12:14

skylinekiller
Member
Registered: 2016-08-07
Posts: 15

Re: rename seasons S##E## to show s##e##

Thank you, I will give it a go.

Offline

#4 2017-10-25 14:38

Krycek
Member
Registered: 2017-10-25
Posts: 1

Re: rename seasons S##E## to show s##e##

Hi there.

I want to do something similar.

File name: Robot Chicken - 07x01 - G.I. jogurt.web-dl.english.c.edit.addic7ed.com.srt
Change like this: Robot.Chicken.S07E01.G.I..jogurt.WEB-DL.srt

First:
Find: - 07x * | * * | * .- * * | * _
Replace: S07E * | *. * | *. * | *.

Than:
Delete: Delimiter >>>. English till the end.

It happens this way. No problem.

In the first step I want to keep the season and episode numbers constant. Is this possible? For example, when applying this rule to Season 6 files, I can use it without making any other changes to the rule.

---Google Translate---

Last edited by Krycek (2017-10-25 14:43)

Offline

#5 2017-10-26 03:00

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

Re: rename seasons S##E## to show s##e##

This is the rule set that i would use in your case:

1) Replace: Replace all " - " with ".", " " with "." (skip extension)
2) Delete: Delete from Delimiter "web-dl" until the End (leave delimiter) (skip extension)
3) Regular Expressions: Replace expression "(\d\d)x(\d\d)" with "S$1E$2" (skip extension)

If have an input filename:

Robot Chicken - 07x01 - G.I. jogurt.web-dl.english.c.edit.addic7ed.com.srt

The rules above will produce:

Robot.Chicken.S07E01.G.I..jogurt.web-dl.srt

Offline

Board footer

Powered by FluxBB