mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-08-27 04:16:47 +00:00
add LocalFileInfo.Id
This commit is contained in:
parent
5a5b48feff
commit
c8a735bcb1
84 changed files with 659 additions and 494 deletions
|
|
@ -419,27 +419,7 @@ namespace MediaBrowser.Server.Implementations.EntryPoints
|
|||
var time = result.EndTimeUtc - result.StartTimeUtc;
|
||||
var runningTime = string.Format(_localization.GetLocalizedString("LabelRunningTimeValue"), ToUserFriendlyString(time));
|
||||
|
||||
if (result.Status == TaskCompletionStatus.Cancelled)
|
||||
{
|
||||
return;
|
||||
CreateLogEntry(new ActivityLogEntry
|
||||
{
|
||||
Name = string.Format(_localization.GetLocalizedString("ScheduledTaskCancelledWithName"), task.Name),
|
||||
Type = "ScheduledTaskCancelled",
|
||||
ShortOverview = runningTime
|
||||
});
|
||||
}
|
||||
else if (result.Status == TaskCompletionStatus.Completed)
|
||||
{
|
||||
return;
|
||||
CreateLogEntry(new ActivityLogEntry
|
||||
{
|
||||
Name = string.Format(_localization.GetLocalizedString("ScheduledTaskCompletedWithName"), task.Name),
|
||||
Type = "ScheduledTaskCompleted",
|
||||
ShortOverview = runningTime
|
||||
});
|
||||
}
|
||||
else if (result.Status == TaskCompletionStatus.Failed)
|
||||
if (result.Status == TaskCompletionStatus.Failed)
|
||||
{
|
||||
var vals = new List<string>();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue