Documentation
¶
Overview ¶
Package sharedsettings manages the single-row shared_media_handling table. These are filesystem/handling settings that apply uniformly across all media-manager services (Prism, Pilot). Services pull them via their sync loops and overwrite the corresponding fields in their own local settings.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service manages the shared settings record.
func NewService ¶
NewService constructs a new shared settings service.
type Settings ¶
type Settings struct {
ColonReplacement string `json:"colon_replacement"`
ImportExtraFiles bool `json:"import_extra_files"`
ExtraFileExtensions string `json:"extra_file_extensions"`
RenameFiles bool `json:"rename_files"`
UpdatedAt string `json:"updated_at"`
}
Settings is the data shape exposed externally. Matches the DB columns 1:1 minus the sentinel `id` (always 1).
Click to show internal directories.
Click to hide internal directories.