mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-05-30 19:54:14 -04:00
18 lines
594 B
C#
18 lines
594 B
C#
using API.Entities;
|
|
|
|
namespace API.Interfaces.Services
|
|
{
|
|
public interface IMetadataService
|
|
{
|
|
/// <summary>
|
|
/// Recalculates metadata for all entities in a library.
|
|
/// </summary>
|
|
/// <param name="libraryId"></param>
|
|
/// <param name="forceUpdate"></param>
|
|
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);
|
|
}
|
|
} |