Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Episode

type Episode struct {
	Name        string
	DisplayName string
	Poster      string
	Path        string
}

type Movie

type Movie struct {
	Name   string
	Poster string
	Path   string
}

type Season

type Season struct {
	Name     string
	Poster   string
	Episodes map[string]Episode
}

type Show

type Show struct {
	Name    string
	Poster  string
	Seasons map[string]Season
}

type Store

type Store struct {
	MovieRootDir string
	ShowRootDir  string
	Movies       map[string]Movie
	Shows        map[string]Show
}

func NewStore

func NewStore(config *cfg.Config) (*Store, error)

Source Files