A wrapper around the guessit cli.
package main
import (
"errors"
"fmt"
"os"
"github.com/chlorm/guessit"
)
func main() {
var p *Properties
p, err := Guessit("Title.S01E01.EpisodeTitle.1080p.WEB-DL.H.264-GROUP.mkv")
if err != nil {
errors.New("error message")
os.Exit(1)
}
fmt.Println(p.Type[0].Value)
}