Skip to content

Commit

Permalink
Fix nova-video-player/aos-AVP#1242 seen on sentry
Browse files Browse the repository at this point in the history
  • Loading branch information
courville committed Jul 7, 2024
1 parent 8f7afea commit 5ced967
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/com/archos/mediascraper/xml/MovieScraper3.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 5ced967

Please sign in to comment.