parent
4d06a3718a
commit
95e5ef613f
|
@ -122,6 +122,10 @@ func (g Guessit) Guessit(s string, options ...string) (out Match, err error) {
|
|||
}
|
||||
}
|
||||
|
||||
if _, ok := tmpmap["version"]; !ok {
|
||||
tmpmap["version"] = -1
|
||||
}
|
||||
|
||||
config := &mapstructure.DecoderConfig{
|
||||
WeaklyTypedInput: true,
|
||||
Result: &out,
|
||||
|
|
Loading…
Reference in New Issue