Merging episodes using XBMC naming

stone

18-04-2010 03:07:10

Hiya,

I saw in the release notes that XBMC naming (i.e. S01E01E02E03) had been implemented - is this also the case when merging episodes ?
If so then please help me to understand how this works - example:
I've set episodes 18 & 19 of Bones S05 to be merged, and since my naming on disk is "Bones S05E18E19" I was happy to read that TV Rename now would support this - but it still shows up in the 'When to watch' tab as missing and is referred to as episode 18-19 as in previous versions :?:

I use TV Rename 2.2.0b3 ....

Cheers,
Stone

DedTV

19-04-2010 03:57:40

Click Options -> Filename Template Editor (or Ctrl+t)

Change {ShowName} - S{Season:2}E{Episode}[-E{Episode2}] - {EpisodeName} to something like
{ShowName} - S{Season:2}{AllEpisodes} - {EpisodeName}

Also be aware that you might have problem with the episodes no longer being recognized and showing up as missing when you do a scan once they are renamed using the {AllEpisodes} tag.

I found a workaround that works for me, but read the caveats. It should work for most people, but It probably won't work for everyone.
http://tvrename.com/bb/viewtopic.php?f=3&t=657
[Edit: Don't use my fix. Upgrade to 2.2.0b4 and reset to the defaults or use the RegEx sstteevvee posted in the linked thread]

To change the RegEx to the one in the thread above, do Options -> Filename Processors. Uncheck the box next to the first RegEx (It'll have "3x23 s3x23 3e23 s3e23" in the notes) to disable it. Leave all the others that are checked as they are. Copy the RegEx from the thread and then on the Filename Processors screen, Click add then double click the RegEx field and paste the code in there. Make sure the enabled box is checked, add a note if you'd like (Like "AllEpisodes RegEx"), then click Ok, then Ctrl+S to save your new config and then run a scan and the files should be recognized again.

sstteevvee

26-04-2010 14:30:54

As DedTV points out, you need to alter the "Filename Template" to specify how you want them to be named.

Please see the thread that DedTV linked to, and my response in it, as anyone with 2.2.0b3 or earlier installed, who tries to use the XMBC naming style, will find that episodes go "missing" after renaming.

feerlessleadr

08-05-2010 03:50:52

I have a similar question.

I use the naming convention: Show name - 1x01 - Episode name

For multi part episodes I will rename the file to: Show name - 1x01x02 - Episode name

Usually i just leave the second episode's name off since it is easier. I can't figure out how to get this to work with TV Rename. I have edited the Filename Template Editor to this:

{ShowName} - {Season}x{Episode}[x{Episode2}] - {EpisodeName}

However that causes the example to go red, and not pick up episode 1 (under episode it just says *2). When I do the default template I get the following:

Show name - 1x01 - 1x02 - Episode Name 1 + Episode Name 2

I don't think XBMC will pick that up when I do a scan (I will have to test when I get home, as I am at work).

::EDIT:: Well I think I actually solved my own problem. I changed the RE from "(^|[^a-z])s?(?<s>[0-9]+)[ex](?<e>[0-9]{2,})(e[0-9]{2,})*[^a-z]" to "(^|[^a-z])s?(?<s>[0-9]+)[ex](?<e>[0-9]{2,})(x[0-9]{2,})*[^a-z]" and the red went away in the Filename template editor. Under the episode it still just says one, but I assume that is what it is supposed to say?

DedTV

08-05-2010 20:43:15

Under the episode it still just says one, but I assume that is what it is supposed to say?

You have to add a merge rule to tell TV Rename it's more than one episode. On the My Shows tab, Expand the show, click the season with the double episode, then the edit button. On the Add/Modify rule screen, select Merge, then enter 1 in the From box and 2 in the To box (or whatever episode numbers you need). Then do a scan and TV Rename should want to rename it with the double episode naming.

And to answer the question the natural follow up question, automatic detection of multiple episode files is on the list of future features. :mrgreen:
But for now, you need to enter a rule for each multi-episode file.