From 3ade3a8e63204becb856bbc268ce877c82a44a2c Mon Sep 17 00:00:00 2001 From: Cody Robibero Date: Sun, 31 Mar 2024 21:58:06 -0600 Subject: Lowercase CollectionTypeOptions to match legacy experience (#11272) --- .../Entities/CollectionTypeOptions.cs | 59 +++++++++++++++++----- 1 file changed, 46 insertions(+), 13 deletions(-) (limited to 'MediaBrowser.Model/Entities/CollectionTypeOptions.cs') 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; + +/// +/// The collection type options. +/// +public enum CollectionTypeOptions { - public enum CollectionTypeOptions - { - Movies = 0, - TvShows = 1, - Music = 2, - MusicVideos = 3, - HomeVideos = 4, - BoxSets = 5, - Books = 6, - Mixed = 7 - } + /// + /// Movies. + /// + movies = 0, + + /// + /// TV Shows. + /// + tvshows = 1, + + /// + /// Music. + /// + music = 2, + + /// + /// Music Videos. + /// + musicvideos = 3, + + /// + /// Home Videos (and Photos). + /// + homevideos = 4, + + /// + /// Box Sets. + /// + boxsets = 5, + + /// + /// Books. + /// + books = 6, + + /// + /// Mixed Movies and TV Shows. + /// + mixed = 7 } -- cgit v1.2.3