using MediaBrowser.Controller.Entities;
using System.Threading;
namespace MediaBrowser.Controller.Library
{
///
/// Interface IMetadataSaver
///
public interface IMetadataSaver
{
///
/// 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(BaseItem item, ItemUpdateType updateType);
///
/// Gets the save path.
///
/// The item.
/// System.String.
string GetSavePath(BaseItem item);
///
/// Saves the specified item.
///
/// The item.
/// The cancellation token.
/// Task.
void Save(BaseItem item, CancellationToken cancellationToken);
}
}