Skip to content

odwrtw/whatsthis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

whatsthis

Test

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.

Installation

go get github.com/odwrtw/whatsthis

Usage

info := 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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages