mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 03:03:40 +01:00
Convert CollectionType, SpecialFolderType to enum (#9764)
* Convert CollectionType, SpecialFolderType to enum * Hide internal enum CollectionType values * Apply suggestions from code review Co-authored-by: Shadowghost <Shadowghost@users.noreply.github.com> * Fix recent change * Update Jellyfin.Data/Attributes/OpenApiIgnoreEnumAttribute.cs Co-authored-by: Patrick Barron <barronpm@gmail.com> --------- Co-authored-by: Shadowghost <Shadowghost@users.noreply.github.com> Co-authored-by: Patrick Barron <barronpm@gmail.com>
This commit is contained in:
@@ -1,27 +0,0 @@
|
||||
#pragma warning disable CS1591
|
||||
|
||||
namespace MediaBrowser.Model.Entities
|
||||
{
|
||||
public static class CollectionType
|
||||
{
|
||||
public const string Movies = "movies";
|
||||
|
||||
public const string TvShows = "tvshows";
|
||||
|
||||
public const string Music = "music";
|
||||
|
||||
public const string MusicVideos = "musicvideos";
|
||||
|
||||
public const string Trailers = "trailers";
|
||||
|
||||
public const string HomeVideos = "homevideos";
|
||||
|
||||
public const string BoxSets = "boxsets";
|
||||
|
||||
public const string Books = "books";
|
||||
public const string Photos = "photos";
|
||||
public const string LiveTv = "livetv";
|
||||
public const string Playlists = "playlists";
|
||||
public const string Folders = "folders";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user