add metadata_kind to search index (#790)

* more nfo cleanup

* add metadata_kind to search index
This commit is contained in:
Jason Dove
2022-05-07 21:24:50 -05:00
committed by GitHub
parent 44dd68fe59
commit ab10f0ed81
8 changed files with 26 additions and 26 deletions
@@ -126,9 +126,7 @@ public class OtherVideoNfoReader : NfoReader<OtherVideoNfo>, IOtherVideoNfoReade
return Optional(nfo).ToEither((BaseError)new FailedToReadNfo());
}
catch (XmlException ex) when (ex.Message.Contains(
"invalid character",
StringComparison.InvariantCultureIgnoreCase))
catch (XmlException)
{
_logger.LogWarning("Invalid XML detected; returning incomplete metadata");
return Optional(nfo).ToEither((BaseError)new FailedToReadNfo());