Page 1 of 1

Partial Episode Title Matches

Posted: 08 May 2020, 14:52
by Linney
I've recently downloaded torrents of Friends but when attempting to rename them via FileBotTool it seems that my usual format expressions stumble on some episodes where the episode title in the torrent doesn't exactly match the episode title on TVDB/TVMaze.

In Season 6, for example, there are 3 episode in particular:
friends.e124.the.one.with.rosss.denial.bluray.dd5.1.h264-lightspeed
friends.e129.the.one.with.rosss.teeth.bluray.dd5.1.h264-lightspeed
friends.e141.the.one.with.mac.and.cheese.bluray.dd5.1.h264-lightspeed

Compared to their TVDB titles:
The One With Ross' Denial
The One With Ross' Teeth
The One With Mac And C.H.E.E.S.E.

Presumably due to the triple-s/double-s and cheese/c.h.e.e.s.e., these episodes seem to default to either S01E05, S05E01, or get skipped completed. (see screenshots).

If I use TVMaze instead
friends.e136.the.one.that.could.have.been.part.one.bluray.dd5.1.h264-lightspeed
friends.e137.the.one.that.could.have.been.part.two.bluray.dd5.1.h264-lightspeed
friends.e141.the.one.with.mac.and.cheese.bluray.dd5.1.h264-lightspeed

Compared to their TVMaze tites:
The One That Could Have Been: Part 1
The One That Could Have Been: Part 2
The One With Mac And C.H.E.E.S.E.

Presumably due to the colon and again the acronym of cheese, these episodes seem to default to S01E05, an episode of Friends (1979), or get skipped completed. (see screenshots).

>> Season 6 Screenshots <<


In Season 7 there are similar issues.

If I use TVDB, then I have trouble with another triple-s episode which defaults to S05E01 (see screenshots)

If I use TVMaze then I have trouble with two episodes that are titled (slightly) wrong to begin with:
friends.e169.the.one.with.chandler.and.monicas.wedding.part.one.bluray.dd5.1.h264-lightspeed
friends.e170.the.one.with.chandler.and.monicas.wedding.part.two.bluray.dd5.1.h264-lightspeed

Compared to their TVMaze title:
The One with Monica and Chandler's Wedding (Part 1)
The One with Monica and Chandler's Wedding (Part 2)

These episodes default to S01E05, or get skipped completely (see screenshots)

>> Season 7 Screenshots <<


In Season 8 there is only one episode but it is also mistitled:
friends.e173.the.one.where.rachel.tells.bluray.dd5.1.h264-lightspeed.mkv

TVDB The One Where Rachel Tells Ross
TVMaze The One Where Rachel Tells Ross

This episode either defaults to S05E01 or is skipped entirely. (see screenshots)

>> Season 8 Screenshots <<



I must apologise for this long and drawn out post about what feels like a very niche problem but I've used Filebot(Tool) to rename literally hundreds of torrents and have never run into an issue like this. I've been grappling with it for a few days now but I am unable to figure out how to work around it.

Perhaps this is a case of FilebotTool failing however I feel like this is more likely able to be solved with some clever format expression but unfortunately I've not been able to figure it out yet.

Any advice or insight is welcome.

Re: Partial Episode Title Matches

Posted: 08 May 2020, 19:56
by kim

Code: Select all

{ episodelist.absolute.findAll{it} }
[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219,
220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236]

no absolute and bad title = fail

Re: Partial Episode Title Matches

Posted: 08 May 2020, 20:40
by rednoah
Yep, looks like Absolute Number information is mostly missing on TheTVDB, so if we can't identify by absolute episode number nor episode title, the things will go awry.


In this case, you could try --db TheMovieDB::TV --order Absolute. AFAIK, TheMovieDB doesn't support absolute episode numbers at all, so FileBot will just conjure up the numbers by counting, which might just make things work in this particular case.

Re: Partial Episode Title Matches

Posted: 08 May 2020, 22:37
by Linney
kim wrote: 08 May 2020, 19:56

Code: Select all

{ episodelist.absolute.findAll{it} }
[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219,
220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236]

no absolute and bad title = fail
Yes, I realised that the TVDB absolute details are only partially available. I was hoping that I would be able to edit the absolute data in myself but it doesn't seem possible. I will perhaps attempt to get in touch with an admin to get this rectified.




rednoah wrote: 08 May 2020, 20:40 Yep, looks like Absolute Number information is mostly missing on TheTVDB, so if we can't identify by absolute episode number nor episode title, the things will go awry.


In this case, you could try --db TheMovieDB::TV --order Absolute. AFAIK, TheMovieDB doesn't support absolute episode numbers at all, so FileBot will just conjure up the numbers by counting, which might just make things work in this particular case.
I think that FilebotTool does use the CLI interface however I'm unsure if it's possible to pass in arguments such as "--db TheMovieDB::TV" via the Format Expression field. I will look into this.



Thank you both for reading my post and for taking the time to respond - much appreciated!