jellyfin-server/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 moved IByReferenceItem to the controller project 2013-06-09 13:47:19 -04:00
ICollectionFolder.cs update timeline view 2015-11-14 11:58:01 -05:00
IHasAspectRatio.cs pull person sort order from tvdb/tmdb data 2013-11-19 22:15:48 -05:00
IHasAwards.cs add new fields from omdb 2014-01-15 00:01:58 -05:00
IHasBudget.cs Added IHasBudget 2013-12-02 11:16:03 -05:00
IHasCriticRating.cs added critic rating interface 2013-11-06 11:06:16 -05:00
IHasDisplayOrder.cs add custom collection sort orders to edit page 2014-01-03 15:32:27 -05:00
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 support plot keywords 2014-01-14 10:50:39 -05:00
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 add new fields from omdb 2014-01-15 00:01:58 -05:00
IHasOriginalTitle.cs support storage of original title 2015-03-09 21:30:20 -04:00
IHasProductionLocations.cs Removed unused properties from BaseItem. 2013-12-05 11:50:21 -05:00
IHasProgramAttributes.cs Remove unused code... 2016-03-27 23:11:27 +02:00
IHasScreenshots.cs create images list object 2014-02-07 15:30:41 -05:00
IHasSeries.cs added more image providers 2014-02-08 15:02:35 -05:00
IHasShortOverview.cs add ShortOverview 2014-06-24 00:18:02 -04:00
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 Removed unused properties from BaseItem. 2013-12-05 11:50:21 -05:00
IHasTags.cs Removed unused properties from BaseItem. 2013-12-05 11:50:21 -05:00
IHasThemeMedia.cs Removed unused properties from BaseItem. 2013-12-05 11:50:21 -05:00
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 added recording progress bars 2014-01-14 15:24:56 -05:00
ImageSourceInfo.cs support backdrops from multiple sources 2013-10-22 15:03:21 -04:00
IMetadataContainer.cs separate metadata refresh from validation 2014-02-06 17:22:03 -05:00
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 fixes #697 - Support xbmc offline discs 2014-03-03 00:11:03 -05:00
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 fix broken images 2013-02-22 20:24:04 -05:00
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