Updated code to correct build errors for Jelyfin.Data and Jellyfin.Database.Implementations

This commit is contained in:
2026-02-19 15:51:56 -05:00
parent f47555f2aa
commit d5fdbec943
317 changed files with 17235 additions and 3473 deletions
+17 -16
View File
@@ -3,24 +3,25 @@
// </copyright>
#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)]
public enum MediaStreamProtocol
namespace Jellyfin.Data.Enums
{
/// <summary>
/// HTTP.
/// </summary>
http = 0,
using System.ComponentModel;
/// <summary>
/// HTTP Live Streaming.
/// Media streaming protocol.
/// Lowercase for backwards compatibility.
/// </summary>
hls = 1
[DefaultValue(http)]
public enum MediaStreamProtocol
{
/// <summary>
/// HTTP.
/// </summary>
http = 0,
/// <summary>
/// HTTP Live Streaming.
/// </summary>
hls = 1,
}
}