jellyfin-server/MediaBrowser.Model/Querying/ItemSortBy.cs
Maxr1998 0aaf2f470a
Implement Comparers for (Parent)IndexNumber
Can be used in item queries to sort by ParentIndexNumber and IndexNumber (used for disc and track numbers for example).
2022-02-17 01:35:59 +01:00

111 lines
2.9 KiB
C#

#pragma warning disable CS1591
namespace MediaBrowser.Model.Querying
{
/// <summary>
/// These represent sort orders that are known by the core.
/// </summary>
public static class ItemSortBy
{
public const string AiredEpisodeOrder = "AiredEpisodeOrder";
/// <summary>
/// The album.
/// </summary>
public const string Album = "Album";
/// <summary>
/// The album artist.
/// </summary>
public const string AlbumArtist = "AlbumArtist";
/// <summary>
/// The artist.
/// </summary>
public const string Artist = "Artist";
/// <summary>
/// The date created.
/// </summary>
public const string DateCreated = "DateCreated";
/// <summary>
/// The official rating.
/// </summary>
public const string OfficialRating = "OfficialRating";
/// <summary>
/// The date played.
/// </summary>
public const string DatePlayed = "DatePlayed";
/// <summary>
/// The premiere date.
/// </summary>
public const string PremiereDate = "PremiereDate";
public const string StartDate = "StartDate";
/// <summary>
/// The sort name.
/// </summary>
public const string SortName = "SortName";
public const string Name = "Name";
/// <summary>
/// The random.
/// </summary>
public const string Random = "Random";
/// <summary>
/// The runtime.
/// </summary>
public const string Runtime = "Runtime";
/// <summary>
/// The community rating.
/// </summary>
public const string CommunityRating = "CommunityRating";
/// <summary>
/// The production year.
/// </summary>
public const string ProductionYear = "ProductionYear";
/// <summary>
/// The play count.
/// </summary>
public const string PlayCount = "PlayCount";
/// <summary>
/// The critic rating.
/// </summary>
public const string CriticRating = "CriticRating";
public const string IsFolder = "IsFolder";
public const string IsUnplayed = "IsUnplayed";
public const string IsPlayed = "IsPlayed";
public const string SeriesSortName = "SeriesSortName";
public const string VideoBitRate = "VideoBitRate";
public const string AirTime = "AirTime";
public const string Studio = "Studio";
public const string IsFavoriteOrLiked = "IsFavoriteOrLiked";
public const string DateLastContentAdded = "DateLastContentAdded";
public const string SeriesDatePlayed = "SeriesDatePlayed";
public const string ParentIndexNumber = "ParentIndexNumber";
public const string IndexNumber = "IndexNumber";
}
}