af1152b001
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.
45 lines
1.7 KiB
C#
45 lines
1.7 KiB
C#
// <copyright file="AudioResolver.cs" company="PlaceholderCompany">
|
|
// Copyright (c) PlaceholderCompany. All rights reserved.
|
|
// </copyright>
|
|
|
|
namespace MediaBrowser.Providers.MediaInfo
|
|
{
|
|
using Emby.Naming.Common;
|
|
using MediaBrowser.Controller.Entities;
|
|
using MediaBrowser.Controller.MediaEncoding;
|
|
using MediaBrowser.Model.Dlna;
|
|
using MediaBrowser.Model.Globalization;
|
|
using MediaBrowser.Model.IO;
|
|
using Microsoft.Extensions.Logging;
|
|
|
|
/// <summary>
|
|
/// Resolves external audio files for <see cref="Video"/>.
|
|
/// </summary>
|
|
public class AudioResolver : MediaInfoResolver
|
|
{
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="AudioResolver"/> class for external audio file processing.
|
|
/// </summary>
|
|
/// <param name="logger">The logger.</param>
|
|
/// <param name="localizationManager">The localization manager.</param>
|
|
/// <param name="mediaEncoder">The media encoder.</param>
|
|
/// <param name="fileSystem">The file system.</param>
|
|
/// <param name="namingOptions">The <see cref="NamingOptions"/> object containing FileExtensions, MediaDefaultFlags, MediaForcedFlags and MediaFlagDelimiters.</param>
|
|
public AudioResolver(
|
|
ILogger<AudioResolver> logger,
|
|
ILocalizationManager localizationManager,
|
|
IMediaEncoder mediaEncoder,
|
|
IFileSystem fileSystem,
|
|
NamingOptions namingOptions)
|
|
: base(
|
|
logger,
|
|
localizationManager,
|
|
mediaEncoder,
|
|
fileSystem,
|
|
namingOptions,
|
|
DlnaProfileType.Audio)
|
|
{
|
|
}
|
|
}
|
|
}
|