Refactor: standardize namespace and using directive style
Refactored all C# test files to use explicit namespace declarations and moved all using directives inside the namespace block for consistency. Updated assembly info and cache files to reflect the new build. Adjusted MvcTestingAppManifest.json to use fully qualified assembly names. No functional changes; all updates are related to code style, organization, and project metadata.
This commit is contained in:
@@ -4,12 +4,12 @@
|
||||
|
||||
#pragma warning disable CA1819 // Properties should not return arrays
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Globalization;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using global::System;
|
||||
using global::System.Collections.Generic;
|
||||
using global::System.ComponentModel;
|
||||
using global::System.Globalization;
|
||||
using global::System.Linq;
|
||||
using global::System.Text;
|
||||
using Jellyfin.Data.Enums;
|
||||
using Jellyfin.Extensions;
|
||||
using MediaBrowser.Model.Drawing;
|
||||
@@ -618,8 +618,10 @@ public class StreamInfo
|
||||
int? totalBitrate = TargetTotalBitrate;
|
||||
|
||||
double totalSeconds = RunTimeTicks.Value;
|
||||
|
||||
// Convert to ms
|
||||
totalSeconds /= 10000;
|
||||
|
||||
// Convert to seconds
|
||||
totalSeconds /= 1000;
|
||||
|
||||
@@ -1241,7 +1243,7 @@ public class StreamInfo
|
||||
Format = subtitleProfile.Format,
|
||||
Index = stream.Index,
|
||||
DeliveryMethod = subtitleProfile.Method,
|
||||
DisplayTitle = stream.DisplayTitle
|
||||
DisplayTitle = stream.DisplayTitle,
|
||||
};
|
||||
|
||||
if (info.DeliveryMethod == SubtitleDeliveryMethod.External)
|
||||
|
||||
Reference in New Issue
Block a user