using MediaBrowser.Controller.Entities;
using System.Threading;
using System.Threading.Tasks;
namespace MediaBrowser.Controller.Library
{
///
/// Interface IMetadataSaver
///
public interface IMetadataSaver
{
///
/// Supportses the specified item.
///
/// The item.
/// true if XXXX, false otherwise
bool Supports(BaseItem item);
///
/// Gets the save path.
///
/// The item.
/// System.String.
string GetSavePath(BaseItem item);
///
/// Saves the specified item.
///
/// The item.
/// The cancellation token.
/// Task.
Task Save(BaseItem item, CancellationToken cancellationToken);
}
}