change 3dformat xml tag to Video3DFormat
This commit is contained in:
parent
d62e63acb8
commit
a1599ccd6c
|
@ -586,7 +586,7 @@ namespace MediaBrowser.Controller.Providers
|
|||
{
|
||||
switch (reader.Name)
|
||||
{
|
||||
case "3DFormat":
|
||||
case "Video3DFormat":
|
||||
{
|
||||
var video = item as Video;
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user