* start to add multi-collections * create multi collection with no items * edit multi collections * fix plex credentials threading issue * add playback order to multi collection items * group episodes outside of shuffled enumerator * move playback order onto each schedule item * fix multi collection grouping * update changelog
20 lines
741 B
C#
20 lines
741 B
C#
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using ErsatzTV.Core.Domain;
|
|
using ErsatzTV.Core.Scheduling;
|
|
using LanguageExt;
|
|
|
|
namespace ErsatzTV.Core.Interfaces.Repositories
|
|
{
|
|
public interface IMediaCollectionRepository
|
|
{
|
|
Task<Option<Collection>> GetCollectionWithCollectionItemsUntracked(int id);
|
|
Task<List<MediaItem>> GetItems(int id);
|
|
Task<List<MediaItem>> GetMultiCollectionItems(int id);
|
|
Task<List<CollectionWithItems>> GetMultiCollectionCollections(int id);
|
|
Task<List<int>> PlayoutIdsUsingCollection(int collectionId);
|
|
Task<List<int>> PlayoutIdsUsingMultiCollection(int multiCollectionId);
|
|
Task<bool> IsCustomPlaybackOrder(int collectionId);
|
|
}
|
|
}
|