aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/Library/LibraryService.cs
diff options
context:
space:
mode:
authorgion <oancaionutandrei@gmail.com>2020-05-26 10:23:09 +0200
committergion <oancaionutandrei@gmail.com>2020-05-26 10:23:09 +0200
commite4838b0faa2dafec9382abe8e00bd18be624a030 (patch)
treee6c685ff5a8031e44007de7f113453ac6d296d07 /MediaBrowser.Api/Library/LibraryService.cs
parent8c04049a595df054f491712ed317274566f2d71b (diff)
parent976ae36bea0768f0e363bf0c5091b0853cc81c4d (diff)
Merge remote-tracking branch 'upstream/master' into syncplay
Diffstat (limited to 'MediaBrowser.Api/Library/LibraryService.cs')
-rw-r--r--MediaBrowser.Api/Library/LibraryService.cs9
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