ptt

package module
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 11, 2025 License: MIT Imports: 4 Imported by: 0

README

Go Reference License

go-ptt

Parse Torrent Title

Acknowledgement

License

Licensed under the MIT License. Check the LICENSE file for details.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Version

func Version() ver

Types

type Result

type Result struct {
	Audio       []string
	BitDepth    string
	Channels    []string
	Codec       string
	Commentary  bool
	Complete    bool
	Container   string
	Convert     bool
	Date        string
	Documentary bool
	Dubbed      bool
	Edition     string
	EpisodeCode string
	Episodes    []int
	Extended    bool
	Extension   string
	Group       string
	HDR         []string
	Hardcoded   bool
	Languages   []string
	Network     string
	Proper      bool
	Quality     string
	Region      string
	Remastered  bool
	Repack      bool
	Resolution  string
	Retail      bool
	Seasons     []int
	Site        string
	Size        string
	Subbed      bool
	ThreeD      string
	Title       string
	Uncensored  bool
	Unrated     bool
	Upscaled    bool
	Volumes     []int
	Year        string
	// contains filtered or unexported fields
}

func Parse

func Parse(title string) (r *Result)

func (*Result) Error added in v0.4.0

func (r *Result) Error() error

func (*Result) Normalize added in v0.2.0

func (r *Result) Normalize() *Result

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL