mirror of
https://github.com/stashapp/stash.git
synced 2026-05-09 05:05:29 +02:00
24 lines
550 B
Go
24 lines
550 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 {
|
|
GetAudioFileNamingAlgorithm() models.HashAlgorithm
|
|
}
|
|
|
|
type Service struct {
|
|
File models.FileReaderWriter
|
|
Repository models.AudioReaderWriter
|
|
PluginCache *plugin.Cache
|
|
|
|
Paths *paths.Paths
|
|
Config Config
|
|
}
|