add metadata_kind to search index (#790)
* more nfo cleanup * add metadata_kind to search index
This commit is contained in:
@@ -95,9 +95,7 @@ public class ArtistNfoReader : NfoReader<ArtistNfo>, IArtistNfoReader
|
||||
|
||||
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());
|
||||
|
||||
Reference in New Issue
Block a user