Skip to content

Commit

Permalink
Fixed minor bug that no trakt tv ID is set
Browse files Browse the repository at this point in the history
  • Loading branch information
modmax committed Jul 22, 2016
1 parent a8aef67 commit 87b0f8a
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -285,7 +285,7 @@ private static boolean isMatchingShow(TrackedShow tracked, Movie movie) {
} }


private static void setTraktId(Ids ids, String presentTraktId, Movie movie) { private static void setTraktId(Ids ids, String presentTraktId, Movie movie) {
if (presentTraktId == null && ids.trakt() != null && ids.trakt().intValue() > 0) { if (presentTraktId == null && ids.trakt() != null) {
movie.setId(TraktTV.SCANNER_ID, ids.trakt().toString()); movie.setId(TraktTV.SCANNER_ID, ids.trakt().toString());
} }
} }
Expand Down

0 comments on commit 87b0f8a

Please sign in to comment.