Use {emby} but get S03E18E19E20E21 instead of S03E18-E21 episode numbering

Support for Windows users
Post Reply
invader
Posts: 7
Joined: 07 May 2020, 09:33

Use {emby} but get S03E18E19E20E21 instead of S03E18-E21 episode numbering

Post by invader »

Hi there,

I've been looking for a solution and I haven't been able to find one on the forums. Similar topics but not the exact same.

My current episode format is:

Code: Select all

Series\{ emby[1] }\{ emby[2] }\{ emby.derive{" $vf.$vc.$ac"}.name }
I'm trying to output a name that has more than 2 episodes in a file.
I'm trying to output:

Code: Select all

Show (2005)\Season 03\Show (2005) - S03E18E19E20E21 - Episode Eighteen & Episode Nineteen & Episode Twenty & Episode Twenty One 1080p.x265.AAC.mp4
What I get is:
Show (2005)/Season 03/Show (2005) - S03E18-E21 - Episode Eighteen & Episode Nineteen & Episode Twenty & Episode Twenty One 1080p.x265.AAC.mp4

Is there a way to get the format S03E18E19E20E21 instead of S03E18-E21?

Thanks in advance!
User avatar
rednoah
The Source
Posts: 21078
Joined: 16 Nov 2011, 08:59

Re: More than 2 episodes in 1 file.

Post by rednoah »

AFAIK, {emby} expects S03E18-E21 multi-episode naming, and so you'll have to write your own custom format if you want something different. If you organize files for 3rd party software, then S03E18-E21 multi-episode-range is the number format you want.



If you just want S03E18E19E20E21 for no particular reason, then you can just have your format generate that:

Code: Select all

S{s.pad(2)}E{es*.pad(2).join('E')}

e.g.

Code: Select all

Series/{sy}/Season {s.pad(2)}/{sy} - S{s.pad(2)}E{es*.pad(2).join('E')} - {t} {vf}.{vc}.{ac}



:!: However, if you are organizing files for Emby or Jellyfin or friends, then you will want to stick with the default {emby} format and multi-episode-range number format that comes with that:

Code: Select all

Series/{ ~emby.id % {" $vf.$vc.$ac"} }
:arrow: https://support.emby.media/support/solu ... -tv-naming
:arrow: https://support.plex.tv/articles/naming ... how-files/
:idea: Please read the FAQ and How to Request Help.
invader
Posts: 7
Joined: 07 May 2020, 09:33

Re: Use {emby} but get S03E18E19E20E21 instead of S03E18-E21 episode numbering

Post by invader »

Thank you! I am using Emby which supports both methods however the issue is that tinyMediaManager doesn't like it when I have more that 2 episodes in a span . Might try to see if tinyMediaManager can support more the 2 episodes in a span and then I could just use the fileBot {emby} format. Thanks for such a quick reply.
invader
Posts: 7
Joined: 07 May 2020, 09:33

Re: Use {emby} but get S03E18E19E20E21 instead of S03E18-E21 episode numbering

Post by invader »

Turns out Kodi, Emby and TinyMediaManager all support S03E18E19E20E21 so I'll stick with this format.

In case anyone else finds it useful, I've ended up with this custom format:

Code: Select all

\Series\{ emby[1] }\{ emby[2] }\{ emby[1] } - S{s.pad(2)}E{es*.pad(2).join('E')} - {t.replaceAll(/[`´‘’ʻ]/, /'/).replaceAll(/[:]/, / -/).replaceAll(/[!?.]+$/).replacePart(', Part $1')} {vf}.{vc}.{ac}{ subt }
Thanks again for your help rednoah.
Post Reply