|
|
|
@ -168,6 +168,7 @@ public abstract class MediaServerTelevisionLibraryScanner<TConnectionParameters, |
|
|
|
library, |
|
|
|
library, |
|
|
|
getLocalPath, |
|
|
|
getLocalPath, |
|
|
|
result.Item, |
|
|
|
result.Item, |
|
|
|
|
|
|
|
result.IsUpdated, |
|
|
|
connectionParameters, |
|
|
|
connectionParameters, |
|
|
|
GetSeasonLibraryItems(library, connectionParameters, result.Item), |
|
|
|
GetSeasonLibraryItems(library, connectionParameters, result.Item), |
|
|
|
deepScan, |
|
|
|
deepScan, |
|
|
|
@ -290,6 +291,7 @@ public abstract class MediaServerTelevisionLibraryScanner<TConnectionParameters, |
|
|
|
TLibrary library, |
|
|
|
TLibrary library, |
|
|
|
Func<TEpisode, string> getLocalPath, |
|
|
|
Func<TEpisode, string> getLocalPath, |
|
|
|
TShow show, |
|
|
|
TShow show, |
|
|
|
|
|
|
|
bool showIsUpdated, |
|
|
|
TConnectionParameters connectionParameters, |
|
|
|
TConnectionParameters connectionParameters, |
|
|
|
IAsyncEnumerable<TSeason> seasonEntries, |
|
|
|
IAsyncEnumerable<TSeason> seasonEntries, |
|
|
|
bool deepScan, |
|
|
|
bool deepScan, |
|
|
|
@ -352,6 +354,7 @@ public abstract class MediaServerTelevisionLibraryScanner<TConnectionParameters, |
|
|
|
library, |
|
|
|
library, |
|
|
|
getLocalPath, |
|
|
|
getLocalPath, |
|
|
|
show, |
|
|
|
show, |
|
|
|
|
|
|
|
showIsUpdated, |
|
|
|
result.Item, |
|
|
|
result.Item, |
|
|
|
connectionParameters, |
|
|
|
connectionParameters, |
|
|
|
GetEpisodeLibraryItems(library, connectionParameters, show, result.Item), |
|
|
|
GetEpisodeLibraryItems(library, connectionParameters, show, result.Item), |
|
|
|
@ -373,7 +376,7 @@ public abstract class MediaServerTelevisionLibraryScanner<TConnectionParameters, |
|
|
|
|
|
|
|
|
|
|
|
result.Item.Show = show; |
|
|
|
result.Item.Show = show; |
|
|
|
|
|
|
|
|
|
|
|
if (result.IsAdded || result.IsUpdated) |
|
|
|
if (result.IsAdded || result.IsUpdated || showIsUpdated) |
|
|
|
{ |
|
|
|
{ |
|
|
|
await _mediator.Publish( |
|
|
|
await _mediator.Publish( |
|
|
|
new ScannerProgressUpdate( |
|
|
|
new ScannerProgressUpdate( |
|
|
|
@ -402,6 +405,7 @@ public abstract class MediaServerTelevisionLibraryScanner<TConnectionParameters, |
|
|
|
TLibrary library, |
|
|
|
TLibrary library, |
|
|
|
Func<TEpisode, string> getLocalPath, |
|
|
|
Func<TEpisode, string> getLocalPath, |
|
|
|
TShow show, |
|
|
|
TShow show, |
|
|
|
|
|
|
|
bool showIsUpdated, |
|
|
|
TSeason season, |
|
|
|
TSeason season, |
|
|
|
TConnectionParameters connectionParameters, |
|
|
|
TConnectionParameters connectionParameters, |
|
|
|
IAsyncEnumerable<TEpisode> episodeEntries, |
|
|
|
IAsyncEnumerable<TEpisode> episodeEntries, |
|
|
|
@ -523,7 +527,7 @@ public abstract class MediaServerTelevisionLibraryScanner<TConnectionParameters, |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (result.IsAdded || result.IsUpdated) |
|
|
|
if (result.IsAdded || result.IsUpdated || showIsUpdated) |
|
|
|
{ |
|
|
|
{ |
|
|
|
await _mediator.Publish( |
|
|
|
await _mediator.Publish( |
|
|
|
new ScannerProgressUpdate( |
|
|
|
new ScannerProgressUpdate( |
|
|
|
|