Skip to content

chlorm/go-guessit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-guessit

A wrapper around the guessit cli.

Usage:

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)
}

About

A wrapper around the guessit cli

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published