From 5ced967c6d5f2485f3569475bf7e07b4d1b77511 Mon Sep 17 00:00:00 2001 From: Courville Software Date: Sun, 7 Jul 2024 17:36:51 +0200 Subject: [PATCH] Fix https://github.com/nova-video-player/aos-AVP/issues/1242 seen on sentry --- src/com/archos/mediascraper/xml/MovieScraper3.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/archos/mediascraper/xml/MovieScraper3.java b/src/com/archos/mediascraper/xml/MovieScraper3.java index 66dc9fe7..ddddda35 100644 --- a/src/com/archos/mediascraper/xml/MovieScraper3.java +++ b/src/com/archos/mediascraper/xml/MovieScraper3.java @@ -158,7 +158,7 @@ protected ScrapeDetailResult getDetailsInternal(SearchResult result, Bundle opti } // if there was no movie description in the native language get it from default - if (tag.getPlot().length() == 0) { + if (tag.getPlot() == null || tag.getPlot().isEmpty()) { log.debug("ScrapeDetailResult: getting description in en because plot non existent in " + language); MovieIdDescription2.addDescription(movieId, tag, moviesService); }