Skip to content

Commit

Permalink
fix: verify resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
ProfChaos committed Oct 7, 2024
1 parent e497505 commit d0a70f0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,9 @@ func (p *parser) Parse() (Torrent, error) {
torrent.Proper = p.Proper()
torrent.Convert = p.Convert()
torrent.Resolution = p.GetResolution()
if !torrent.Resolution.Verify() {
torrent.Resolution = ResolutionUnknown
}
torrent.Date = p.GetDate()
torrent.Year = p.GetYear()
torrent.Group = p.GetGroup()
Expand Down

0 comments on commit d0a70f0

Please sign in to comment.