jellyfin/MediaBrowser.Controller/Entities
softworkz ad6bde6355 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.
2016-04-23 06:41:07 +02:00
..
Audio Remove unused code... 2016-03-27 23:11:27 +02:00
Movies add OriginalTitle to metadata editor 2016-04-20 01:21:40 -04:00
TV Restrict metadata refresh of missing/virtual episodes 2016-04-23 06:41:07 +02:00
AggregateFolder.cs Remove unused code... 2016-03-27 23:11:27 +02:00
BaseItem.cs add OriginalTitle to metadata editor 2016-04-20 01:21:40 -04:00
BasePluginFolder.cs update people saving 2015-06-28 21:10:45 -04:00
Book.cs Remove unused code... 2016-03-27 23:11:27 +02:00
CollectionFolder.cs Remove unused code... 2016-03-27 23:11:27 +02:00
DayOfWeekHelper.cs move user image into profile settings 2014-10-15 23:26:39 -04:00
Extensions.cs add cinema mode feature 2014-09-22 17:56:54 -04:00
Folder.cs resolve issue with querying by multiple item ids 2016-04-02 17:08:35 -04:00
Game.cs Remove unused code... 2016-03-27 23:11:27 +02:00
GameGenre.cs Remove unused code... 2016-03-27 23:11:27 +02:00
GameSystem.cs encode with qsv 2015-11-06 10:02:22 -05:00
Genre.cs update people saving 2015-06-28 21:10:45 -04:00
IArchivable.cs added archive interface 2015-03-16 22:46:21 -04:00
IByReferenceItem.cs
ICollectionFolder.cs update timeline view 2015-11-14 11:58:01 -05:00
IHasAspectRatio.cs
IHasAwards.cs
IHasBudget.cs
IHasCriticRating.cs
IHasDisplayOrder.cs
IHasId.cs update recording database 2015-06-01 13:07:55 -04:00
IHasImages.cs update metadata refresh 2016-04-08 14:32:38 -04:00
IHasKeywords.cs
IHasMediaSources.cs remember user audio/subtitle selections 2016-02-20 18:06:57 -05:00
IHasMetadata.cs update metadata refresh 2016-04-08 14:32:38 -04:00
IHasMetascore.cs
IHasOriginalTitle.cs support storage of original title 2015-03-09 21:30:20 -04:00
IHasProductionLocations.cs
IHasProgramAttributes.cs Remove unused code... 2016-03-27 23:11:27 +02:00
IHasScreenshots.cs
IHasSeries.cs
IHasShortOverview.cs
IHasSpecialFeatures.cs add MediaInfo to improve media analysis for video files 2014-09-20 11:48:23 -04:00
IHasStartDate.cs update live tv database 2015-06-01 10:49:23 -04:00
IHasTaglines.cs
IHasTags.cs
IHasThemeMedia.cs
IHasTrailers.cs update DisplayParent 2016-04-09 00:16:53 -04:00
IHasUserData.cs update recording database 2015-06-01 13:07:55 -04:00
IHiddenFromDisplay.cs Remove unused code... 2016-03-27 23:11:27 +02:00
IItemByName.cs 3.0.5666.2 2015-07-08 12:10:34 -04:00
ILibraryItem.cs
ImageSourceInfo.cs
IMetadataContainer.cs
InternalItemsQuery.cs fix block by inherited tags 2016-04-14 22:39:39 -04:00
InternalPeopleQuery.cs update polymer 2015-07-09 23:00:03 -04:00
ISupportsBoxSetGrouping.cs update task buttons 2015-01-22 11:41:34 -05:00
ISupportsPlaceHolders.cs
ItemImageInfo.cs fix merge conflict 2015-11-20 23:58:20 -05:00
IThemeMedia.cs remember display mirroring 2014-08-25 22:30:52 -04:00
IVirtualFolderCreator.cs
LinkedChild.cs post release housecleaning 2015-04-01 00:23:34 -04:00
MusicVideo.cs Remove unused code... 2016-03-27 23:11:27 +02:00
PeopleHelper.cs get people info during media refresh 2016-01-21 13:50:43 -05:00
Person.cs get people info during media refresh 2016-01-21 13:50:43 -05:00
Photo.cs Remove unused code... 2016-03-27 23:11:27 +02:00
PhotoAlbum.cs Remove unused code... 2016-03-27 23:11:27 +02:00
Share.cs more sync movement 2014-12-12 22:56:30 -05:00
SourceType.cs fix indicators 2016-03-19 16:30:43 -04:00
Studio.cs use ImageMagick scale method 2015-10-28 00:06:13 -04:00
Trailer.cs add OriginalTitle to metadata editor 2016-04-20 01:21:40 -04:00
User.cs Remove unused code... 2016-03-27 23:11:27 +02:00
UserItemData.cs remember user audio/subtitle selections 2016-02-20 18:06:57 -05:00
UserRootFolder.cs resolve issue with querying by multiple item ids 2016-04-02 17:08:35 -04:00
UserView.cs resolve issue with querying by multiple item ids 2016-04-02 17:08:35 -04:00
UserViewBuilder.cs fix collection grouping for plain folders 2016-04-10 16:09:55 -04:00
Video.cs resolve audio channel playback 2016-04-01 01:02:29 -04:00
Year.cs update people saving 2015-06-28 21:10:45 -04:00