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
When Fetch matches files to metadata it can crash if your movie has the date at the beginning of the filename. Create a folder and movie with the following title and Downpour will throw an error:
1984.1984.720p.BluRay.H264.AAC.mp4
The error is happening in Downpour.swift line 151:
} else if year != nil {
let endIndex = rawString.index(rawString.range(of: year!)!.lowerBound, offsetBy: -1)
return rawString[rawString.startIndex...endIndex].cleanedString
}
I think the index is going out of range due to the offset, but I could be wrong. Its been a longtime since I've written code.
The text was updated successfully, but these errors were encountered:
When Fetch matches files to metadata it can crash if your movie has the date at the beginning of the filename. Create a folder and movie with the following title and Downpour will throw an error:
1984.1984.720p.BluRay.H264.AAC.mp4
The error is happening in Downpour.swift line 151:
I think the index is going out of range due to the offset, but I could be wrong. Its been a longtime since I've written code.
The text was updated successfully, but these errors were encountered: