diff --git a/internal/handlers/opds.go b/internal/handlers/opds.go index a9326d8..1b95928 100644 --- a/internal/handlers/opds.go +++ b/internal/handlers/opds.go @@ -106,7 +106,7 @@ func (h *OPDSHandler) GetDeviceCatalog(c echo.Context) error { if includeFormat != "" { filteredItems := []database.ListMediaItemsByLibraryRow{} for _, item := range allItems { - if strings.ToLower(item.FormatGroup) == strings.ToLower(includeFormat) { + if strings.EqualFold(item.FormatGroup, includeFormat) { filteredItems = append(filteredItems, item) } }