mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-15 18:08:53 -07:00
00eb6c0d6f
* Added Media segment manager * Added "HasSegments" to MediaSourceInfo when requesting though baseitem * Fixed ordering of Media Segements * Added media segment API controller * Added .ConfigureAwait(false) on media segments manager * renamed MediaSegmentsController removed empty route * Added Model layer for Media Segments Fixed review comments Media segments * Updated media segment naming refactored api and manager usage * Added mediaSegment type filter * Fixed codesmell * Fixed naming and typos * Added EF Migration * Added Identity Generation for MediaSegments Made mediasegment filter optional * Fixed optional filter parameter * refactored segment namespace * Added SegmentProviderId to MediaSegment * Media segment comment indentation * Added MediaSegmentManager query notracking
40 lines
660 B
C#
40 lines
660 B
C#
using Jellyfin.Data.Entities;
|
|
|
|
namespace Jellyfin.Data.Enums;
|
|
|
|
/// <summary>
|
|
/// Defines the types of content an individual <see cref="MediaSegment"/> represents.
|
|
/// </summary>
|
|
public enum MediaSegmentType
|
|
{
|
|
/// <summary>
|
|
/// Default media type or custom one.
|
|
/// </summary>
|
|
Unknown = 0,
|
|
|
|
/// <summary>
|
|
/// Commercial.
|
|
/// </summary>
|
|
Commercial = 1,
|
|
|
|
/// <summary>
|
|
/// Preview.
|
|
/// </summary>
|
|
Preview = 2,
|
|
|
|
/// <summary>
|
|
/// Recap.
|
|
/// </summary>
|
|
Recap = 3,
|
|
|
|
/// <summary>
|
|
/// Outro.
|
|
/// </summary>
|
|
Outro = 4,
|
|
|
|
/// <summary>
|
|
/// Intro.
|
|
/// </summary>
|
|
Intro = 5
|
|
}
|