1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-02 08:25:02 -04:00

Experiment with unifying Artwork interface for all databases

This commit is contained in:
Reinhard Pointner 2016-04-17 17:47:39 +00:00
parent cd37c87002
commit 7a823835fb

View File

@ -53,6 +53,10 @@ public class Artwork implements Serializable {
return rating;
}
public boolean matches(String tag) {
return stream(category).anyMatch(tag::equals);
}
@Override
public int hashCode() {
return url.hashCode();