Lowercase MediaStreamProtocol for backwards compatibility

This commit is contained in:
Cody Robibero
2024-03-08 15:29:22 -07:00
parent a597f1e410
commit e731250342
7 changed files with 36 additions and 34 deletions

View File

@@ -1,20 +1,22 @@
#pragma warning disable SA1300 // Lowercase required for backwards compat.
using System.ComponentModel;
namespace Jellyfin.Data.Enums;
/// <summary>
/// Media streaming protocol.
/// Lowercase for backwards compatibility.
/// </summary>
[DefaultValue(Http)]
[DefaultValue(http)]
public enum MediaStreamProtocol
{
/// <summary>
/// HTTP.
/// </summary>
Http = 0,
http = 0,
/// <summary>
/// HTTP Live Streaming.
/// </summary>
Hls = 1
hls = 1
}