Skip to content

Commit

Permalink
feat: Adding extensions to config
Browse files Browse the repository at this point in the history
  • Loading branch information
caffeine-addictt committed Apr 19, 2024
1 parent c07f670 commit f5204ae
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,13 @@ func init() {
os.Exit(1)
}

// Preferred extensions
viper.SetDefault("preferred_extensions", []string{
".mp4",
".avi",
".webm",
})

// Initialize subcommands
initCache()
}
Expand Down

0 comments on commit f5204ae

Please sign in to comment.