rework emby collection scanning (#1205)
* optimize emby collection scan frequency * add button to sync emby collections * update changelog * fix scanning; add progress indicator
This commit is contained in:
@@ -6,6 +6,7 @@ public interface IEntityLocker
|
||||
event EventHandler OnPlexChanged;
|
||||
event EventHandler<Type> OnRemoteMediaSourceChanged;
|
||||
event EventHandler OnTraktChanged;
|
||||
event EventHandler OnEmbyCollectionsChanged;
|
||||
bool LockLibrary(int libraryId);
|
||||
bool UnlockLibrary(int libraryId);
|
||||
bool IsLibraryLocked(int libraryId);
|
||||
@@ -18,4 +19,7 @@ public interface IEntityLocker
|
||||
bool IsTraktLocked();
|
||||
bool LockTrakt();
|
||||
bool UnlockTrakt();
|
||||
bool LockEmbyCollections();
|
||||
bool UnlockEmbyCollections();
|
||||
bool AreEmbyCollectionsLocked();
|
||||
}
|
||||
|
||||
@@ -83,4 +83,5 @@ public interface IMediaSourceRepository
|
||||
Task<List<int>> DeleteAllEmby();
|
||||
Task<Unit> EnableEmbyLibrarySync(IEnumerable<int> libraryIds);
|
||||
Task<List<int>> DisableEmbyLibrarySync(List<int> libraryIds);
|
||||
Task<Unit> UpdateLastScan(EmbyMediaSource embyMediaSource);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user