fixes #381 - Add Video3DFormat to edit page

This commit is contained in:
Luke Pulverenti 2013-07-29 08:34:46 -04:00
parent ce214144dc
commit 706f9b9f51

View File

@ -229,6 +229,7 @@ namespace MediaBrowser.Api
item.Language = request.Language; item.Language = request.Language;
item.OfficialRating = request.OfficialRating; item.OfficialRating = request.OfficialRating;
item.CustomRating = request.CustomRating; item.CustomRating = request.CustomRating;
item.DontFetchMeta = !(request.EnableInternetProviders ?? true); item.DontFetchMeta = !(request.EnableInternetProviders ?? true);
if (request.EnableInternetProviders ?? true) if (request.EnableInternetProviders ?? true)
{ {
@ -249,6 +250,12 @@ namespace MediaBrowser.Api
item.ProviderIds = request.ProviderIds; item.ProviderIds = request.ProviderIds;
var video = item as Video;
if (video != null)
{
video.Video3DFormat = request.Video3DFormat;
}
var game = item as Game; var game = item as Game;
if (game != null) if (game != null)