-Fixed remote playlist metadata not updated when remote source data has changed.

This commit is contained in:
John Zhen Mo 2018-06-18 18:22:52 -07:00
parent 77b488568b
commit 7fb9345344
3 changed files with 31 additions and 10 deletions

View file

@ -71,6 +71,14 @@ public class PlaylistRemoteEntity implements PlaylistLocalItem {
info.getUploaderName(), info.getStreamCount());
}
@Ignore
public boolean isIdenticalTo(final PlaylistInfo info) {
return getServiceId() == info.getServiceId() && getName().equals(info.getName()) &&
getStreamCount() == info.getStreamCount() && getUrl().equals(info.getUrl()) &&
getThumbnailUrl().equals(info.getThumbnailUrl()) &&
getUploader().equals(info.getUploaderName());
}
public long getUid() {
return uid;
}