Like en dislike acties voor iTunes toegevoegd.

This commit is contained in:
2011-04-24 18:37:40 +00:00
parent 05ca4b2991
commit 10ec337a51
9 changed files with 76 additions and 7 deletions

View File

@@ -88,4 +88,12 @@ public class ITTrackCollection {
return new ITTrack(item);
}
public boolean containsTrack(ITTrack track) {
String name = track.getName();
try {
return ItemByName(name).getName().equals(name);
} catch (IllegalStateException e) {
return false;
}
}
}