Pure Go library that guesses video metadata (title, year, codec, resolution, release group, etc.) from a filename. Zero dependencies. Inspired by the Python guessit project.
go get github.com/odwrtw/whatsthisinfo := whatsthis.Video("Big.Buck.Bunny.2008.1080p.BluRay.x264-YIFY.mkv")
fmt.Println(info.Type) // movie
fmt.Println(info.Title) // Big Buck Bunny
fmt.Println(info.Year) // 2008
fmt.Println(info.ScreenSize) // 1080p
fmt.Println(info.VideoCodec) // H.264
fmt.Println(info.ReleaseGroup) // YIFY
fmt.Println(info.Container) // mkv