mirror of
https://git.um-react.app/um/cli.git
synced 2025-11-28 03:33:02 +00:00
Decoder.GetAudioExt() return extension with .
This commit is contained in:
@@ -119,7 +119,7 @@ func tryDecFile(inputFile string, outputDir string, allDec []common.NewDecoderFu
|
||||
|
||||
outExt := dec.GetAudioExt()
|
||||
if outExt == "" {
|
||||
outExt = "mp3"
|
||||
outExt = ".mp3"
|
||||
}
|
||||
filenameOnly := strings.TrimSuffix(filepath.Base(inputFile), filepath.Ext(inputFile))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user