Add commit message generation

This commit is contained in:
ShukeBta
2026-05-28 14:55:01 +08:00
parent f553674b71
commit e93eb40f4e
5 changed files with 170 additions and 88 deletions
+4
View File
@@ -79,6 +79,10 @@ func embyWithRequestAddress(c *gin.Context, payload map[string]any) map[string]a
if address := embyRequestBaseURL(c); address != "" {
out["LocalAddress"] = address
out["WanAddress"] = address
out["PublishedServerUrl"] = address
}
if strings.HasPrefix(strings.ToLower(c.Request.URL.Path), "/emby") {
out["ProductName"] = "Emby Server"
}
return out
}