updated tvdb search
This commit is contained in:
@@ -894,12 +894,14 @@ namespace MediaBrowser.Controller.Entities
|
||||
/// <returns>System.String.</returns>
|
||||
public string GetUserDataKey()
|
||||
{
|
||||
if (!string.IsNullOrWhiteSpace(_userDataKey))
|
||||
if (string.IsNullOrWhiteSpace(_userDataKey))
|
||||
{
|
||||
return _userDataKey;
|
||||
var key = CreateUserDataKey();
|
||||
_userDataKey = key;
|
||||
return key;
|
||||
}
|
||||
|
||||
return _userDataKey ?? (_userDataKey = CreateUserDataKey());
|
||||
return _userDataKey;
|
||||
}
|
||||
|
||||
protected virtual string CreateUserDataKey()
|
||||
@@ -914,6 +916,12 @@ namespace MediaBrowser.Controller.Entities
|
||||
return current.IsInMixedFolder == newItem.IsInMixedFolder;
|
||||
}
|
||||
|
||||
public void AfterMetadataRefresh()
|
||||
{
|
||||
_sortName = null;
|
||||
_userDataKey = null;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the preferred metadata language.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user