public boolean sameMainMetaData(Track t) { if (t == null) return false; return (compare(t.getTitle(), mTitle) && compare(t.getAlbumTitle(), mAlbumTitle) && compare(t.getArtistName(), mArtistName)); }
public ConcreteTrack(Track t) { mId = t.getId(); mPlayUrl = t.getPlayUrl(null, 0); mTitle = t.getTitle(); mArtistId = t.getArtistId(); mArtistName = t.getArtistName(); mAlbumId = t.getAlbumId(); mAlbumTitle = t.getAlbumTitle(); }