Remove BOM from UTF-8 files
@ -1,4 +1,4 @@
using System.Diagnostics.CodeAnalysis;
using System.Diagnostics.CodeAnalysis;
using System.Text.RegularExpressions;
namespace Emby.Naming.Video;
#pragma warning disable CA1813 // Avoid unsealed attributes
#pragma warning disable CA1813 // Avoid unsealed attributes
using System;
namespace Jellyfin.Api.Attributes;
namespace Jellyfin.Api.Attributes;
/// <summary>
/// Produces file attribute of "image/*".
using System;
/// Produces file attribute of "video/*".
using System.Threading.Tasks;
using System.Threading.Tasks;
using Jellyfin.Api.Constants;
using Jellyfin.Api.Extensions;
using Jellyfin.Data.Enums;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Authorization;
namespace Jellyfin.Api.Auth.DefaultAuthorizationPolicy
{
using Jellyfin.Api.Auth.DefaultAuthorizationPolicy;
using Jellyfin.Api.Auth.DefaultAuthorizationPolicy;
namespace Jellyfin.Api.Auth.FirstTimeSetupPolicy
using MediaBrowser.Common.Extensions;
namespace Jellyfin.Api.Auth.SyncPlayAccessPolicy
using Jellyfin.Extensions;
namespace Jellyfin.Api.Auth.UserPermissionPolicy
namespace Jellyfin.Api.Constants;
namespace Jellyfin.Api.Constants;
/// Internal claim types for authorization.
using System.Net.Mime;
using System.Net.Mime;
using Jellyfin.Api.Attributes;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Security.Claims;
using System.Text;
using System.Text;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc.Formatters;
using System.IO;
using System.IO;
using System.Net.Http;
using System.Threading;
using System.Globalization;
using System.Net;
using Microsoft.Extensions.Logging;
using System.Diagnostics;
using System.Diagnostics;
using Microsoft.AspNetCore.Mvc.ModelBinding;
using System.ComponentModel;
using Microsoft.Extensions.DependencyInjection;
namespace Jellyfin.Api.Models.LibraryDtos;
namespace Jellyfin.Api.Models.LibraryDtos;
/// Library option info dto.
using MediaBrowser.Model.Configuration;
using MediaBrowser.Model.Entities;
/// The media update info path.
using MediaBrowser.Model.Configuration;
namespace Jellyfin.Api.Models.LibraryStructureDto;
using System.ComponentModel.DataAnnotations;
using System.Text.Json.Serialization;
namespace Jellyfin.Api.Models.LiveTvDtos;
using MediaBrowser.Model.Dlna;
using MediaBrowser.Model.MediaInfo;
namespace Jellyfin.Api.Models.MediaInfoDtos;
namespace Jellyfin.Api.Models.StartupDtos;
using MediaBrowser.Controller.Streaming;
using MediaBrowser.Controller.Streaming;
namespace Jellyfin.Api.Models.StreamingDtos;
namespace Jellyfin.Api.Models.SubtitleDtos;
namespace Jellyfin.Api.Models.UserDtos;
namespace Jellyfin.Api.Models.UserDtos;
/// The authenticate user by name request body.
/// The update user easy password request body.
/// The update user password request body.
namespace Jellyfin.Api.Models.UserViewDtos;
namespace Jellyfin.Api.Models.UserViewDtos;
/// Special view option dto.
using System.ComponentModel.DataAnnotations.Schema;
using System.Xml.Serialization;
using System.ComponentModel.DataAnnotations.Schema;
namespace Jellyfin.Data.Entities
namespace Jellyfin.Data.Enums
namespace Jellyfin.Data.Enums
/// The base item kind.
/// An enum representing the version of Chromecast to be used by clients.
/// An enum representing the different options for the home screen sections.
/// An enum representing a type of indexing in a user's display preferences.
namespace Jellyfin.Data.Enums;
namespace Jellyfin.Data.Enums;
/// Media types.
/// An enum representing the axis that should be scrolled.
/// An enum representing the sorting order.
/// An enum representing a subtitle playback mode.
namespace Jellyfin.Data.Events.System
using Jellyfin.Data.Entities;
using Jellyfin.Data.Entities;
namespace Jellyfin.Data.Events.Users
using System.Collections.Generic;
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
using System.Globalization;
using MediaBrowser.Controller.Events;
using System.Threading;
using Jellyfin.Data.Events.System;
using MediaBrowser.Controller.Session;
using MediaBrowser.Controller.Events.Updates;
using MediaBrowser.Common.Updates;