Merge pull request #3066 from orionlee/bugfix_statistics_played_duration_inflated_2162

bugfix - statistics - inflated actual played duration
This commit is contained in:
H. Lehmann 2019-03-27 20:51:13 +01:00 committed by GitHub
commit 42cbdbd989
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 4 deletions

View File

@ -882,10 +882,6 @@ public final class DBReader {
continue;
}
// played duration used to be reset when the item is added to the playback history
if (media.getPlaybackCompletionDate() != null) {
feedPlayedTime += media.getDuration() / 1000;
}
feedPlayedTime += media.getPlayedDuration() / 1000;
if (item.isPlayed()) {