add FindByPath error handling

This commit is contained in:
Luke Pulverenti
2017-05-30 14:24:50 -04:00
parent 01843ad4c3
commit d8ec7109ab
5 changed files with 34 additions and 1 deletions

View File

@@ -1733,7 +1733,7 @@ namespace MediaBrowser.Controller.Entities
private BaseItem FindLinkedChild(LinkedChild info)
{
if (!string.IsNullOrEmpty(info.Path))
if (!string.IsNullOrWhiteSpace(info.Path))
{
var itemByPath = LibraryManager.FindByPath(info.Path, null);