update mouse handler

This commit is contained in:
Luke Pulverenti
2015-10-23 12:04:33 -04:00
parent 4c8236d887
commit 11c5bd4a74
3 changed files with 29 additions and 3 deletions

View File

@@ -296,9 +296,16 @@ namespace MediaBrowser.Controller.Entities.TV
{
var hasChanges = base.BeforeMetadataRefresh();
if (LibraryManager.FillMissingEpisodeNumbersFromPath(this))
try
{
hasChanges = true;
if (LibraryManager.FillMissingEpisodeNumbersFromPath(this))
{
hasChanges = true;
}
}
catch (Exception ex)
{
Logger.ErrorException("Error in FillMissingEpisodeNumbersFromPath. Episode: {0}", ex, Path ?? Name ?? Id.ToString());
}
return hasChanges;