diff options
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 ca6cfd246..bf8040a9f 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 b3ed21b19..bac29f0f5 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> |
