Miss-Inputs / Meow-Launcher

Game launcher type thing
Other
3 stars 0 forks source link

Edge cases with series_detect #84

Open Miss-Inputs opened 5 years ago

Miss-Inputs commented 5 years ago
Miss-Inputs commented 5 years ago

Oh, the last one is easily solvable by name_consistency.ini. The former is the fun part.

Miss-Inputs commented 5 years ago

Hmm... maybe using all of name_chunks and not just the first bit might help. I have a vague idea of what I'm gonna try later.

Miss-Inputs commented 5 years ago

Gonna try doing just that, replacing name_chunks[1] with ' - '.join(name_chunks[1:]). Let's see what happens.

Miss-Inputs commented 5 years ago

No, that doesn't work. Hmm. It wouldn't work, because the name chunks of Half-Life 2: Episode One are: 0: Half-Life 2 1: Episode One

The series field before we get to series_detect is already "Half-Life", so we're just taking that and comparing the first name chunk and saying the index is 2...