Episode - Episode with Multi Part support
Posted: 03 Dec 2016, 06:41
I have several episodes that contain several files per episode
SERIES S01E11 - Episode Name, Part 1
SERIES S01E11 - Episode Name, Part 2
These are not split in the TVDB and are only split with the file. I don't really want to try and combine these into one file, and ideally just want to be able to rename them as is.
When i try to use Filebot to rename these among moving into their appropriate folder, but i'm having trouble getting the "Part x" to work.
What i typically used is a modified from others here and shown below,
Z:/Media/TV Shows/{norm = {it.upperInitial().lowerTrail().replaceTrailingBrackets().replaceAll(/[`´‘’?""“”]/, "'").replaceAll(/[:|]/, " - ").replaceAll(/[?]/, "!").replaceAll(/[*\s]+/, " ").replaceAll(/\b[IiVvXx]+\b/, { it.upper() }).replaceAll(/\b[0-9](?i:th|nd|rd)\b/, { it.lower() }).replaceFirst(/^(?i)(The)\s(.+)/, /$2, $1/)}; norm(n)}{if (norm(n) != norm(primaryTitle)) ' ('+norm(primaryTitle)+')'}{fn.contains('3D') || fn.contains('3-D') ? ' '+'3D':""} ({y})/{episode.special ? 'Special' : 'Season '+s.pad(2)}/{norm(n) +' - '} {episode.special ? 'S00E'+special.pad(2) : s00e00} {' - '+ norm(t)}{fn.contains('3D') || fn.contains('3-D') ? ' '+'3D':""}{' (' + fn.matchAll(/extended|uncensored|remastered|unrated|special[ ._-]edition/)*.upperInitial()*.lowerTrail().sort().join(', ').replaceAll(/[.]/, " ") + ')'}{" Part $pi"}{" [$vf]"}
The $pi section doesn't work, as it's only for movies., but I've tried several other attempts but none really give anything ideal. Is there a way to search for "Part x" in the name and just copy that when present?
Sorry if this is easy, i'm pretty early into using filebot.
SERIES S01E11 - Episode Name, Part 1
SERIES S01E11 - Episode Name, Part 2
These are not split in the TVDB and are only split with the file. I don't really want to try and combine these into one file, and ideally just want to be able to rename them as is.
When i try to use Filebot to rename these among moving into their appropriate folder, but i'm having trouble getting the "Part x" to work.
What i typically used is a modified from others here and shown below,
Z:/Media/TV Shows/{norm = {it.upperInitial().lowerTrail().replaceTrailingBrackets().replaceAll(/[`´‘’?""“”]/, "'").replaceAll(/[:|]/, " - ").replaceAll(/[?]/, "!").replaceAll(/[*\s]+/, " ").replaceAll(/\b[IiVvXx]+\b/, { it.upper() }).replaceAll(/\b[0-9](?i:th|nd|rd)\b/, { it.lower() }).replaceFirst(/^(?i)(The)\s(.+)/, /$2, $1/)}; norm(n)}{if (norm(n) != norm(primaryTitle)) ' ('+norm(primaryTitle)+')'}{fn.contains('3D') || fn.contains('3-D') ? ' '+'3D':""} ({y})/{episode.special ? 'Special' : 'Season '+s.pad(2)}/{norm(n) +' - '} {episode.special ? 'S00E'+special.pad(2) : s00e00} {' - '+ norm(t)}{fn.contains('3D') || fn.contains('3-D') ? ' '+'3D':""}{' (' + fn.matchAll(/extended|uncensored|remastered|unrated|special[ ._-]edition/)*.upperInitial()*.lowerTrail().sort().join(', ').replaceAll(/[.]/, " ") + ')'}{" Part $pi"}{" [$vf]"}
The $pi section doesn't work, as it's only for movies., but I've tried several other attempts but none really give anything ideal. Is there a way to search for "Part x" in the name and just copy that when present?
Sorry if this is easy, i'm pretty early into using filebot.