diff --git a/MediaBrowser.Controller/Entities/Trailer.cs b/MediaBrowser.Controller/Entities/Trailer.cs
index b3d73dc34..53ec030a7 100644
--- a/MediaBrowser.Controller/Entities/Trailer.cs
+++ b/MediaBrowser.Controller/Entities/Trailer.cs
@@ -3,8 +3,9 @@ using MediaBrowser.Model.Configuration;
using MediaBrowser.Model.Entities;
using System;
using System.Collections.Generic;
-using System.Runtime.Serialization;
+using System.Globalization;
using System.Linq;
+using System.Runtime.Serialization;
namespace MediaBrowser.Controller.Entities
{
@@ -22,7 +23,7 @@ namespace MediaBrowser.Controller.Entities
///
/// The preferred metadata country code.
public string PreferredMetadataCountryCode { get; set; }
-
+
public Trailer()
{
RemoteTrailers = new List();
@@ -33,19 +34,19 @@ namespace MediaBrowser.Controller.Entities
}
public float? Metascore { get; set; }
-
+
public List LocalTrailerIds { get; set; }
-
+
public List RemoteTrailers { get; set; }
public List Keywords { get; set; }
-
+
///
/// Gets or sets the taglines.
///
/// The taglines.
public List Taglines { get; set; }
-
+
///
/// Gets or sets the budget.
///
@@ -92,6 +93,12 @@ namespace MediaBrowser.Controller.Entities
{
key = key + "-trailer";
+ // Make sure different trailers have their own data.
+ if (RunTimeTicks.HasValue)
+ {
+ key += "-" + RunTimeTicks.Value.ToString(CultureInfo.InvariantCulture);
+ }
+
return key;
}