diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-09-21 12:23:56 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-09-21 12:23:56 -0400 |
| commit | 842b95ea02bf8df49ba16f41ba52582e98a18170 (patch) | |
| tree | b9d5abc38d7ef5b0268621e49b6a189578542196 | |
| parent | 03d27d4756f8ffebb8aff171022bce739d5c7d26 (diff) | |
fixes #547 - Manually marking watched and last played date
| -rw-r--r-- | MediaBrowser.Controller/Entities/BaseItem.cs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/MediaBrowser.Controller/Entities/BaseItem.cs b/MediaBrowser.Controller/Entities/BaseItem.cs index ae6ef6340..fdd21d240 100644 --- a/MediaBrowser.Controller/Entities/BaseItem.cs +++ b/MediaBrowser.Controller/Entities/BaseItem.cs @@ -1336,11 +1336,6 @@ namespace MediaBrowser.Controller.Entities if (wasPlayed) { data.PlayCount = Math.Max(data.PlayCount, 1); - - if (!data.LastPlayedDate.HasValue) - { - data.LastPlayedDate = DateTime.UtcNow; - } } else { @@ -1349,7 +1344,6 @@ namespace MediaBrowser.Controller.Entities // then it probably is what we want to do... data.PlayCount = 0; data.PlaybackPositionTicks = 0; - data.LastPlayedDate = null; } data.Played = wasPlayed; |
