using API.Entities;
namespace API.Interfaces.Services
{
    public interface IMetadataService
    {
        /// 
        /// Recalculates metadata for all entities in a library.
        /// 
        /// 
        /// 
        void RefreshMetadata(int libraryId, bool forceUpdate = false);
        public void UpdateMetadata(Chapter chapter, bool forceUpdate);
        public void UpdateMetadata(Volume volume, bool forceUpdate);
        public void UpdateMetadata(Series series, bool forceUpdate);
        /// 
        /// Performs a forced refresh of metatdata just for a series and it's nested entities
        /// 
        /// 
        /// 
        void RefreshMetadataForSeries(int libraryId, int seriesId);
    }
}