jellyfin and emby collection sync (#752)

* sync jellyfin and emby collections

* update changelog
This commit is contained in:
Jason Dove
2022-04-22 13:33:35 -05:00
committed by GitHub
parent e91ec98007
commit d67251bfa0
49 changed files with 9538 additions and 68 deletions
@@ -11,24 +11,29 @@ public interface IEmbyApiClient
Task<Either<BaseError, List<EmbyMovie>>> GetMovieLibraryItems(
string address,
string apiKey,
int mediaSourceId,
string libraryId);
Task<Either<BaseError, List<EmbyShow>>> GetShowLibraryItems(
string address,
string apiKey,
int mediaSourceId,
string libraryId);
Task<Either<BaseError, List<EmbySeason>>> GetSeasonLibraryItems(
string address,
string apiKey,
int mediaSourceId,
string showId);
Task<Either<BaseError, List<EmbyEpisode>>> GetEpisodeLibraryItems(
string address,
string apiKey,
int mediaSourceId,
string seasonId);
Task<Either<BaseError, List<EmbyCollection>>> GetCollectionLibraryItems(
string address,
string apiKey);
Task<Either<BaseError, List<MediaItem>>> GetCollectionItems(
string address,
string apiKey,
string collectionId);
}
@@ -0,0 +1,8 @@
namespace ErsatzTV.Core.Interfaces.Emby;
public interface IEmbyCollectionScanner
{
Task<Either<BaseError, Unit>> ScanCollections(
string address,
string apiKey);
}