audio_codec is no longer a array

master v0.0.9
Stein Ivar Berghei 2023-05-30 16:20:14 +09:00
parent eb166f5e1a
commit 95c0ba95cc
1 changed files with 2 additions and 4 deletions

View File

@ -5,8 +5,6 @@ import (
"fmt" "fmt"
"log" "log"
"os/exec" "os/exec"
_ "embed"
) )
type GuessitConfig struct { type GuessitConfig struct {
@ -37,7 +35,7 @@ type Match struct {
// Audio // Audio
AudioChannels string `json:"audio_channels,omitempty"` AudioChannels string `json:"audio_channels,omitempty"`
AudioCodec []string `json:"audio_codec,omitempty"` AudioCodec string `json:"audio_codec,omitempty"`
// Other // Other
Other []string `json:"other,omitempty"` Other []string `json:"other,omitempty"`