aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Entities
diff options
context:
space:
mode:
authorebr11 Eric Reed spam <ebr11 Eric Reed spam@reedsplace.com>2012-09-19 10:22:53 -0400
committerebr11 Eric Reed spam <ebr11 Eric Reed spam@reedsplace.com>2012-09-19 10:22:53 -0400
commit6edc836ce591c466743a1d94a75cb3537c4835bd (patch)
treecc09e1b8beacddf200f49ffcc4b1cb7a9657afe8 /MediaBrowser.Controller/Entities
parent442081f4e20a2a0bb5a17023817754ef6045b5ee (diff)
I lied - re-worked metadata folder handling again. Should now really only hit once and is available for other item types
Diffstat (limited to 'MediaBrowser.Controller/Entities')
-rw-r--r--MediaBrowser.Controller/Entities/TV/Season.cs8
1 files changed, 7 insertions, 1 deletions
diff --git a/MediaBrowser.Controller/Entities/TV/Season.cs b/MediaBrowser.Controller/Entities/TV/Season.cs
index 98ad31220..f9c7fecb3 100644
--- a/MediaBrowser.Controller/Entities/TV/Season.cs
+++ b/MediaBrowser.Controller/Entities/TV/Season.cs
@@ -7,7 +7,13 @@ namespace MediaBrowser.Controller.Entities.TV
/// <summary>
/// Store these to reduce disk access in Episode Resolver
/// </summary>
- public string[] MetadataFiles { get; set; }
+ public string[] MetadataFiles
+ {
+ get
+ {
+ return ResolveArgs.MetadataFiles ?? new string[] { };
+ }
+ }
/// <summary>
/// Determines if the metafolder contains a given file