fix media workflows and download organization

This commit is contained in:
ShukeBta
2026-06-26 08:42:16 +08:00
parent 0da96f7e4e
commit 65adca04df
102 changed files with 4063 additions and 437 deletions
+5 -4
View File
@@ -72,10 +72,11 @@ func (s *ScannerService) maybeGenerateSTRMAfterScan(libraryID string) {
ctx := context.Background()
strmSvc := NewSTRMService(s.log, s.repo, s.cfg)
opts := GenerateSTRMOptions{
LibraryID: libraryID,
Enabled: true,
IncludeLocal: true,
Overwrite: true,
LibraryID: libraryID,
Enabled: true,
IncludeLocal: true,
Overwrite: true,
SkipSettingsSave: true,
}
if outDir, scope := s.autoSTRMOutputDir(ctx); outDir != "" {
opts.OutputDir = outDir