Added more mime types
This commit is contained in:
parent
3bb0ae0f13
commit
f7ea68615b
|
@ -53,6 +53,10 @@ namespace MediaBrowser.Common.Net
|
|||
{
|
||||
return "video/x-m4v";
|
||||
}
|
||||
else if (ext.EndsWith("asf", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
return "video/x-ms-asf";
|
||||
}
|
||||
|
||||
// Type text
|
||||
else if (ext.EndsWith("css", StringComparison.OrdinalIgnoreCase))
|
||||
|
@ -107,6 +111,10 @@ namespace MediaBrowser.Common.Net
|
|||
{
|
||||
return "audio/wav";
|
||||
}
|
||||
else if (ext.EndsWith("wma", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
return "audio/x-ms-wma";
|
||||
}
|
||||
else if (ext.EndsWith("ogg", StringComparison.OrdinalIgnoreCase) || ext.EndsWith("oga", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
return "audio/ogg";
|
||||
|
|
Loading…
Reference in New Issue
Block a user