respect locked fields
This commit is contained in:
parent
8e581995ef
commit
7bd586d133
|
@ -658,8 +658,8 @@ namespace MediaBrowser.Providers.Movies
|
|||
if (!movie.LockedFields.Contains(MetadataFields.Overview))
|
||||
{
|
||||
movie.Overview = WebUtility.HtmlDecode(movieData.overview);
|
||||
movie.Overview = movie.Overview != null ? movie.Overview.Replace("\n\n", "\n") : null;
|
||||
}
|
||||
movie.Overview = movie.Overview != null ? movie.Overview.Replace("\n\n", "\n") : null;
|
||||
movie.HomePageUrl = movieData.homepage;
|
||||
movie.Budget = movieData.budget;
|
||||
movie.Revenue = movieData.revenue;
|
||||
|
|
|
@ -214,7 +214,10 @@ namespace MediaBrowser.Providers.Movies
|
|||
/// <param name="searchResult">The search result.</param>
|
||||
protected void ProcessInfo(Person person, PersonResult searchResult)
|
||||
{
|
||||
person.Overview = searchResult.biography;
|
||||
if (!person.LockedFields.Contains(MetadataFields.Overview))
|
||||
{
|
||||
person.Overview = searchResult.biography;
|
||||
}
|
||||
|
||||
DateTime date;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user