diff --git a/MediaBrowser.Controller/Entities/BaseItem.cs b/MediaBrowser.Controller/Entities/BaseItem.cs
index 84b6d80974..f81485867b 100644
--- a/MediaBrowser.Controller/Entities/BaseItem.cs
+++ b/MediaBrowser.Controller/Entities/BaseItem.cs
@@ -125,7 +125,7 @@ namespace MediaBrowser.Controller.Entities
///
/// The trailer URL.
public List RemoteTrailers { get; set; }
-
+
///
/// Return the id that should be used to key display prefs for this item.
/// Default is based on the type for everything except actual generic folders.
@@ -1225,6 +1225,25 @@ namespace MediaBrowser.Controller.Entities
}
}
+ ///
+ /// Adds the tagline.
+ ///
+ /// The item.
+ /// The tagline.
+ /// tagline
+ public void AddTagline(string tagline)
+ {
+ if (string.IsNullOrWhiteSpace(tagline))
+ {
+ throw new ArgumentNullException("tagline");
+ }
+
+ if (!Taglines.Contains(tagline, StringComparer.OrdinalIgnoreCase))
+ {
+ Taglines.Add(tagline);
+ }
+ }
+
///
/// Adds a studio to the item
///
diff --git a/MediaBrowser.Controller/Entities/Extensions.cs b/MediaBrowser.Controller/Entities/Extensions.cs
index 311e28cbb6..d189f4e71b 100644
--- a/MediaBrowser.Controller/Entities/Extensions.cs
+++ b/MediaBrowser.Controller/Entities/Extensions.cs
@@ -4,27 +4,18 @@ using System.Linq;
namespace MediaBrowser.Controller.Entities
{
+ ///
+ /// Class Extensions
+ ///
public static class Extensions
{
///
- /// Adds the tagline.
+ /// Adds the trailer URL.
///
/// The item.
- /// The tagline.
- /// tagline
- public static void AddTagline(this BaseItem item, string tagline)
- {
- if (string.IsNullOrWhiteSpace(tagline))
- {
- throw new ArgumentNullException("tagline");
- }
-
- if (!item.Taglines.Contains(tagline, StringComparer.OrdinalIgnoreCase))
- {
- item.Taglines.Add(tagline);
- }
- }
-
+ /// The URL.
+ /// if set to true [is direct link].
+ /// url
public static void AddTrailerUrl(this BaseItem item, string url, bool isDirectLink)
{
if (string.IsNullOrWhiteSpace(url))