From 7f320ce0638cd3c26b45bb75184d526f03b18651 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Fri, 18 Apr 2014 01:03:01 -0400 Subject: add basic dlna server browsing --- MediaBrowser.Model/Session/PlaybackReports.cs | 13 +++++++++++++ MediaBrowser.Model/Session/SessionInfoDto.cs | 6 ++++++ 2 files changed, 19 insertions(+) (limited to 'MediaBrowser.Model/Session') diff --git a/MediaBrowser.Model/Session/PlaybackReports.cs b/MediaBrowser.Model/Session/PlaybackReports.cs index 24594fcb10..80524c06ec 100644 --- a/MediaBrowser.Model/Session/PlaybackReports.cs +++ b/MediaBrowser.Model/Session/PlaybackReports.cs @@ -90,6 +90,19 @@ namespace MediaBrowser.Model.Session /// /// The volume level. public int? VolumeLevel { get; set; } + + /// + /// Gets or sets the play method. + /// + /// The play method. + public PlayMethod PlayMethod { get; set; } + } + + public enum PlayMethod + { + Transcode = 0, + DirectStream = 1, + DirectPlay = 2 } /// diff --git a/MediaBrowser.Model/Session/SessionInfoDto.cs b/MediaBrowser.Model/Session/SessionInfoDto.cs index b9dcf996ed..686af48499 100644 --- a/MediaBrowser.Model/Session/SessionInfoDto.cs +++ b/MediaBrowser.Model/Session/SessionInfoDto.cs @@ -233,5 +233,11 @@ namespace MediaBrowser.Model.Session /// /// The now playing media version identifier. public string MediaSourceId { get; set; } + + /// + /// Gets or sets the play method. + /// + /// The play method. + public PlayMethod? PlayMethod { get; set; } } } -- cgit v1.2.3