diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-02-07 08:43:44 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-02-07 08:43:44 -0500 |
| commit | 49c0878a4b295e7882613b989953f2c753fc8bca (patch) | |
| tree | 75853ae99bd2d6a51b21945b56ed30fec6a69aaf /MediaBrowser.Api/Library/LibraryService.cs | |
| parent | cf0875ef6c3b36f3dae9f3effbc147f763e8614a (diff) | |
updated nuget
Diffstat (limited to 'MediaBrowser.Api/Library/LibraryService.cs')
| -rw-r--r-- | MediaBrowser.Api/Library/LibraryService.cs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/MediaBrowser.Api/Library/LibraryService.cs b/MediaBrowser.Api/Library/LibraryService.cs index a97e2b52e..9027685b1 100644 --- a/MediaBrowser.Api/Library/LibraryService.cs +++ b/MediaBrowser.Api/Library/LibraryService.cs @@ -5,10 +5,8 @@ using MediaBrowser.Controller.Entities.Audio; using MediaBrowser.Controller.Entities.Movies; using MediaBrowser.Controller.Entities.TV; using MediaBrowser.Controller.Library; -using MediaBrowser.Controller.LiveTv; using MediaBrowser.Controller.Net; using MediaBrowser.Controller.Persistence; -using MediaBrowser.Controller.Playlists; using MediaBrowser.Controller.Session; using MediaBrowser.Model.Dto; using MediaBrowser.Model.Entities; @@ -314,7 +312,7 @@ namespace MediaBrowser.Api.Library // Quotes are valid in linux. They'll possibly cause issues here var filename = Path.GetFileName(item.Path).Replace("\"", string.Empty); - headers["Content-Disposition"] = string.Format("inline; filename=\"{0}\"", filename); + headers["Content-Disposition"] = string.Format("attachment; filename=\"{0}\"", filename); return ResultFactory.GetStaticFileResult(Request, new StaticFileResultOptions { |
