aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Entities/IHasTrailers.cs
diff options
context:
space:
mode:
authorstefan <stefan@hegedues.at>2018-09-12 19:26:21 +0200
committerstefan <stefan@hegedues.at>2018-09-12 19:26:21 +0200
commit48facb797ed912e4ea6b04b17d1ff190ac2daac4 (patch)
tree8dae77a31670a888d733484cb17dd4077d5444e8 /MediaBrowser.Controller/Entities/IHasTrailers.cs
parentc32d8656382a0eacb301692e0084377fc433ae9b (diff)
Update to 3.5.2 and .net core 2.1
Diffstat (limited to 'MediaBrowser.Controller/Entities/IHasTrailers.cs')
-rw-r--r--MediaBrowser.Controller/Entities/IHasTrailers.cs38
1 files changed, 0 insertions, 38 deletions
diff --git a/MediaBrowser.Controller/Entities/IHasTrailers.cs b/MediaBrowser.Controller/Entities/IHasTrailers.cs
deleted file mode 100644
index 07dde3789..000000000
--- a/MediaBrowser.Controller/Entities/IHasTrailers.cs
+++ /dev/null
@@ -1,38 +0,0 @@
-using MediaBrowser.Model.Entities;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-
-namespace MediaBrowser.Controller.Entities
-{
- public interface IHasTrailers : IHasMetadata
- {
- /// <summary>
- /// Gets or sets the remote trailers.
- /// </summary>
- /// <value>The remote trailers.</value>
- MediaUrl[] RemoteTrailers { get; set; }
-
- /// <summary>
- /// Gets or sets the local trailer ids.
- /// </summary>
- /// <value>The local trailer ids.</value>
- Guid[] LocalTrailerIds { get; set; }
- Guid[] RemoteTrailerIds { get; set; }
- }
-
- public static class HasTrailerExtensions
- {
- /// <summary>
- /// Gets the trailer ids.
- /// </summary>
- /// <returns>List&lt;Guid&gt;.</returns>
- public static List<Guid> GetTrailerIds(this IHasTrailers item)
- {
- var list = item.LocalTrailerIds.ToList();
- list.AddRange(item.RemoteTrailerIds);
- return list;
- }
-
- }
-}