aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/Library/LocalTrailerPostScanTask.cs
diff options
context:
space:
mode:
authorsoftworkz <softworkz@hotmail.com>2016-04-23 06:30:05 +0200
committersoftworkz <softworkz@hotmail.com>2016-04-23 06:41:07 +0200
commitad6bde6355ab4a8cf9d4d6a51c62844bdc029fcb (patch)
treef538083e55c70258f2d4140d55e2fbcbbd8fd1d0 /MediaBrowser.Server.Implementations/Library/LocalTrailerPostScanTask.cs
parent584e793a6d8782956fee5ae1658fdd99d72860ed (diff)
Restrict metadata refresh of missing/virtual episodes
This commit can significantly improe library scan times! (in my case from 15minutes to 50s) This fixes the following situation: When a user has a series in his library with lots of episodes (like thousands), the metadata for ALL series episodes was refreshed during each library scan. This resulted in very long scan times, even when using the provider's cached data. This fix skips metadata refresh for episodes that are NOT present in the local library and are having an airdate older than 30days (no more changes likely to occur) during library scans. But these skipped items would still be refreshed during a full metadata refresh. I believe this is an acceptable balance between performance and accuracy.
Diffstat (limited to 'MediaBrowser.Server.Implementations/Library/LocalTrailerPostScanTask.cs')
0 files changed, 0 insertions, 0 deletions