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.
17 lines
741 B
17 lines
741 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(PlexLibrary library, PlexShow show, PlexTag tag); |
|
Task UpdateLastNetworksScan(PlexLibrary library); |
|
Task<Option<PlexShowTitleKeyResult>> GetShowTitleKey(int libraryId, int showId); |
|
} |
|
|
|
public record PlexShowAddTagResult(Option<int> Existing, Option<int> Added); |
|
|
|
public record PlexShowTitleKeyResult(string Title, string Key);
|
|
|