better trakt lists (#384)
* better trakt list support * update dependencies * revert unneeded brackets
This commit is contained in:
@@ -7,6 +7,7 @@ namespace ErsatzTV.Core.Interfaces.Locking
|
||||
event EventHandler OnLibraryChanged;
|
||||
event EventHandler OnPlexChanged;
|
||||
event EventHandler<Type> OnRemoteMediaSourceChanged;
|
||||
event EventHandler OnTraktChanged;
|
||||
bool LockLibrary(int libraryId);
|
||||
bool UnlockLibrary(int libraryId);
|
||||
bool IsLibraryLocked(int libraryId);
|
||||
@@ -16,5 +17,8 @@ namespace ErsatzTV.Core.Interfaces.Locking
|
||||
bool IsRemoteMediaSourceLocked<TMediaSource>();
|
||||
bool LockRemoteMediaSource<TMediaSource>();
|
||||
bool UnlockRemoteMediaSource<TMediaSource>();
|
||||
bool IsTraktLocked();
|
||||
bool LockTrakt();
|
||||
bool UnlockTrakt();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using ErsatzTV.Core.Domain;
|
||||
using ErsatzTV.Core.Trakt;
|
||||
using LanguageExt;
|
||||
|
||||
@@ -7,8 +8,7 @@ namespace ErsatzTV.Core.Interfaces.Trakt
|
||||
{
|
||||
public interface ITraktApiClient
|
||||
{
|
||||
Task<Either<BaseError, List<TraktListItemWithGuids>>> GetUserListItems(
|
||||
string user,
|
||||
string list);
|
||||
Task<Either<BaseError, TraktList>> GetUserList(string user, string list);
|
||||
Task<Either<BaseError, List<TraktListItemWithGuids>>> GetUserListItems(string user, string list);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user