fix: implement watch media group handler and enhance media processing logic

This commit is contained in:
krau
2026-01-17 13:23:47 +08:00
parent cabe1189e2
commit f17a380579
3 changed files with 169 additions and 4 deletions

View File

@@ -26,7 +26,7 @@ func BuildDirHelpStyling(dirs []database.Dir) []styling.StyledTextOption {
styling.Blockquote(func() string {
var sb strings.Builder
for _, dir := range dirs {
sb.WriteString(fmt.Sprintf("%d: ", dir.ID))
fmt.Fprintf(&sb, "%d: ", dir.ID)
sb.WriteString(dir.StorageName)
sb.WriteString(" - ")
sb.WriteString(dir.Path)