mirror of
https://github.com/sct/overseerr.git
synced 2025-09-17 17:24:35 +02:00
feat(plex-scan): plex scanner improvements (#2105)
This commit is contained in:
@@ -55,6 +55,7 @@ class BaseScanner<T> {
|
||||
private updateRate;
|
||||
protected progress = 0;
|
||||
protected items: T[] = [];
|
||||
protected totalSize?: number = 0;
|
||||
protected scannerName: string;
|
||||
protected enable4kMovie = false;
|
||||
protected enable4kShow = false;
|
||||
@@ -609,6 +610,14 @@ class BaseScanner<T> {
|
||||
): void {
|
||||
logger[level](message, { label: this.scannerName, ...optional });
|
||||
}
|
||||
|
||||
get protectedUpdateRate(): number {
|
||||
return this.updateRate;
|
||||
}
|
||||
|
||||
get protectedBundleSize(): number {
|
||||
return this.bundleSize;
|
||||
}
|
||||
}
|
||||
|
||||
export default BaseScanner;
|
||||
|
Reference in New Issue
Block a user