Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrepareLookupByURL ¶
PrepareLookupByURL returns a reusable statement for looking up a video by url.
func SetupTable ¶
SetupTable creates the shows table if it does not exist.
Types ¶
type Video ¶
type Video struct { ID int `db:"id"` URL string `db:"url"` Show string `db:"show"` Filename string `db:"filename"` Title string `db:"title"` Description string `db:"description"` AverageRating float64 `db:"average_rating"` UploadDate string `db:"upload_date"` SeasonNum int `db:"season_num"` EpisodeNum int `db:"episode_num"` Step string `db:"step"` }
Video represents a video file and metadata.
Click to show internal directories.
Click to hide internal directories.