The Free Software Media System - Server Backend & API
Remove unused using directives
Stepan Goremykin26958162d01e
diff --git a/Emby.Dlna/Main/DlnaEntryPoint.cs b/Emby.Dlna/Main/DlnaEntryPoint.csindex aab475153b..39cfc2d1d4 100644--- a/Emby.Dlna/Main/DlnaEntryPoint.cs+++ b/Emby.Dlna/Main/DlnaEntryPoint.cs@@ -7,7 +7,6 @@ using System.Globalization;using System.Linq;using System.Net.Http;using System.Net.Sockets;-using System.Runtime.InteropServices;using System.Threading.Tasks;using Emby.Dlna.PlayTo;using Emby.Dlna.Ssdp;diff --git a/Emby.Server.Implementations/Dto/DtoService.cs b/Emby.Server.Implementations/Dto/DtoService.csindex 8b66829032..c725839fba 100644--- a/Emby.Server.Implementations/Dto/DtoService.cs+++ b/Emby.Server.Implementations/Dto/DtoService.cs@@ -7,7 +7,6 @@ using System.Collections.Generic;using System.Globalization;using System.IO;using System.Linq;-using Jellyfin.Api.Helpers;using Jellyfin.Data.Entities;using Jellyfin.Data.Enums;using Jellyfin.Extensions;diff --git a/Jellyfin.Api/Controllers/FilterController.cs b/Jellyfin.Api/Controllers/FilterController.csindex dac07429ff..d51a5325f5 100644--- a/Jellyfin.Api/Controllers/FilterController.cs+++ b/Jellyfin.Api/Controllers/FilterController.cs@@ -1,6 +1,5 @@using System;using System.Linq;-using Jellyfin.Api.Constants;using Jellyfin.Api.Helpers;using Jellyfin.Api.ModelBinders;using Jellyfin.Data.Enums;diff --git a/Jellyfin.Api/Controllers/QuickConnectController.cs b/Jellyfin.Api/Controllers/QuickConnectController.csindex d7e54b5b6a..14f5265aa7 100644--- a/Jellyfin.Api/Controllers/QuickConnectController.cs+++ b/Jellyfin.Api/Controllers/QuickConnectController.cs@@ -1,8 +1,6 @@using System;using System.ComponentModel.DataAnnotations;using System.Threading.Tasks;-using Jellyfin.Api.Constants;-using Jellyfin.Api.Extensions;using Jellyfin.Api.Helpers;using MediaBrowser.Common.Extensions;using MediaBrowser.Controller.Authentication;diff --git a/Jellyfin.Api/Controllers/SearchController.cs b/Jellyfin.Api/Controllers/SearchController.csindex f638c31c39..387b3ea5a6 100644--- a/Jellyfin.Api/Controllers/SearchController.cs+++ b/Jellyfin.Api/Controllers/SearchController.cs@@ -3,7 +3,6 @@ using System.ComponentModel;using System.ComponentModel.DataAnnotations;using System.Globalization;using System.Linq;-using Jellyfin.Api.Constants;using Jellyfin.Api.Helpers;using Jellyfin.Api.ModelBinders;using Jellyfin.Data.Enums;diff --git a/Jellyfin.Api/Controllers/UniversalAudioController.cs b/Jellyfin.Api/Controllers/UniversalAudioController.csindex 12d033ae63..2e9035d24f 100644--- a/Jellyfin.Api/Controllers/UniversalAudioController.cs+++ b/Jellyfin.Api/Controllers/UniversalAudioController.cs@@ -5,7 +5,6 @@ using System.Globalization;using System.Linq;using System.Threading.Tasks;using Jellyfin.Api.Attributes;-using Jellyfin.Api.Extensions;using Jellyfin.Api.Helpers;using Jellyfin.Api.ModelBinders;using Jellyfin.Api.Models.StreamingDtos;diff --git a/Jellyfin.Server.Implementations/Security/AuthorizationContext.cs b/Jellyfin.Server.Implementations/Security/AuthorizationContext.csindex 63d3e8a04c..700e639700 100644--- a/Jellyfin.Server.Implementations/Security/AuthorizationContext.cs+++ b/Jellyfin.Server.Implementations/Security/AuthorizationContext.cs@@ -4,7 +4,6 @@ using System;using System.Collections.Generic;using System.Net;using System.Threading.Tasks;-using EFCoreSecondLevelCacheInterceptor;using MediaBrowser.Controller;using MediaBrowser.Controller.Library;using MediaBrowser.Controller.Net;diff --git a/Jellyfin.Server/CoreAppHost.cs b/Jellyfin.Server/CoreAppHost.csindex 40cd5a0446..939376dd8d 100644--- a/Jellyfin.Server/CoreAppHost.cs+++ b/Jellyfin.Server/CoreAppHost.cs@@ -22,7 +22,6 @@ using MediaBrowser.Controller.Lyrics;using MediaBrowser.Controller.Net;using MediaBrowser.Controller.Security;using MediaBrowser.Model.Activity;-using Microsoft.EntityFrameworkCore;using Microsoft.Extensions.Configuration;using Microsoft.Extensions.DependencyInjection;using Microsoft.Extensions.Logging;diff --git a/Jellyfin.Server/Startup.cs b/Jellyfin.Server/Startup.csindex 155f9fc8c1..56f5c4796e 100644--- a/Jellyfin.Server/Startup.cs+++ b/Jellyfin.Server/Startup.cs@@ -4,7 +4,6 @@ using System.Net;using System.Net.Http;using System.Net.Http.Headers;using System.Net.Mime;-using System.Runtime.InteropServices;using System.Text;using Jellyfin.Api.Middleware;using Jellyfin.MediaEncoding.Hls.Extensions;diff --git a/MediaBrowser.Controller/Lyrics/LyricMetadata.cs b/MediaBrowser.Controller/Lyrics/LyricMetadata.csindex 6091ede52a..c4f0334892 100644--- a/MediaBrowser.Controller/Lyrics/LyricMetadata.cs+++ b/MediaBrowser.Controller/Lyrics/LyricMetadata.cs@@ -1,5 +1,3 @@-using System;-namespace MediaBrowser.Controller.Lyrics;/// <summary>diff --git a/MediaBrowser.Controller/Session/ISessionManager.cs b/MediaBrowser.Controller/Session/ISessionManager.csindex eefc5d222e..0c4719a0e5 100644--- a/MediaBrowser.Controller/Session/ISessionManager.cs+++ b/MediaBrowser.Controller/Session/ISessionManager.cs@@ -7,7 +7,6 @@ using System.Collections.Generic;using System.Threading;using System.Threading.Tasks;using Jellyfin.Data.Entities.Security;-using Jellyfin.Data.Events;using MediaBrowser.Controller.Authentication;using MediaBrowser.Controller.Library;using MediaBrowser.Model.Session;diff --git a/MediaBrowser.Controller/Subtitles/ISubtitleManager.cs b/MediaBrowser.Controller/Subtitles/ISubtitleManager.csindex b86e482435..fcfc18a644 100644--- a/MediaBrowser.Controller/Subtitles/ISubtitleManager.cs+++ b/MediaBrowser.Controller/Subtitles/ISubtitleManager.cs@@ -1,7 +1,6 @@#pragma warning disable CS1591using System;-using System.Collections.Generic;using System.Threading;using System.Threading.Tasks;using MediaBrowser.Controller.Entities;diff --git a/MediaBrowser.MediaEncoding/BdInfo/BdInfoDirectoryInfo.cs b/MediaBrowser.MediaEncoding/BdInfo/BdInfoDirectoryInfo.csindex ea520b1d6b..55480253dd 100644--- a/MediaBrowser.MediaEncoding/BdInfo/BdInfoDirectoryInfo.cs+++ b/MediaBrowser.MediaEncoding/BdInfo/BdInfoDirectoryInfo.cs@@ -1,4 +1,3 @@-using System;using System.IO;using System.Linq;using BDInfo.IO;diff --git a/MediaBrowser.Model/Configuration/ServerConfiguration.cs b/MediaBrowser.Model/Configuration/ServerConfiguration.csindex 7cb07a2f7a..07f02d1879 100644--- a/MediaBrowser.Model/Configuration/ServerConfiguration.cs+++ b/MediaBrowser.Model/Configuration/ServerConfiguration.cs@@ -2,7 +2,6 @@#pragma warning disable CA1819using System;-using System.Collections.Generic;using MediaBrowser.Model.Drawing;using MediaBrowser.Model.Dto;using MediaBrowser.Model.Updates;diff --git a/MediaBrowser.Providers/Lyric/TxtLyricProvider.cs b/MediaBrowser.Providers/Lyric/TxtLyricProvider.csindex 96a9e9dcf3..a9099d1927 100644--- a/MediaBrowser.Providers/Lyric/TxtLyricProvider.cs+++ b/MediaBrowser.Providers/Lyric/TxtLyricProvider.cs@@ -1,6 +1,5 @@using System.Collections.Generic;using System.IO;-using System.Linq;using System.Threading.Tasks;using MediaBrowser.Controller.Entities;using MediaBrowser.Controller.Lyrics;diff --git a/src/Jellyfin.Extensions/Json/Converters/JsonBoolStringConverter.cs b/src/Jellyfin.Extensions/Json/Converters/JsonBoolStringConverter.csindex 2936fe4d6d..6895eadb86 100644--- a/src/Jellyfin.Extensions/Json/Converters/JsonBoolStringConverter.cs+++ b/src/Jellyfin.Extensions/Json/Converters/JsonBoolStringConverter.cs@@ -1,7 +1,6 @@using System;using System.Buffers;using System.Buffers.Text;-using System.Linq;using System.Text.Json;using System.Text.Json.Serialization;diff --git a/src/Jellyfin.Extensions/StringExtensions.cs b/src/Jellyfin.Extensions/StringExtensions.csindex 7c61248757..b22eb7c4ea 100644--- a/src/Jellyfin.Extensions/StringExtensions.cs+++ b/src/Jellyfin.Extensions/StringExtensions.cs@@ -1,6 +1,4 @@using System;-using System.Globalization;-using System.Text;using System.Text.RegularExpressions;namespace Jellyfin.Extensionsdiff --git a/tests/Jellyfin.Api.Tests/Auth/FirstTimeSetupPolicy/FirstTimeSetupHandlerTests.cs b/tests/Jellyfin.Api.Tests/Auth/FirstTimeSetupPolicy/FirstTimeSetupHandlerTests.csindex 6669a6689c..1ea1797ba1 100644--- a/tests/Jellyfin.Api.Tests/Auth/FirstTimeSetupPolicy/FirstTimeSetupHandlerTests.cs+++ b/tests/Jellyfin.Api.Tests/Auth/FirstTimeSetupPolicy/FirstTimeSetupHandlerTests.cs@@ -2,7 +2,6 @@ using System.Collections.Generic;using System.Threading.Tasks;using AutoFixture;using AutoFixture.AutoMoq;-using Jellyfin.Api.Auth.DefaultAuthorizationPolicy;using Jellyfin.Api.Auth.FirstTimeSetupPolicy;using Jellyfin.Api.Constants;using MediaBrowser.Common.Configuration;diff --git a/tests/Jellyfin.Api.Tests/Controllers/ImageControllerTests.cs b/tests/Jellyfin.Api.Tests/Controllers/ImageControllerTests.csindex d6428fb2cd..0254a1ec6e 100644--- a/tests/Jellyfin.Api.Tests/Controllers/ImageControllerTests.cs+++ b/tests/Jellyfin.Api.Tests/Controllers/ImageControllerTests.cs@@ -1,4 +1,3 @@-using System;using Jellyfin.Api.Controllers;using Xunit;