Implemented UI plugin downloading

This commit is contained in:
LukePulverenti Luke Pulverenti luke pulverenti
2012-09-03 15:12:02 -04:00
parent 4500f1d11b
commit 26aef6b082
11 changed files with 118 additions and 28 deletions

View File

@@ -148,6 +148,12 @@ namespace MediaBrowser.Common.Net
return "application/x-mpegURL";
}
// Misc
else if (ext.EndsWith("dll", StringComparison.OrdinalIgnoreCase))
{
return "application/x-msdownload";
}
throw new InvalidOperationException("Argument not supported: " + path);
}
}