Page 1 of 1
Just add title to scene release
Posted: 14 Mar 2021, 22:24
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
Re: Just add title to scene release
Posted: 16 Mar 2021, 18:33
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 })}
Re: Just add title to scene release
Posted: 25 Mar 2021, 20:47
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
Re: Just add title to scene release
Posted: 27 Mar 2021, 05:18
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.