Fix name not filled in for Box Sets

This commit is contained in:
Eric Reed 2013-08-19 14:15:25 -04:00
parent 9367878dcb
commit 8f105fb618

View File

@ -653,7 +653,7 @@ namespace MediaBrowser.Providers.Movies
{
if (!movie.LockedFields.Contains(MetadataFields.Name))
{
movie.Name = movieData.title ?? movieData.original_title ?? movie.Name;
movie.Name = movieData.title ?? movieData.original_title ?? movieData.name ?? movie.Name;
}
if (!movie.LockedFields.Contains(MetadataFields.Overview))
{
@ -1177,6 +1177,7 @@ namespace MediaBrowser.Providers.Movies
public string homepage { get; set; }
public int id { get; set; }
public string imdb_id { get; set; }
public string name { get; set; }
public string original_title { get; set; }
public string overview { get; set; }
public double popularity { get; set; }