PluginConfiguration.cs 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. using MediaBrowser.Model.Plugins;
  2. namespace MediaBrowser.Plugins.Dlna.Configuration
  3. {
  4. /// <summary>
  5. /// Class PluginConfiguration
  6. /// </summary>
  7. public class PluginConfiguration : BasePluginConfiguration
  8. {
  9. /// <summary>
  10. /// Gets or sets the friendly name of the DLNA Server.
  11. /// </summary>
  12. /// <value>The friendly name of the DLNA Server.</value>
  13. public string FriendlyDlnaName { get; set; }
  14. /// <summary>
  15. /// Gets or sets the Port Number for the DLNA Server.
  16. /// </summary>
  17. /// <value>The Port Number of the DLNA Server.</value>
  18. public short? DlnaPortNumber { get; set; }
  19. /// <summary>
  20. /// Gets or sets the name of the user to impersonate.
  21. /// </summary>
  22. /// <value>The name of the User.</value>
  23. public string UserName { get; set; }
  24. /// <summary>
  25. /// Initializes a new instance of the <see cref="PluginConfiguration" /> class.
  26. /// </summary>
  27. public PluginConfiguration()
  28. : base()
  29. {
  30. //this.DlnaPortNumber = 1845;
  31. this.FriendlyDlnaName = "MB3 UPnP";
  32. this.UserName = string.Empty;
  33. }
  34. }
  35. }