diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-05-01 22:44:52 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-05-01 22:44:52 -0400 |
| commit | b11d06f36f31317f072e6cd1a27bd7d06b5f0c17 (patch) | |
| tree | a8144b47e8a7eb11e0e0b74b386f1e7912f420b1 /MediaBrowser.Controller/Entities | |
| parent | e9cfa6cd267786f8fd97ef2aeb88941c98c8aacf (diff) | |
more work on streaming remotely
Diffstat (limited to 'MediaBrowser.Controller/Entities')
| -rw-r--r-- | MediaBrowser.Controller/Entities/BasePluginFolder.cs | 13 | ||||
| -rw-r--r-- | MediaBrowser.Controller/Entities/Video.cs | 7 |
2 files changed, 20 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Entities/BasePluginFolder.cs b/MediaBrowser.Controller/Entities/BasePluginFolder.cs index ca6cfd246f..bf8040a9fe 100644 --- a/MediaBrowser.Controller/Entities/BasePluginFolder.cs +++ b/MediaBrowser.Controller/Entities/BasePluginFolder.cs @@ -29,8 +29,21 @@ namespace MediaBrowser.Controller.Entities { base.Id = value; } + } + + /// <summary> + /// Gets or sets the type of the location. + /// </summary> + /// <value>The type of the location.</value> + public override LocationType LocationType + { + get + { + return LocationType.Virtual; + } } + /// <summary> /// We don't resolve normally so need to fill this in /// </summary> diff --git a/MediaBrowser.Controller/Entities/Video.cs b/MediaBrowser.Controller/Entities/Video.cs index b3ed21b19a..bac29f0f5a 100644 --- a/MediaBrowser.Controller/Entities/Video.cs +++ b/MediaBrowser.Controller/Entities/Video.cs @@ -11,6 +11,13 @@ namespace MediaBrowser.Controller.Entities /// </summary> public class Video : BaseItem, IHasMediaStreams { + public Video() + { + MediaStreams = new List<MediaStream>(); + Chapters = new List<ChapterInfo>(); + PlayableStreamFileNames = new List<string>(); + } + /// <summary> /// Gets or sets the type of the video. /// </summary> |
