using MediaBrowser.Controller.Library;
using MediaBrowser.Controller.Providers;
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace MediaBrowser.Controller.Entities
{
///
/// Interface IHasMetadata
///
public interface IHasMetadata : IHasImages
{
///
/// Gets the preferred metadata country code.
///
/// System.String.
string GetPreferredMetadataCountryCode();
///
/// Gets the date modified.
///
/// The date modified.
DateTime DateModified { get; }
///
/// Gets or sets the date last saved.
///
/// The date last saved.
DateTime DateLastSaved { get; set; }
///
/// Updates to repository.
///
/// The update reason.
/// The cancellation token.
/// Task.
Task UpdateToRepository(ItemUpdateType updateReason, CancellationToken cancellationToken);
///
/// This is called before any metadata refresh and returns true or false indicating if changes were made
///
/// true if XXXX, false otherwise.
bool BeforeMetadataRefresh();
///
/// Gets or sets a value indicating whether this instance is unidentified.
///
/// true if this instance is unidentified; otherwise, false.
bool IsUnidentified { get; set; }
///
/// Afters the metadata refresh.
///
void AfterMetadataRefresh();
///
/// Gets a value indicating whether [supports people].
///
/// true if [supports people]; otherwise, false.
bool SupportsPeople { get; }
}
}