diff options
| author | Vasily <JustAMan@users.noreply.github.com> | 2020-05-15 22:04:23 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-15 22:04:23 +0300 |
| commit | d21feb2b188b0b317f0d12ff2aea9f48f4a4c2e0 (patch) | |
| tree | f4cc08dd0f8f19dbd003a4814fb496b061d2ec32 /MediaBrowser.Api/Library/LibraryService.cs | |
| parent | 18953d95e6692290bf56547d4c9614790687654c (diff) | |
| parent | 79dee27299bda60f67e98eda8c309b1f25e0893b (diff) | |
Merge pull request #2970 from barronpm/activitydb-efcore
Migrate Activity Database to Entity Framework Core
Diffstat (limited to 'MediaBrowser.Api/Library/LibraryService.cs')
| -rw-r--r-- | MediaBrowser.Api/Library/LibraryService.cs | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/MediaBrowser.Api/Library/LibraryService.cs b/MediaBrowser.Api/Library/LibraryService.cs index 2d1977d2e..c0146dfee 100644 --- a/MediaBrowser.Api/Library/LibraryService.cs +++ b/MediaBrowser.Api/Library/LibraryService.cs @@ -763,13 +763,12 @@ 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) { - 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 |
