Merge pull request #3068 from bibz/develop

Do not reset item "played" flag on media download
This commit is contained in:
Martin Fietz 2019-03-30 11:12:46 +01:00 committed by GitHub
commit f900046c66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -594,7 +594,7 @@ public class FeedMedia extends FeedFile implements Playable {
@Override @Override
public void setDownloaded(boolean downloaded) { public void setDownloaded(boolean downloaded) {
super.setDownloaded(downloaded); super.setDownloaded(downloaded);
if(item != null && downloaded) { if(item != null && downloaded && !item.isPlayed()) {
item.setPlayed(false); item.setPlayed(false);
} }
} }