You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I haven't found the cause but adding to guessit/test/rules/episodes.yml
? Some.Series.S00E01.Some.Episode.Title.1080p.WEBRip.x265.AAC.2.0-SOMEGROUP.mkv: title: Some Seriesepisode_title: Some Episode Title? Some.Series.S00E01.REPACK.Some.Episode.Title.1080p.WEBRip.x265.AAC.2.0-SOMEGROUP.mkv: title: Some Seriesepisode_title: Some Episode Titleproper_count: 1
Replicates the issue in tests, the first one passes and the 2nd one is missing the episode_title
Still trying to narrow things down, but with breakpoints I've found that in the EpisodeTitleFromPosition rule the hole_filter method seems to be where the problem happens. In the working test the episode variable contains <S00E01:(12, 18)+private+tags=['SxxExx']> but in the not working test it doesn't contain anything.
When a filename contains "REPACK" it adds "Proper" to the tags, then for some reason no longer parses the episode title.
You can replicate with setting this up:
Then calling
guessit(file_name_original)
returns:Then calling
guessit(file_name_repack)
returns:Noticeably no longer returning a value for
episode_title
The text was updated successfully, but these errors were encountered: