check_duplicate

@accepts(RB.RhythmDBEntry)
@returns(gboolean)
def check_duplicate(entry)

This checks for an existing entry in the target that matches the title, album, artist, and track number of the entry being considered. This can be used to implement @should_transfer.

entry :

a RB.RhythmDBEntry to check

Returns :

True if the entry already exists on the target.