mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-04 13:07:36 +03:00
Refactor a bit how ffmpeg is used to get metadata
- createProbeCommand returns a []string instead of (string, string[]) - Simplify the loop of createProbeCommand
This commit is contained in:
parent
6a3a66975c
commit
04eb421186
2 changed files with 11 additions and 18 deletions
|
@ -29,7 +29,7 @@ type nd struct {
|
|||
|
||||
TranscodingCacheSize string `default:"100MB"` // in MB
|
||||
ImageCacheSize string `default:"100MB"` // in MB
|
||||
ProbeCommand string `default:"ffmpeg -i %s -f ffmetadata"`
|
||||
ProbeCommand string `default:"ffmpeg %s -f ffmetadata"`
|
||||
|
||||
// DevFlags. These are used to enable/disable debugging and incomplete features
|
||||
DevLogSourceLine bool `default:"false"`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue