diff --git a/dlna/dms/mimetype.go b/dlna/dms/mimetype.go index 281e469..a895853 100644 --- a/dlna/dms/mimetype.go +++ b/dlna/dms/mimetype.go @@ -16,6 +16,9 @@ func init() { if err := mime.AddExtensionType(".ogv", "video/ogg"); err != nil { log.Printf("Could not register video/ogg MIME type: %s", err) } + if err := mime.AddExtensionType(".ogg", "audio/ogg"); err != nil { + log.Printf("Could not register audio/ogg MIME type: %s", err) + } } // Example: "video/mpeg"