jellyfin/Jellyfin.Api/Controllers
ItsAllAboutTheCode 24f355a779
Changed GetThemeMedia to support SortBy/Order options (#12167)
* Changed `GetThemeMedia` to support SortBy/Order options

The `GetThemeMedia, `GetThemeVideos` and `GetThemeSongs` functions can optionally sort the results based based on passing an ItemSortBy type and a SortOrder.

This is intended to be used by jellyfin-web in order to allow users to control the order of theme playback.
See PR: https://github.com/jellyfin/jellyfin-web/pull/5714

* Update MediaBrowser.Controller/Entities/BaseItem.cs

Fix the `GetThemeVideos` two argument overload having both parameters defaulted.
For the two argument overload, both parameters are required.
2024-07-21 16:16:31 +02:00
..
ActivityLogController.cs Move API policies to MediaBrowser.Common 2023-11-12 10:24:35 -05:00
ApiKeyController.cs Move API policies to MediaBrowser.Common 2023-11-12 10:24:35 -05:00
ArtistsController.cs Use helper function to compare guid (#10825) 2024-01-17 08:51:39 -07:00
AudioController.cs Move default value to api spec 2024-07-17 21:52:44 +08:00
BrandingController.cs Migrate to file-scoped namespaces 2023-02-02 18:50:33 +01:00
ChannelsController.cs Use helper function to compare guid (#10825) 2024-01-17 08:51:39 -07:00
ClientLogController.cs refactor: simplify authz 2023-02-09 13:51:37 +01:00
CollectionController.cs Move API policies to MediaBrowser.Common 2023-11-12 10:24:35 -05:00
ConfigurationController.cs fix: disable api endpoint for ffmpeg path for security (#11225) 2024-03-28 13:57:55 -06:00
DashboardController.cs Require elevation for plugin related endpoints 2024-04-26 19:00:53 +02:00
DevicesController.cs Remove some unused client capabilities and sync code (#10812) 2024-01-06 13:33:48 -07:00
DisplayPreferencesController.cs Validate item access (#11171) 2024-04-14 08:18:36 -06:00
DynamicHlsController.cs Merge pull request #11492 from jellyfin/better-vbr-settings 2024-07-21 16:15:43 +02:00
EnvironmentController.cs Revert "Use System.Net.IPNetwork" 2023-11-14 21:16:33 +01:00
FilterController.cs Validate item access (#11171) 2024-04-14 08:18:36 -06:00
GenresController.cs Use helper function to compare guid (#10825) 2024-01-17 08:51:39 -07:00
HlsSegmentController.cs Add ITranscodeManager service 2023-12-21 12:53:50 -05:00
ImageController.cs Validate item access (#11171) 2024-04-14 08:18:36 -06:00
InstantMixController.cs Validate item access (#11171) 2024-04-14 08:18:36 -06:00
ItemLookupController.cs Validate item access (#11171) 2024-04-14 08:18:36 -06:00
ItemRefreshController.cs Backport pull request #12028 from jellyfin/release-10.9.z 2024-06-23 11:40:42 -04:00
ItemsController.cs Support filter by index number in ItemsController 2024-06-07 22:38:46 +02:00
ItemUpdateController.cs Backport pull request #11743 from jellyfin/release-10.9.z 2024-06-01 18:40:56 -04:00
LibraryController.cs Changed GetThemeMedia to support SortBy/Order options (#12167) 2024-07-21 16:16:31 +02:00
LibraryStructureController.cs Fix build 2024-06-06 21:07:22 +02:00
LiveTvController.cs Validate item access (#11171) 2024-04-14 08:18:36 -06:00
LocalizationController.cs Move API policies to MediaBrowser.Common 2023-11-12 10:24:35 -05:00
LyricsController.cs Validate item access (#11171) 2024-04-14 08:18:36 -06:00
MediaInfoController.cs Validate item access (#11171) 2024-04-14 08:18:36 -06:00
MoviesController.cs Use helper function to compare guid (#10825) 2024-01-17 08:51:39 -07:00
MusicGenresController.cs Use helper function to compare guid (#10825) 2024-01-17 08:51:39 -07:00
PackageController.cs Require elevation for plugin related endpoints 2024-04-26 19:00:53 +02:00
PersonsController.cs Use helper function to compare guid (#10825) 2024-01-17 08:51:39 -07:00
PlaylistsController.cs Playlist fixes (#11487) 2024-05-05 19:22:21 -06:00
PlaystateController.cs Allow explicitly set userId for RequestHelpers.GetSession (#11505) 2024-05-07 09:43:54 -06:00
PluginsController.cs Require elevation for plugin related endpoints 2024-04-26 19:00:53 +02:00
QuickConnectController.cs Remove unused using directives 2023-04-06 19:17:28 +02:00
RemoteImageController.cs Validate item access (#11171) 2024-04-14 08:18:36 -06:00
ScheduledTasksController.cs Move API policies to MediaBrowser.Common 2023-11-12 10:24:35 -05:00
SearchController.cs Validate item access (#11171) 2024-04-14 08:18:36 -06:00
SessionController.cs Limit sessions per user (#11370) 2024-04-21 10:54:49 -06:00
StartupController.cs Move API policies to MediaBrowser.Common 2023-11-12 10:24:35 -05:00
StudiosController.cs Use helper function to compare guid (#10825) 2024-01-17 08:51:39 -07:00
SubtitleController.cs Validate item access (#11171) 2024-04-14 08:18:36 -06:00
SuggestionsController.cs Move userId in API from route to optional query parameter (#11074) 2024-03-03 13:51:31 -07:00
SyncPlayController.cs Move API policies to MediaBrowser.Common 2023-11-12 10:24:35 -05:00
SystemController.cs Return 404 if log file does not exist 2024-02-03 14:25:44 -07:00
TimeSyncController.cs Migrate to file-scoped namespaces 2023-02-02 18:50:33 +01:00
TrailersController.cs Support filter by index number in ItemsController 2024-06-07 22:38:46 +02:00
TrickplayController.cs Validate item access (#11171) 2024-04-14 08:18:36 -06:00
TvShowsController.cs Backport pull request #11806 from jellyfin/release-10.9.z 2024-06-01 18:40:59 -04:00
UniversalAudioController.cs Merge pull request #11492 from jellyfin/better-vbr-settings 2024-07-21 16:15:43 +02:00
UserController.cs Move userId in API from route to optional query parameter (#11074) 2024-03-03 13:51:31 -07:00
UserLibraryController.cs Validate item access (#11171) 2024-04-14 08:18:36 -06:00
UserViewsController.cs More efficient array creation (#11468) 2024-04-30 13:32:59 -06:00
VideoAttachmentsController.cs Validate item access (#11171) 2024-04-14 08:18:36 -06:00
VideosController.cs Move default value to api spec 2024-07-17 21:52:44 +08:00
YearsController.cs Use helper function to compare guid (#10825) 2024-01-17 08:51:39 -07:00