data

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: May 7, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateQueueTable

func CreateQueueTable()

func DeleteQueueItem added in v0.0.2

func DeleteQueueItem(id int) error

func InsertQueueItem

func InsertQueueItem(videoId, outputName, audioFormat, extraCommnds string, embedThumbnail, audioOnly bool) error

func OpenDatabase

func OpenDatabase() error

func UpdateQueueItemStatus

func UpdateQueueItemStatus(id int, status string) error

Types

type QueueItem

type QueueItem struct {
	Id             int
	VideoId        string
	OutputName     string
	EmbedThumbnail bool
	AudioOnly      bool
	AudioFormat    string
	ExtraCommands  string
	Status         string
}

func GetAllQueueItems

func GetAllQueueItems(status string) ([]*QueueItem, error)

Jump to

Keyboard shortcuts

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