mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-28 10:30:57 +01:00
Merge pull request #5301 from Bond-009/validinput
(cherry picked from commit 5860979500)
Signed-off-by: Joshua M. Boniface <joshua@boniface.me>
This commit is contained in:
committed by
Joshua M. Boniface
parent
ab054d6239
commit
ef864e24b9
16
MediaBrowser.Model/Entities/CollectionTypeOptions.cs
Normal file
16
MediaBrowser.Model/Entities/CollectionTypeOptions.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
#pragma warning disable CS1591
|
||||
|
||||
namespace MediaBrowser.Model.Entities
|
||||
{
|
||||
public enum CollectionTypeOptions
|
||||
{
|
||||
Movies = 0,
|
||||
TvShows = 1,
|
||||
Music = 2,
|
||||
MusicVideos = 3,
|
||||
HomeVideos = 4,
|
||||
BoxSets = 5,
|
||||
Books = 6,
|
||||
Mixed = 7
|
||||
}
|
||||
}
|
||||
@@ -27,7 +27,7 @@ namespace MediaBrowser.Model.Entities
|
||||
/// Gets or sets the type of the collection.
|
||||
/// </summary>
|
||||
/// <value>The type of the collection.</value>
|
||||
public string CollectionType { get; set; }
|
||||
public CollectionTypeOptions? CollectionType { get; set; }
|
||||
|
||||
public LibraryOptions LibraryOptions { get; set; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user