@ -247,6 +247,12 @@ namespace MediaBrowser.Api
hasBudget.Revenue = request.Revenue;
}
var hasOriginalTitle = item as IHasOriginalTitle;
if (hasOriginalTitle != null)
{
hasOriginalTitle.OriginalTitle = hasOriginalTitle.OriginalTitle;
var hasCriticRating = item as IHasCriticRating;
if (hasCriticRating != null)
@ -125,6 +125,8 @@ namespace MediaBrowser.Controller.Entities
public string OriginalTitle { get; set; }
/// <summary>
/// Gets or sets the id.
/// </summary>
@ -18,8 +18,6 @@ namespace MediaBrowser.Controller.Entities.Movies
public List<Guid> SpecialFeatureIds { get; set; }
public List<Guid> ThemeSongIds { get; set; }
public List<Guid> ThemeVideoIds { get; set; }
public List<string> ProductionLocations { get; set; }
@ -19,8 +19,6 @@ namespace MediaBrowser.Controller.Entities.TV
public int? AnimeSeriesIndex { get; set; }
public Series()
@ -11,7 +11,7 @@ namespace MediaBrowser.Controller.Entities
/// Class Trailer
public class Trailer : Video, IHasCriticRating, IHasProductionLocations, IHasBudget, IHasKeywords, IHasTaglines, IHasMetascore, IHasLookupInfo<TrailerInfo>
public class Trailer : Video, IHasCriticRating, IHasProductionLocations, IHasBudget, IHasKeywords, IHasTaglines, IHasMetascore, IHasOriginalTitle, IHasLookupInfo<TrailerInfo>
@ -26,6 +26,8 @@ namespace MediaBrowser.Model.Dto
/// <value>The name.</value>
public string Name { get; set; }
/// Gets or sets the server identifier.
@ -130,6 +130,8 @@
Metascore,
OriginalTitle,
/// The item overview
@ -40,6 +40,15 @@ namespace MediaBrowser.Providers.Manager
if (replaceData || string.IsNullOrEmpty(target.OriginalTitle))
// Safeguard against incoming data having an emtpy name
if (!string.IsNullOrWhiteSpace(source.OriginalTitle))
target.OriginalTitle = source.OriginalTitle;
if (replaceData || !target.CommunityRating.HasValue)
target.CommunityRating = source.CommunityRating;
@ -1126,6 +1126,11 @@ namespace MediaBrowser.Server.Implementations.Dto
dto.Overview = item.Overview;
if (fields.Contains(ItemFields.OriginalTitle))
dto.OriginalTitle = item.OriginalTitle;
if (fields.Contains(ItemFields.ShortOverview))
var hasShortOverview = item as IHasShortOverview;