nuxencs / seasonpackarr

A companion app for autobrr that automagically hardlinks downloaded episodes into a season folder when a season pack is announced, eliminating the need for re-downloading existing episodes.
GNU General Public License v2.0
53 stars 3 forks source link

refactor(config): use viper.SetDefault instead of default struct #136

Closed nuxencs closed 1 month ago

nuxencs commented 1 month ago

Use viper.SetDefault instead of a struct to define the default values if none are provided in the config. This makes it more consistent and less error-prone when dealing with slices. Also reload a few more config values with DynamicReload.