Page 1 of 1

How to add numbers to episode number?

Posted: 23 Oct 2018, 16:02
by waltberkman
Sorry if this is simple and I should be able to figure it out, but I don't really know enough programming to figure this out. I'm trying to add 7 to all my episode numbers. I currently have Arrested Development Remix listed as e01-e22, but theTVDB lists them as e08-e29.

How can I get it to add 7 so I don't have to rename them manually? I've played around with sum and can't get the syntax right, mainly because I have no idea what I'm doing.

Re: How to add numbers to episode number?

Posted: 23 Oct 2018, 17:43
by kim

Code: Select all

{def epOffset = 7; 's'+s.pad(2)+'e'+(e+epOffset).pad(2) }
BUT
Using TVDB you need to rename using "Specials":
https://www.thetvdb.com/series/arrested ... /seasons/0
https://www.thetvdb.com/series/arrested ... es/6691221
e.g.
Arrested Development - S00E08 - Season 4 Remix: Re Cap'n Bluth
So better to use GUI ("Episodes") to manual match and rename the files
https://www.youtube.com/watch?v=btNSv7AnMMw
https://www.youtube.com/watch?v=P7tas1ceKG0

Re: How to add numbers to episode number?

Posted: 24 Oct 2018, 01:50
by rednoah
What kim said. Note that in Episode panel, you can multi-select the episodes you want, and then CTRL+C / CTRL+V copy & paste them into New Names. That way you can easily select the right sequence of episodes, and they'll align with your files right away after paste.