From 95c0ba95cca76a8b37a4abb966e9c9d051b20768 Mon Sep 17 00:00:00 2001 From: Stein Ivar Berghei Date: Tue, 30 May 2023 16:20:14 +0900 Subject: [PATCH] audio_codec is no longer a array --- guessit.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/guessit.go b/guessit.go index ec39455..b1c5634 100644 --- a/guessit.go +++ b/guessit.go @@ -5,8 +5,6 @@ import ( "fmt" "log" "os/exec" - - _ "embed" ) type GuessitConfig struct { @@ -36,8 +34,8 @@ type Match struct { Container string `json:"container,omitempty"` // Audio - AudioChannels string `json:"audio_channels,omitempty"` - AudioCodec []string `json:"audio_codec,omitempty"` + AudioChannels string `json:"audio_channels,omitempty"` + AudioCodec string `json:"audio_codec,omitempty"` // Other Other []string `json:"other,omitempty"`