Files
ersatztv/ErsatzTV.Core/Interfaces/Repositories/IPlexCollectionRepository.cs
Jason Dove b95a89b11f plex collection rework (#1503)
* start to rework plex collection scanning

* sync plex collections to db

* sync plex collection items

* update changelog
2023-11-14 10:41:21 -06:00

14 lines
473 B
C#

using ErsatzTV.Core.Domain;
namespace ErsatzTV.Core.Interfaces.Repositories;
public interface IPlexCollectionRepository
{
Task<List<PlexCollection>> GetCollections();
Task<bool> AddCollection(PlexCollection collection);
Task<bool> RemoveCollection(PlexCollection collection);
Task<List<int>> RemoveAllTags(PlexCollection collection);
Task<int> AddTag(MediaItem item, PlexCollection collection);
Task<bool> SetEtag(PlexCollection collection);
}