Skip to content

Commit

Permalink
Increase max gif duration to 30 seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
warmans committed Oct 12, 2024
1 parent 49a1c75 commit d2533b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/tools/tools.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func NewToolsCommand(logger *slog.Logger) *cobra.Command {
}

var nameWithShortSeasonAndEpisode = regexp.MustCompile(`^.*[sS](?P<series>\d+)(\s+)?[eE](?P<episode>\d+).*$`)
var nameWithLongSeasonAndEpisode = regexp.MustCompile(`^.*[sS]eason (?P<series>\d+) [eE]pisode (?P<episode>\d+).*$`)
var nameWithLongSeasonAndEpisode = regexp.MustCompile(`^.*[sS](eason|eries) (?P<series>\d+) [eE]pisode (?P<episode>\d+).*$`)
var nameWithSplitSeasonAndEpisode = regexp.MustCompile(`^.*[sS](?P<series>\d+)\.[eE](?P<episode>\d+).*$`)
var shortSeasonAndEpisode = regexp.MustCompile(`^.*(?P<series>\d+)x(?P<episode>\d+).*$`)

Expand Down
2 changes: 1 addition & 1 deletion pkg/limits/limits.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ package limits

import "time"

const MaxGifDuration = time.Second * 20
const MaxGifDuration = time.Second * 30

0 comments on commit d2533b6

Please sign in to comment.