diff --git a/MediaBrowser.Providers/Savers/XmlSaverHelpers.cs b/MediaBrowser.Providers/Savers/XmlSaverHelpers.cs
index 5e9bc942d..86a8520e0 100644
--- a/MediaBrowser.Providers/Savers/XmlSaverHelpers.cs
+++ b/MediaBrowser.Providers/Savers/XmlSaverHelpers.cs
@@ -70,7 +70,8 @@ namespace MediaBrowser.Providers.Savers
"Studios",
"Tags",
"Added",
- "LockData"
+ "LockData",
+ "Trailer"
});
var position = xml.ToString().LastIndexOf("", StringComparison.OrdinalIgnoreCase);
@@ -158,7 +159,7 @@ namespace MediaBrowser.Providers.Savers
builder.Append("" + SecurityElement.Escape(item.DateCreated.ToString(UsCulture)) + "");
builder.Append("" + item.DontFetchMeta.ToString().ToLower() + "");
-
+
if (!string.IsNullOrEmpty(item.DisplayMediaType))
{
builder.Append("" + SecurityElement.Escape(item.DisplayMediaType) + "");
@@ -199,6 +200,11 @@ namespace MediaBrowser.Providers.Savers
builder.Append("" + SecurityElement.Escape(item.PremiereDate.Value.ToString("yyyy-MM-dd")) + "");
}
+ if (item.RemoteTrailers.Count > 0)
+ {
+ builder.Append("" + SecurityElement.Escape(item.RemoteTrailers[0].Url) + "");
+ }
+
if (item.Budget.HasValue)
{
builder.Append("" + SecurityElement.Escape(item.Budget.Value.ToString(UsCulture)) + "");