split

package
v0.6.10-0...-926069d Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const ErrorMessage string = "Failed to split the source audio into stems"
View Source
const JobType string = "split_track"

Variables

This section is empty.

Functions

This section is empty.

Types

type JobHandler

type JobHandler struct {
	// contains filtered or unexported fields
}

func NewJobHandler

func NewJobHandler(splitter splitter.TrackSplitter) JobHandler

func (JobHandler) HandleSplitJob

func (s JobHandler) HandleSplitJob(message []byte) (JobParams, splitter.StemFilePaths, error)

type JobParams

type JobParams struct {
	job_message.TrackIdentifier
	SavedOriginalURL string `json:"saved_original_url"`
}

type SplitJobHandler

type SplitJobHandler interface {
	HandleSplitJob(message []byte) (JobParams, splitter.StemFilePaths, error)
}

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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