using MediaBrowser.Controller.Providers; using System.Threading; namespace MediaBrowser.Controller.Library { /// /// Interface IMetadataSaver /// public interface IMetadataSaver { /// /// Gets the name. /// /// The name. string Name { get; } /// /// Determines whether [is enabled for] [the specified item]. /// /// The item. /// Type of the update. /// true if [is enabled for] [the specified item]; otherwise, false. bool IsEnabledFor(IHasMetadata item, ItemUpdateType updateType); /// /// Saves the specified item. /// /// The item. /// The cancellation token. /// Task. void Save(IHasMetadata item, CancellationToken cancellationToken); } public interface IMetadataFileSaver : IMetadataSaver { /// /// Gets the save path. /// /// The item. /// System.String. string GetSavePath(IHasMetadata item); } }