diff options
| author | Patrick Barron <barronpm@gmail.com> | 2020-05-04 15:18:11 -0400 |
|---|---|---|
| committer | Patrick Barron <barronpm@gmail.com> | 2020-05-04 15:18:11 -0400 |
| commit | 75e0d58c2d1b11dc06fe9b1a438f813d8add6b7b (patch) | |
| tree | 3eb839b96831e5430a07f35c7023990cc7690276 /MediaBrowser.Api/Library/LibraryService.cs | |
| parent | 74f9ddc419ff27cf3d5c3484d9b6c9f9e711483c (diff) | |
| parent | 37dcbfbc3980ed962c28fe7f1ee9d8a78f65ec19 (diff) | |
Merge branch 'activitydb-efcore' into userdb-efcore
Diffstat (limited to 'MediaBrowser.Api/Library/LibraryService.cs')
| -rw-r--r-- | MediaBrowser.Api/Library/LibraryService.cs | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/MediaBrowser.Api/Library/LibraryService.cs b/MediaBrowser.Api/Library/LibraryService.cs index a54640b2f..997b1c45a 100644 --- a/MediaBrowser.Api/Library/LibraryService.cs +++ b/MediaBrowser.Api/Library/LibraryService.cs @@ -759,13 +759,14 @@ namespace MediaBrowser.Api.Library { try { - _activityManager.Create(new ActivityLogEntry + _activityManager.Create(new Jellyfin.Data.Entities.ActivityLog( + string.Format(_localization.GetLocalizedString("UserDownloadingItemWithValues"), user.Name, item.Name), + "UserDownloadingContent", + auth.UserId, + DateTime.UtcNow, + LogLevel.Trace) { - Name = string.Format(_localization.GetLocalizedString("UserDownloadingItemWithValues"), user.Name, item.Name), - Type = "UserDownloadingContent", ShortOverview = string.Format(_localization.GetLocalizedString("AppDeviceValues"), auth.Client, auth.Device), - UserId = auth.UserId - }); } catch |
