aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Entities/CollectionTypeOptions.cs
diff options
context:
space:
mode:
authorCody Robibero <cody@robibe.ro>2024-03-31 21:58:06 -0600
committerGitHub <noreply@github.com>2024-03-31 21:58:06 -0600
commit3ade3a8e63204becb856bbc268ce877c82a44a2c (patch)
tree00125cfc5213dcf805e48350b4fbe3446a786ff0 /MediaBrowser.Model/Entities/CollectionTypeOptions.cs
parentd9fe900952db446ded5ebdb937bd9e242b4a96de (diff)
Lowercase CollectionTypeOptions to match legacy experience (#11272)
Diffstat (limited to 'MediaBrowser.Model/Entities/CollectionTypeOptions.cs')
-rw-r--r--MediaBrowser.Model/Entities/CollectionTypeOptions.cs59
1 files changed, 46 insertions, 13 deletions
diff --git a/MediaBrowser.Model/Entities/CollectionTypeOptions.cs b/MediaBrowser.Model/Entities/CollectionTypeOptions.cs
index e1894d84a..fc4cfdd66 100644
--- a/MediaBrowser.Model/Entities/CollectionTypeOptions.cs
+++ b/MediaBrowser.Model/Entities/CollectionTypeOptions.cs
@@ -1,16 +1,49 @@
-#pragma warning disable CS1591
+#pragma warning disable SA1300 // Lowercase required for backwards compat.
-namespace MediaBrowser.Model.Entities
+namespace MediaBrowser.Model.Entities;
+
+/// <summary>
+/// The collection type options.
+/// </summary>
+public enum CollectionTypeOptions
{
- public enum CollectionTypeOptions
- {
- Movies = 0,
- TvShows = 1,
- Music = 2,
- MusicVideos = 3,
- HomeVideos = 4,
- BoxSets = 5,
- Books = 6,
- Mixed = 7
- }
+ /// <summary>
+ /// Movies.
+ /// </summary>
+ movies = 0,
+
+ /// <summary>
+ /// TV Shows.
+ /// </summary>
+ tvshows = 1,
+
+ /// <summary>
+ /// Music.
+ /// </summary>
+ music = 2,
+
+ /// <summary>
+ /// Music Videos.
+ /// </summary>
+ musicvideos = 3,
+
+ /// <summary>
+ /// Home Videos (and Photos).
+ /// </summary>
+ homevideos = 4,
+
+ /// <summary>
+ /// Box Sets.
+ /// </summary>
+ boxsets = 5,
+
+ /// <summary>
+ /// Books.
+ /// </summary>
+ books = 6,
+
+ /// <summary>
+ /// Mixed Movies and TV Shows.
+ /// </summary>
+ mixed = 7
}