* flag local movies as file not found * show warning icon on cards * unflag movie that is found during scan * skip missing files when building playouts * add state to search index * add file not found health check * link to search from file not found health check * support flagging other media kinds as file not found * continue to schedule missing items * support episode files not found * wip trash page * fix trash url * trash page is functional * update changelog * fix changelog merge
16 lines
478 B
C#
16 lines
478 B
C#
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using ErsatzTV.Core.Domain;
|
|
using LanguageExt;
|
|
|
|
namespace ErsatzTV.Core.Interfaces.Repositories
|
|
{
|
|
public interface IMediaItemRepository
|
|
{
|
|
Task<List<string>> GetAllLanguageCodes();
|
|
Task<List<int>> FlagFileNotFound(LibraryPath libraryPath, string path);
|
|
Task<Unit> FlagNormal(MediaItem mediaItem);
|
|
Task<Either<BaseError, Unit>> DeleteItems(List<int> mediaItemIds);
|
|
}
|
|
}
|