* improve unique() detection and assume that generally any movie object has tmdbid available
This commit is contained in:
parent
a8568f7bcd
commit
36feeba380
|
@ -104,7 +104,7 @@ public class Movie extends SearchResult {
|
|||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return year;
|
||||
return tmdbId > 0 ? tmdbId : imdbId > 0 ? imdbId : year;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue