Skip to content

Commit

Permalink
Adding tmdbId to movie collection check to fix mismatched names
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonHHouse committed May 29, 2021
1 parent 9b7dd43 commit a9f2c7f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -468,6 +468,7 @@ private void handleCollection(PlexProperties plexProperties, String machineIdent
Integer tmdbId = jsonNode.get(ID).intValue();

BasicMovie collectionBasicMovie = new BasicMovie.Builder(title, year).build();
collectionBasicMovie.setTmdbId(tmdbId);
LOGGER.info(collectionBasicMovie.toString());

Boolean owned = ownedBasicMovies.contains(collectionBasicMovie);
Expand Down

0 comments on commit a9f2c7f

Please sign in to comment.