From b86272b9856da626dd7c007838f81f96ba74b230 Mon Sep 17 00:00:00 2001 From: Snd-R <76580768+snd-r@users.noreply.github.com> Date: Fri, 31 Mar 2023 15:25:53 +0300 Subject: [PATCH] allow non ascii titles when performing aggregate search. fixes #48 --- src/main/kotlin/org/snd/mediaserver/MetadataService.kt | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/kotlin/org/snd/mediaserver/MetadataService.kt b/src/main/kotlin/org/snd/mediaserver/MetadataService.kt index 479d0eea..cdb25152 100644 --- a/src/main/kotlin/org/snd/mediaserver/MetadataService.kt +++ b/src/main/kotlin/org/snd/mediaserver/MetadataService.kt @@ -1,7 +1,6 @@ package org.snd.mediaserver import mu.KotlinLogging -import org.apache.commons.lang3.StringUtils import org.snd.mediaserver.model.MatchType.MANUAL import org.snd.mediaserver.model.SeriesAndBookMetadata import org.snd.mediaserver.model.SeriesMatch @@ -236,7 +235,6 @@ class MetadataService( val searchTitles = metadata.seriesMetadata.titles .map { it.name } - .filter { StringUtils.isAsciiPrintable(it) } return providers.map { provider -> supplyAsync({