mirror of
https://github.com/mitb-archive/filebot
synced 2024-11-04 16:35:08 -05:00
* 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
Block a user