archive

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2022 License: GPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	Store          *database.Database
	TwitchService  *twitch.Service
	ChannelService *channel.Service
	VodService     *vod.Service
	QueueService   *queue.Service
}

func NewService

func NewService(store *database.Database, twitchService *twitch.Service, channelService *channel.Service, vodService *vod.Service, queueService *queue.Service) *Service

func (*Service) ArchiveTwitchChannel

func (s *Service) ArchiveTwitchChannel(cName string) (*ent.Channel, error)

ArchiveTwitchChannel - Create Twitch channel folder, profile image, and database entry.

func (*Service) ArchiveTwitchLive

func (s *Service) ArchiveTwitchLive(lwc *ent.Live, ts twitch.Live) (*TwitchVodResponse, error)

func (*Service) ArchiveTwitchVod

func (s *Service) ArchiveTwitchVod(vID string, quality string, chat bool) (*TwitchVodResponse, error)

func (*Service) CheckIfLiveTasksAreDone

func (s *Service) CheckIfLiveTasksAreDone(ch *ent.Channel, v *ent.Vod, qO *ent.Queue)

func (*Service) CheckIfTasksAreDone

func (s *Service) CheckIfTasksAreDone(ch *ent.Channel, v *ent.Vod, qO *ent.Queue)

func (*Service) CheckOnHold

func (s *Service) CheckOnHold()

func (*Service) RefreshLiveThumbnails

func (s *Service) RefreshLiveThumbnails(ch *ent.Channel, v *ent.Vod, q *ent.Queue)

func (*Service) RestartTask

func (s *Service) RestartTask(c echo.Context, qID uuid.UUID, task string, cont bool) error

func (*Service) TaskChatConvertRestart

func (s *Service) TaskChatConvertRestart(ch *ent.Channel, v *ent.Vod, q *ent.Queue, cont bool)

func (*Service) TaskChatDownload

func (s *Service) TaskChatDownload(ch *ent.Channel, v *ent.Vod, q *ent.Queue, cont bool)

func (*Service) TaskChatMove

func (s *Service) TaskChatMove(ch *ent.Channel, v *ent.Vod, q *ent.Queue, cont bool)

func (*Service) TaskChatRender

func (s *Service) TaskChatRender(ch *ent.Channel, v *ent.Vod, q *ent.Queue, cont bool)

func (*Service) TaskError

func (s *Service) TaskError(ch *ent.Channel, v *ent.Vod, q *ent.Queue, task string)

func (*Service) TaskLiveChatConvert

func (s *Service) TaskLiveChatConvert(ch *ent.Channel, v *ent.Vod, q *ent.Queue, cont bool)

func (*Service) TaskLiveChatDownload

func (s *Service) TaskLiveChatDownload(ch *ent.Channel, v *ent.Vod, q *ent.Queue, cont bool, busC chan bool)

func (*Service) TaskLiveChatMove

func (s *Service) TaskLiveChatMove(ch *ent.Channel, v *ent.Vod, q *ent.Queue, cont bool)

func (*Service) TaskLiveVideoDownload

func (s *Service) TaskLiveVideoDownload(ch *ent.Channel, v *ent.Vod, q *ent.Queue, cont bool, busC chan bool)

func (*Service) TaskVideoConvert

func (s *Service) TaskVideoConvert(ch *ent.Channel, v *ent.Vod, q *ent.Queue, cont bool)

func (*Service) TaskVideoDownload

func (s *Service) TaskVideoDownload(ch *ent.Channel, v *ent.Vod, q *ent.Queue, cont bool)

func (*Service) TaskVideoMove

func (s *Service) TaskVideoMove(ch *ent.Channel, v *ent.Vod, q *ent.Queue, cont bool)

func (*Service) TaskVodCreateFolder

func (s *Service) TaskVodCreateFolder(ch *ent.Channel, v *ent.Vod, q *ent.Queue, cont bool)

func (*Service) TaskVodDownloadLiveThumbnail

func (s *Service) TaskVodDownloadLiveThumbnail(ch *ent.Channel, v *ent.Vod, q *ent.Queue, cont bool)

func (*Service) TaskVodDownloadThumbnail

func (s *Service) TaskVodDownloadThumbnail(ch *ent.Channel, v *ent.Vod, q *ent.Queue, cont bool)

func (*Service) TaskVodSaveInfo

func (s *Service) TaskVodSaveInfo(ch *ent.Channel, v *ent.Vod, q *ent.Queue, cont bool)

func (*Service) TaskVodSaveLiveInfo

func (s *Service) TaskVodSaveLiveInfo(ch *ent.Channel, v *ent.Vod, q *ent.Queue, cont bool)

type TwitchVodResponse

type TwitchVodResponse struct {
	VOD   *ent.Vod   `json:"vod"`
	Queue *ent.Queue `json:"queue"`
}

Jump to

Keyboard shortcuts

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