42minutes / go-42minutes

Manage your TV series - Scan existing, find and download new and missing episodes.
7 stars 2 forks source link

Add quality and other metadata when matching #27

Open geoah opened 8 years ago

geoah commented 8 years ago

Simple matcher should be able to figure out more than just show, season, and episode.

Useful metadata would include:

jimeh commented 8 years ago

Quality is actually pretty complex and breaks down into four categories:

Again, Flexget is paves the way when it comes to how to handle Quality and what different qualities we probably want to support: http://flexget.com/Plugins/quality

geoah commented 8 years ago

After #31 we have a much better place and structure to store episode metadata but we still might need to add or remove some attributes.

type UserFile struct {
    Name         string `json:"name" gorethink:"name"`
    Path         string `json:"path" gorethink:"path"`
    Infohash     string `json:"-" gorethink:"infohash"`
    Resolution   string `json:"resolution" gorethink:"resolution"`
    Source       string `json:"source" gorethink:"source"`
    VideoCodec   string `json:"video_codec" gorethink:"video_codec"`
    AudioCodec   string `json:"audio_codec" gorethink:"audio_codec"`
    ReleaseGroup string `json:"release_group" gorethink:"release_group"`
    CRC32        string `json:"crc32" gorethink:"crc32"`
    Status       string `json:"status" gorethink:"status"`
    RetryTime    int64  `json:"retry_time" gorethink:"retry_time"`
}