diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-12-11 01:20:28 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-12-11 01:20:28 -0500 |
| commit | ea9e8b957cdf5bb335967eeb1a018c4fc2a1db53 (patch) | |
| tree | 634029375a7632d4c591256790f190493a802138 /MediaBrowser.Controller/Entities/Game.cs | |
| parent | 4548e6598def249d4b0fe4f4f12e2fa16d4f1e3c (diff) | |
update sync objects
Diffstat (limited to 'MediaBrowser.Controller/Entities/Game.cs')
| -rw-r--r-- | MediaBrowser.Controller/Entities/Game.cs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Entities/Game.cs b/MediaBrowser.Controller/Entities/Game.cs index 062bdfa88..e4d032359 100644 --- a/MediaBrowser.Controller/Entities/Game.cs +++ b/MediaBrowser.Controller/Entities/Game.cs @@ -28,12 +28,14 @@ namespace MediaBrowser.Controller.Entities SoundtrackIds = new List<Guid>(); RemoteTrailers = new List<MediaUrl>(); LocalTrailerIds = new List<Guid>(); + RemoteTrailerIds = new List<Guid>(); ThemeSongIds = new List<Guid>(); ThemeVideoIds = new List<Guid>(); Tags = new List<string>(); } public List<Guid> LocalTrailerIds { get; set; } + public List<Guid> RemoteTrailerIds { get; set; } /// <summary> /// Gets or sets the tags. @@ -119,5 +121,16 @@ namespace MediaBrowser.Controller.Entities return id; } + + /// <summary> + /// Gets the trailer ids. + /// </summary> + /// <returns>List<Guid>.</returns> + public List<Guid> GetTrailerIds() + { + var list = LocalTrailerIds.ToList(); + list.AddRange(RemoteTrailerIds); + return list; + } } } |
