Fix SA1012 and SA1013 warnings
This commit is contained in:
parent
2375c35c4a
commit
6f9beef732
|
@ -5357,7 +5357,7 @@ where AncestorIdText not null and ItemValues.Value not null and ItemValues.Type
|
|||
|
||||
itemCountColumns = new Dictionary<string, string>()
|
||||
{
|
||||
{ "itemTypes", "(" + itemCountColumnQuery + ") as itemTypes"}
|
||||
{ "itemTypes", "(" + itemCountColumnQuery + ") as itemTypes" }
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -43,7 +43,7 @@ namespace Emby.Server.Implementations.LiveTv
|
|||
return new[]
|
||||
{
|
||||
// Every so often
|
||||
new TaskTriggerInfo { Type = TaskTriggerInfo.TriggerInterval, IntervalTicks = TimeSpan.FromHours(24).Ticks}
|
||||
new TaskTriggerInfo { Type = TaskTriggerInfo.TriggerInterval, IntervalTicks = TimeSpan.FromHours(24).Ticks }
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -71,7 +71,7 @@ namespace Emby.Server.Implementations.ScheduledTasks.Tasks
|
|||
return new[]
|
||||
{
|
||||
// Every so often
|
||||
new TaskTriggerInfo { Type = TaskTriggerInfo.TriggerInterval, IntervalTicks = TimeSpan.FromHours(24).Ticks}
|
||||
new TaskTriggerInfo { Type = TaskTriggerInfo.TriggerInterval, IntervalTicks = TimeSpan.FromHours(24).Ticks }
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -65,7 +65,7 @@ namespace Emby.Server.Implementations.ScheduledTasks.Tasks
|
|||
{
|
||||
return new[]
|
||||
{
|
||||
new TaskTriggerInfo { Type = TaskTriggerInfo.TriggerInterval, IntervalTicks = TimeSpan.FromHours(24).Ticks}
|
||||
new TaskTriggerInfo { Type = TaskTriggerInfo.TriggerInterval, IntervalTicks = TimeSpan.FromHours(24).Ticks }
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -70,15 +70,15 @@ namespace MediaBrowser.Controller.MediaEncoding
|
|||
|
||||
var codecMap = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase)
|
||||
{
|
||||
{"qsv", hwEncoder + "_qsv"},
|
||||
{hwEncoder + "_qsv", hwEncoder + "_qsv"},
|
||||
{"nvenc", hwEncoder + "_nvenc"},
|
||||
{"amf", hwEncoder + "_amf"},
|
||||
{"omx", hwEncoder + "_omx"},
|
||||
{hwEncoder + "_v4l2m2m", hwEncoder + "_v4l2m2m"},
|
||||
{"mediacodec", hwEncoder + "_mediacodec"},
|
||||
{"vaapi", hwEncoder + "_vaapi"},
|
||||
{"videotoolbox", hwEncoder + "_videotoolbox"}
|
||||
{ "qsv", hwEncoder + "_qsv" },
|
||||
{ hwEncoder + "_qsv", hwEncoder + "_qsv" },
|
||||
{ "nvenc", hwEncoder + "_nvenc" },
|
||||
{ "amf", hwEncoder + "_amf" },
|
||||
{ "omx", hwEncoder + "_omx" },
|
||||
{ hwEncoder + "_v4l2m2m", hwEncoder + "_v4l2m2m" },
|
||||
{ "mediacodec", hwEncoder + "_mediacodec" },
|
||||
{ "vaapi", hwEncoder + "_vaapi" },
|
||||
{ "videotoolbox", hwEncoder + "_videotoolbox" }
|
||||
};
|
||||
|
||||
if (!string.IsNullOrEmpty(hwType)
|
||||
|
|
|
@ -214,7 +214,7 @@ namespace MediaBrowser.Providers.MediaInfo
|
|||
return new[]
|
||||
{
|
||||
// Every so often
|
||||
new TaskTriggerInfo { Type = TaskTriggerInfo.TriggerInterval, IntervalTicks = TimeSpan.FromHours(24).Ticks}
|
||||
new TaskTriggerInfo { Type = TaskTriggerInfo.TriggerInterval, IntervalTicks = TimeSpan.FromHours(24).Ticks }
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user