We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f404c86 commit 2d70263Copy full SHA for 2d70263
mobile/src/main/java/com/atomjack/vcfp/services/PlexSearchService.java
@@ -1463,7 +1463,7 @@ public void onSuccess(MediaContainer mc)
1463
PlexVideo latestVideo = null;
1464
for(int j=0;j<mc.videos.size();j++) {
1465
PlexVideo video = mc.videos.get(j);
1466
- if(latestVideo == null || latestVideo.airDate().before(video.airDate())) {
+ if(latestVideo == null || (video.airDate() != null && latestVideo.airDate().before(video.airDate()))) {
1467
// video.showTitle = video.grandparentTitle;
1468
// video.parentArt = mc.art;
1469
// video.grandparentThumb = mc.art.replaceAll("\\/art\\/", "\\/thumb\\/");
0 commit comments