mirror of https://github.com/ErsatzTV/ErsatzTV.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
570 B
14 lines
570 B
using ErsatzTV.Core.Domain; |
|
using ErsatzTV.Core.Plex; |
|
|
|
namespace ErsatzTV.Core.Interfaces.Repositories; |
|
|
|
public interface IPlexTelevisionRepository : IMediaServerTelevisionRepository<PlexLibrary, PlexShow, PlexSeason, |
|
PlexEpisode, PlexItemEtag> |
|
{ |
|
Task<List<int>> RemoveAllTags(PlexLibrary library, PlexTag tag, System.Collections.Generic.HashSet<int> keep); |
|
Task<PlexShowAddTagResult> AddTag(PlexShow show, PlexTag tag); |
|
Task UpdateLastNetworksScan(PlexLibrary library); |
|
} |
|
|
|
public record PlexShowAddTagResult(Option<int> Existing, Option<int> Added);
|
|
|