Do not reset item "played" flag on media download
If an item has already been played, downloading its media will not reset that "played" flag. Fixes: #3067
This commit is contained in:
parent
3e2efea0e7
commit
8172d87477
|
@ -594,7 +594,7 @@ public class FeedMedia extends FeedFile implements Playable {
|
|||
@Override
|
||||
public void setDownloaded(boolean downloaded) {
|
||||
super.setDownloaded(downloaded);
|
||||
if(item != null && downloaded) {
|
||||
if(item != null && downloaded && !item.isPlayed()) {
|
||||
item.setPlayed(false);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue