diff options
Diffstat (limited to 'MediaBrowser.Plugins.Dlna/Configuration/PluginConfiguration.cs')
| -rw-r--r-- | MediaBrowser.Plugins.Dlna/Configuration/PluginConfiguration.cs | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/MediaBrowser.Plugins.Dlna/Configuration/PluginConfiguration.cs b/MediaBrowser.Plugins.Dlna/Configuration/PluginConfiguration.cs new file mode 100644 index 000000000..47a56c9cf --- /dev/null +++ b/MediaBrowser.Plugins.Dlna/Configuration/PluginConfiguration.cs @@ -0,0 +1,39 @@ +using MediaBrowser.Model.Plugins; + +namespace MediaBrowser.Plugins.Dlna.Configuration +{ + /// <summary> + /// Class PluginConfiguration + /// </summary> + public class PluginConfiguration : BasePluginConfiguration + { + /// <summary> + /// Gets or sets the friendly name of the DLNA Server. + /// </summary> + /// <value>The friendly name of the DLNA Server.</value> + public string FriendlyDlnaName { get; set; } + + /// <summary> + /// Gets or sets the Port Number for the DLNA Server. + /// </summary> + /// <value>The Port Number of the DLNA Server.</value> + public short? DlnaPortNumber { get; set; } + + /// <summary> + /// Gets or sets the name of the user to impersonate. + /// </summary> + /// <value>The name of the User.</value> + public string UserName { get; set; } + + /// <summary> + /// Initializes a new instance of the <see cref="PluginConfiguration" /> class. + /// </summary> + public PluginConfiguration() + : base() + { + //this.DlnaPortNumber = 1845; + this.FriendlyDlnaName = "MB3 UPnP"; + this.UserName = string.Empty; + } + } +} |
