Multi-Episode Naming Scheme

All about user-defined episode / movie format expressions
Post Reply
MarFilot
Posts: 34
Joined: 18 Nov 2014, 12:10

Multi-Episode Naming Scheme

Post by MarFilot »

Can someone show me the expression that I should use to get episode like this:

Touched by an Angel - S09E21 - I Will Walk With You (1)
Touched by an Angel - S09E22 - I Will Walk With You (2)

I use the default scheme in Filebot, but the 1 and 2 at the end is missing in the application, while it's present on TVDB
Image
drauku
Posts: 8
Joined: 19 Aug 2016, 07:17

Re: Multi-Episode Naming Scheme

Post by drauku »

This code works (I tested it in the GUI and properly appends the episode part number), but I'm sure rednoah has a more elegant solution:

Code: Select all

{n} - {s00e00} - {t} {' ('+episode.toString().match(/\([0-9]+\)$/)[1]+')'}
(thanks to @Crankrune for the episode part portion)

Note, we are discussing this issue on this topic:
viewtopic.php?f=5&t=4068
User avatar
rednoah
The Source
Posts: 19156
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Multi-Episode Naming Scheme

Post by rednoah »

or just:

Code: Select all

{n} - {s00e00} - {episode.title}
:idea: Please read the FAQ and How to Request Help.
MarFilot
Posts: 34
Joined: 18 Nov 2014, 12:10

Re: Multi-Episode Naming Scheme

Post by MarFilot »

Thanks a lot guys!

@drauku, I was searching the forum like crazy, but didn't see that topic. I searched for a similar keywords to my topic title, so I wouldn't have found that thread.
Image
drauku
Posts: 8
Joined: 19 Aug 2016, 07:17

Re: Multi-Episode Naming Scheme

Post by drauku »

MarFilot wrote:Thanks a lot guys!

@drauku, I was searching the forum like crazy, but didn't see that topic. I searched for a similar keywords to my topic title, so I wouldn't have found that thread.
That's why we help each other out! Nobody can search for all the possible ways to do something when it comes to coding. I'm a horrible beginner, so point me in the right direction when you see it is needed!
Sevaus
Posts: 1
Joined: 20 Oct 2016, 08:02

Re: Multi-Episode Naming Scheme

Post by Sevaus »

I need rename some video files wich containing two episodes together. like this:
Dragon Ball 1x10x11 Title episode10 & Title episode11

Sorry for my poor english, thank!
User avatar
rednoah
The Source
Posts: 19156
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Multi-Episode Naming Scheme

Post by rednoah »

Thanks for the post! Before a real human comes by, please make sure your report has all the following points checked:
  • What are you trying to do achieve? What's not working? What have you tried so far?
  • Include screenshots, logs or filenames (i.e. demonstrate the issue)
  • Include basic information (i.e. sysinfo output)
:idea: Please read How to Request Help and Fix Problems, Report Bugs, Get Features
:idea: Please read the FAQ and How to Request Help.
DavidRTurner
Power User
Posts: 85
Joined: 01 Feb 2014, 16:59

Re: Multi-Episode Naming Scheme

Post by DavidRTurner »

Sevaus wrote:I need rename some video files wich containing two episodes together. like this:
Dragon Ball 1x10x11 Title episode10 & Title episode11

Sorry for my poor english, thank!
Read through the forums like this one (viewtopic.php?f=5&t=2) to see examples of formatting.

Code: Select all

{n} - {s00e00} - {t}
is simple, and will give you NAME - SEASON#EPISODE#X-Y - SHOW TITLE

So if your file is named "dragonball z 110-111", it becomes "Dragon Ball Z - S01E10-E11 - A New Friend & Terror on Arlia"
User avatar
rednoah
The Source
Posts: 19156
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Multi-Episode Naming Scheme

Post by rednoah »

Binding {s00e00} and {sxe} support multi-episode data, but depending on the filename FileBot may or may not be able to interpret the filename as multi-episode in the first place (that's why you should post the filename so I can try this myself).
:idea: Please read the FAQ and How to Request Help.
Post Reply