mirror of
https://github.com/jellyfin/jellyfin-plugin-playbackreporting.git
synced 2025-02-17 03:57:37 +00:00
Use LastUpdated Time Instead of Current Time for missing Stop event (#87)
This commit is contained in:
parent
8bb1d7a210
commit
d837dd2382
@ -100,7 +100,7 @@ namespace Jellyfin.Plugin.PlaybackReporting.Data
|
||||
{
|
||||
events.Add(e);
|
||||
}
|
||||
KeyValuePair<DateTime, ActionType> stop_event = new KeyValuePair<DateTime, ActionType>(DateTime.Now, ActionType.STOP);
|
||||
KeyValuePair<DateTime, ActionType> stop_event = new KeyValuePair<DateTime, ActionType>(LastUpdated, ActionType.STOP);
|
||||
events.Add(stop_event);
|
||||
}
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user