change 3dformat xml tag to Video3DFormat

This commit is contained in:
Luke Pulverenti 2013-07-07 11:54:52 -04:00
parent d62e63acb8
commit a1599ccd6c
3 changed files with 7 additions and 6 deletions

View File

@ -586,7 +586,7 @@ namespace MediaBrowser.Controller.Providers
{
switch (reader.Name)
{
case "3DFormat":
case "Video3DFormat":
{
var video = item as Video;

View File

@ -575,7 +575,8 @@ namespace MediaBrowser.Providers.Movies
Logger.Info("MoviedbProvider: Ignoring " + item.Name + " because ID forced blank.");
return;
}
if (item.GetProviderId(MetadataProviders.Tmdb) == null) item.SetProviderId(MetadataProviders.Tmdb, id);
item.SetProviderId(MetadataProviders.Tmdb, id);
var mainResult = await FetchMainResult(item, id, cancellationToken).ConfigureAwait(false);

View File

@ -453,16 +453,16 @@ namespace MediaBrowser.Providers.Savers
switch (video.Video3DFormat.Value)
{
case Video3DFormat.FullSideBySide:
builder.Append("<3DFormat>FSBS</3DFormat>");
builder.Append("<Video3DFormat>FSBS</3DFormat>");
break;
case Video3DFormat.FullTopAndBottom:
builder.Append("<3DFormat>FTAB</3DFormat>");
builder.Append("<Video3DFormat>FTAB</3DFormat>");
break;
case Video3DFormat.HalfSideBySide:
builder.Append("<3DFormat>HSBS</3DFormat>");
builder.Append("<Video3DFormat>HSBS</3DFormat>");
break;
case Video3DFormat.HalfTopAndBottom:
builder.Append("<3DFormat>HTAB</3DFormat>");
builder.Append("<Video3DFormat>HTAB</3DFormat>");
break;
}
}