using ErsatzTV.Core.Domain; using ErsatzTV.Core.Plex; namespace ErsatzTV.Core.Interfaces.Repositories; public interface IPlexTelevisionRepository : IMediaServerTelevisionRepository { Task> RemoveAllTags(PlexLibrary library, PlexTag tag, System.Collections.Generic.HashSet keep); Task AddTag(PlexLibrary library, PlexShow show, PlexTag tag); Task UpdateLastNetworksScan(PlexLibrary library); Task> GetShowTitleKey(int libraryId, int showId); } public record PlexShowAddTagResult(Option Existing, Option Added); public record PlexShowTitleKeyResult(string Title, string Key);