* update trakt list items when re-adding existing list * add seasons to search index
18 lines
581 B
C#
18 lines
581 B
C#
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using ErsatzTV.Core.Domain;
|
|
using LanguageExt;
|
|
|
|
namespace ErsatzTV.Core.Interfaces.Repositories
|
|
{
|
|
public interface ISearchRepository
|
|
{
|
|
Task<List<int>> GetItemIdsToIndex();
|
|
Task<Option<MediaItem>> GetItemToIndex(int id);
|
|
Task<List<string>> GetLanguagesForShow(Show show);
|
|
Task<List<string>> GetLanguagesForSeason(Season season);
|
|
Task<List<string>> GetLanguagesForArtist(Artist artist);
|
|
Task<List<string>> GetAllLanguageCodes(List<string> mediaCodes);
|
|
}
|
|
}
|