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)
}
Click to show internal directories.
Click to hide internal directories.