Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VideoManager ¶
type VideoManager struct {
// contains filtered or unexported fields
}
func New ¶
func New(dataDir string, videoStore VideoStore) *VideoManager
func (*VideoManager) DownloadStatus ¶
func (vm *VideoManager) DownloadStatus(videoRef models.VideoRef) (models.DownloadStatus, error)
func (*VideoManager) Get ¶ added in v0.0.5
func (vm *VideoManager) Get(id uuid.UUID) (*models.SavedVideo, error)
func (*VideoManager) List ¶
func (vm *VideoManager) List() ([]models.SavedVideo, error)
type VideoStore ¶
type VideoStore interface { ListRecent() ([]models.SavedVideo, error) FindWithID(id uuid.UUID) (*models.SavedVideo, error) FindWithExtID(videoRef models.VideoRef) (*models.SavedVideo, error) }
Click to show internal directories.
Click to hide internal directories.