feat: use human readable sizes in cache size configuration

This commit is contained in:
Deluan 2020-03-18 20:39:10 -04:00
parent faac303eff
commit c8cd755451
5 changed files with 16 additions and 3 deletions

View file

@ -24,7 +24,7 @@ type nd struct {
IgnoredArticles string `default:"The El La Los Las Le Les Os As O A"`
IndexGroups string `default:"A B C D E F G H I J K L M N O P Q R S T U V W X-Z(XYZ) [Unknown]([)"`
TranscodingCacheSize int64 `default:"100"` // in MB
TranscodingCacheSize string `default:"100MB"` // in MB
ProbeCommand string `default:"ffmpeg -i %s -f ffmetadata"`
// DevFlags. These are used to enable/disable debugging and incomplete features