Just add title to scene release

Support for Windows users
Post Reply
boredsilly
Posts: 2
Joined: 14 Mar 2021, 22:17

Just add title to scene release

Post by boredsilly »

Is it possible to just add a title to a filename

e.g change: The.Series.Name.2020.S01E06.1080p.10bit.WEBRip.6CH.x265.HEVC-PSA to The.Series.Name.2020.S01E06.The.Title.1080p.10bit.WEBRip.6CH.x265.HEVC-PSA

i.e add the title only after the season and episode keeping all else intact.

Thanks,

Boredsilly
kim
Power User
Posts: 1251
Joined: 15 May 2014, 16:17

Re: Just add title to scene release

Post by kim »

e.g.

Code: Select all

{fn.before(s00e00) + s00e00 + '.' + t.space('.') + fn.after(s00e00)}
or

Code: Select all

{fn.split(s00e00).inject({ name, attr -> name + s00e00 + '.' + t.space('.') + attr })}
mouzzampk2014
Posts: 35
Joined: 07 Jan 2019, 00:49

Re: Just add title to scene release

Post by mouzzampk2014 »

You are on same page as me. I am also trying to figure it out but using above won't work very well if filename already have title

Code: Select all

Hide.S09E01.Day.9.11.00.A.M.-.12.00.P.M.Day.9.11.00.AM-12.00.PM.1080p.BluRay.REMUX.AVC.DTS-HD.MA.5.1-EPSiLON
boredsilly
Posts: 2
Joined: 14 Mar 2021, 22:17

Re: Just add title to scene release

Post by boredsilly »

kim wrote: 16 Mar 2021, 18:33 e.g.

Code: Select all

{fn.before(s00e00) + s00e00 + '.' + t.space('.') + fn.after(s00e00)}
or

Code: Select all

{fn.split(s00e00).inject({ name, attr -> name + s00e00 + '.' + t.space('.') + attr })}
Thanks I'll give that a shot.
Post Reply