media

package
v0.0.0-...-b65b91e Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2021 License: GPL-3.0 Imports: 7 Imported by: 0

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)

Jump to

Keyboard shortcuts

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