Solving a bug with people in the database

This commit is contained in:
Zoe Roux 2020-02-10 00:11:46 +01:00
parent a3cefb9088
commit d8a21f1cf1

View File

@ -141,7 +141,7 @@ namespace Kyoo.Controllers
if (show != null) if (show != null)
return show; return show;
show = await _metadataProvider.GetShowFromName(showTitle, showPath, library); show = await _metadataProvider.GetShowFromName(showTitle, showPath, library);
show.People = from people in await _metadataProvider.GetPeople(show, library) select people.ToLink(show); show.People = (from people in await _metadataProvider.GetPeople(show, library) select people.ToLink(show)).ToList();
return show; return show;
} }