Skip to content

Commit

Permalink
Print device icon sizes after config load
Browse files Browse the repository at this point in the history
This means that if device icon sizes are specified
in a json config file the correct sizes will be printed.
  • Loading branch information
stuart-mclaren authored and anacrolix committed Aug 29, 2024
1 parent a5239dd commit f77e12d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,6 @@ func mainErr() error {
config.FriendlyName = *friendlyName
config.DeviceIcon = *deviceIcon
config.DeviceIconSizes = strings.Split(*deviceIconSizes, ",")
logger.Printf("device icon sizes are %q", config.DeviceIconSizes)

config.LogHeaders = *logHeaders
config.FFprobeCachePath = *fFprobeCachePath
Expand All @@ -182,6 +181,7 @@ func mainErr() error {
config.load(*configFilePath)
}

logger.Printf("device icon sizes are %q", config.DeviceIconSizes)
logger.Printf("allowed ip nets are %q", config.AllowedIpNets)
logger.Printf("serving folder %q", config.Path)
if config.AllowDynamicStreams {
Expand Down

0 comments on commit f77e12d

Please sign in to comment.