mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-16 02:18:54 -07:00
20 lines
741 B
C#
20 lines
741 B
C#
using MediaBrowser.Common.Configuration;
|
|
using MediaBrowser.Model.Configuration;
|
|
|
|
namespace Emby.Server.Implementations.LiveTv.EmbyTV
|
|
{
|
|
/// <summary>
|
|
/// Class containing extension methods for working with the nfo configuration.
|
|
/// </summary>
|
|
public static class NfoConfigurationExtensions
|
|
{
|
|
/// <summary>
|
|
/// Gets the nfo configuration.
|
|
/// </summary>
|
|
/// <param name="configurationManager">The configuration manager.</param>
|
|
/// <returns>The nfo configuration.</returns>
|
|
public static XbmcMetadataOptions GetNfoConfiguration(this IConfigurationManager configurationManager)
|
|
=> configurationManager.GetConfiguration<XbmcMetadataOptions>("xbmcmetadata");
|
|
}
|
|
}
|