DlnaOptions.cs 807 B

12345678910111213141516171819202122232425
  1. namespace Emby.Dlna.Configuration
  2. {
  3. public class DlnaOptions
  4. {
  5. public bool EnablePlayTo { get; set; }
  6. public bool EnableServer { get; set; }
  7. public bool EnableDebugLog { get; set; }
  8. public bool BlastAliveMessages { get; set; }
  9. public bool SendOnlyMatchedHost { get; set; }
  10. public int ClientDiscoveryIntervalSeconds { get; set; }
  11. public int BlastAliveMessageIntervalSeconds { get; set; }
  12. public string DefaultUserId { get; set; }
  13. public DlnaOptions()
  14. {
  15. EnablePlayTo = true;
  16. EnableServer = true;
  17. BlastAliveMessages = true;
  18. SendOnlyMatchedHost = true;
  19. ClientDiscoveryIntervalSeconds = 60;
  20. BlastAliveMessageIntervalSeconds = 1800;
  21. }
  22. }
  23. }