mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
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";
|
return "video/x-m4v";
|
||||||
}
|
}
|
||||||
|
else if (ext.EndsWith("asf", StringComparison.OrdinalIgnoreCase))
|
||||||
|
{
|
||||||
|
return "video/x-ms-asf";
|
||||||
|
}
|
||||||
|
|
||||||
// Type text
|
// Type text
|
||||||
else if (ext.EndsWith("css", StringComparison.OrdinalIgnoreCase))
|
else if (ext.EndsWith("css", StringComparison.OrdinalIgnoreCase))
|
||||||
@ -107,6 +111,10 @@ namespace MediaBrowser.Common.Net
|
|||||||
{
|
{
|
||||||
return "audio/wav";
|
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))
|
else if (ext.EndsWith("ogg", StringComparison.OrdinalIgnoreCase) || ext.EndsWith("oga", StringComparison.OrdinalIgnoreCase))
|
||||||
{
|
{
|
||||||
return "audio/ogg";
|
return "audio/ogg";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user