stash/pkg/audio/service.go
Bob 31b69c1e8b Rough copy-paste setup for backend + TODO list and scope for this ticket.
Will utilize for discussion and agreement on MVP
2026-04-12 20:18:25 -07:00

25 lines
614 B
Go

// TODO(audio): update this file
// Package audio provides the application logic for audio functionality.
// Most functionality is provided by [Service].
package audio
import (
"github.com/stashapp/stash/pkg/models"
"github.com/stashapp/stash/pkg/models/paths"
"github.com/stashapp/stash/pkg/plugin"
)
type Config interface {
GetVideoFileNamingAlgorithm() models.HashAlgorithm
}
type Service struct {
File models.FileReaderWriter
Repository models.AudioReaderWriter
MarkerRepository models.AudioMarkerReaderWriter
PluginCache *plugin.Cache
Paths *paths.Paths
Config Config
}