Refactor: standardize namespace and using directive style
Refactored all C# test files to use explicit namespace declarations and moved all using directives inside the namespace block for consistency. Updated assembly info and cache files to reflect the new build. Adjusted MvcTestingAppManifest.json to use fully qualified assembly names. No functional changes; all updates are related to code style, organization, and project metadata.
This commit is contained in:
@@ -5,23 +5,24 @@
|
||||
#nullable disable
|
||||
#pragma warning disable CS1591
|
||||
|
||||
namespace MediaBrowser.Model.Querying
|
||||
{
|
||||
public class AllThemeMediaResult
|
||||
{
|
||||
public AllThemeMediaResult()
|
||||
{
|
||||
ThemeVideosResult = new ThemeMediaResult();
|
||||
namespace MediaBrowser.Model.Querying;
|
||||
public class AllThemeMediaResult
|
||||
{
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="AllThemeMediaResult"/> class.
|
||||
/// </summary>
|
||||
public AllThemeMediaResult()
|
||||
{
|
||||
ThemeVideosResult = new ThemeMediaResult();
|
||||
|
||||
ThemeSongsResult = new ThemeMediaResult();
|
||||
ThemeSongsResult = new ThemeMediaResult();
|
||||
|
||||
SoundtrackSongsResult = new ThemeMediaResult();
|
||||
}
|
||||
SoundtrackSongsResult = new ThemeMediaResult();
|
||||
}
|
||||
|
||||
public ThemeMediaResult ThemeVideosResult { get; set; }
|
||||
public ThemeMediaResult ThemeVideosResult { get; set; }
|
||||
|
||||
public ThemeMediaResult ThemeSongsResult { get; set; }
|
||||
public ThemeMediaResult ThemeSongsResult { get; set; }
|
||||
|
||||
public ThemeMediaResult SoundtrackSongsResult { get; set; }
|
||||
}
|
||||
}
|
||||
public ThemeMediaResult SoundtrackSongsResult { get; set; }
|
||||
}
|
||||
|
||||
@@ -2,256 +2,254 @@
|
||||
// Copyright (c) PlaceholderCompany. All rights reserved.
|
||||
// </copyright>
|
||||
|
||||
namespace MediaBrowser.Model.Querying
|
||||
{
|
||||
/// <summary>
|
||||
/// Used to control the data that gets attached to DtoBaseItems.
|
||||
/// </summary>
|
||||
public enum ItemFields
|
||||
{
|
||||
/// <summary>
|
||||
/// The air time.
|
||||
/// </summary>
|
||||
AirTime,
|
||||
namespace MediaBrowser.Model.Querying;
|
||||
/// <summary>
|
||||
/// Used to control the data that gets attached to DtoBaseItems.
|
||||
/// </summary>
|
||||
public enum ItemFields
|
||||
{
|
||||
/// <summary>
|
||||
/// The air time.
|
||||
/// </summary>
|
||||
AirTime,
|
||||
|
||||
/// <summary>
|
||||
/// The can delete.
|
||||
/// </summary>
|
||||
CanDelete,
|
||||
/// <summary>
|
||||
/// The can delete.
|
||||
/// </summary>
|
||||
CanDelete,
|
||||
|
||||
/// <summary>
|
||||
/// The can download.
|
||||
/// </summary>
|
||||
CanDownload,
|
||||
/// <summary>
|
||||
/// The can download.
|
||||
/// </summary>
|
||||
CanDownload,
|
||||
|
||||
/// <summary>
|
||||
/// The channel information.
|
||||
/// </summary>
|
||||
ChannelInfo,
|
||||
/// <summary>
|
||||
/// The channel information.
|
||||
/// </summary>
|
||||
ChannelInfo,
|
||||
|
||||
/// <summary>
|
||||
/// The chapters.
|
||||
/// </summary>
|
||||
Chapters,
|
||||
/// <summary>
|
||||
/// The chapters.
|
||||
/// </summary>
|
||||
Chapters,
|
||||
|
||||
/// <summary>
|
||||
/// The trickplay manifest.
|
||||
/// </summary>
|
||||
Trickplay,
|
||||
/// <summary>
|
||||
/// The trickplay manifest.
|
||||
/// </summary>
|
||||
Trickplay,
|
||||
|
||||
/// <summary>
|
||||
/// The child count.
|
||||
/// </summary>
|
||||
ChildCount,
|
||||
/// <summary>
|
||||
/// The child count.
|
||||
/// </summary>
|
||||
ChildCount,
|
||||
|
||||
/// <summary>
|
||||
/// The cumulative run time ticks.
|
||||
/// </summary>
|
||||
CumulativeRunTimeTicks,
|
||||
/// <summary>
|
||||
/// The cumulative run time ticks.
|
||||
/// </summary>
|
||||
CumulativeRunTimeTicks,
|
||||
|
||||
/// <summary>
|
||||
/// The custom rating.
|
||||
/// </summary>
|
||||
CustomRating,
|
||||
/// <summary>
|
||||
/// The custom rating.
|
||||
/// </summary>
|
||||
CustomRating,
|
||||
|
||||
/// <summary>
|
||||
/// The date created of the item.
|
||||
/// </summary>
|
||||
DateCreated,
|
||||
/// <summary>
|
||||
/// The date created of the item.
|
||||
/// </summary>
|
||||
DateCreated,
|
||||
|
||||
/// <summary>
|
||||
/// The date last media added.
|
||||
/// </summary>
|
||||
DateLastMediaAdded,
|
||||
/// <summary>
|
||||
/// The date last media added.
|
||||
/// </summary>
|
||||
DateLastMediaAdded,
|
||||
|
||||
/// <summary>
|
||||
/// Item display preferences.
|
||||
/// </summary>
|
||||
DisplayPreferencesId,
|
||||
/// <summary>
|
||||
/// Item display preferences.
|
||||
/// </summary>
|
||||
DisplayPreferencesId,
|
||||
|
||||
/// <summary>
|
||||
/// The etag.
|
||||
/// </summary>
|
||||
Etag,
|
||||
/// <summary>
|
||||
/// The etag.
|
||||
/// </summary>
|
||||
Etag,
|
||||
|
||||
/// <summary>
|
||||
/// The external urls.
|
||||
/// </summary>
|
||||
ExternalUrls,
|
||||
/// <summary>
|
||||
/// The external urls.
|
||||
/// </summary>
|
||||
ExternalUrls,
|
||||
|
||||
/// <summary>
|
||||
/// Genres.
|
||||
/// </summary>
|
||||
Genres,
|
||||
/// <summary>
|
||||
/// Genres.
|
||||
/// </summary>
|
||||
Genres,
|
||||
|
||||
/// <summary>
|
||||
/// The item counts.
|
||||
/// </summary>
|
||||
ItemCounts,
|
||||
/// <summary>
|
||||
/// The item counts.
|
||||
/// </summary>
|
||||
ItemCounts,
|
||||
|
||||
/// <summary>
|
||||
/// The media source count.
|
||||
/// </summary>
|
||||
MediaSourceCount,
|
||||
/// <summary>
|
||||
/// The media source count.
|
||||
/// </summary>
|
||||
MediaSourceCount,
|
||||
|
||||
/// <summary>
|
||||
/// The media versions.
|
||||
/// </summary>
|
||||
MediaSources,
|
||||
/// <summary>
|
||||
/// The media versions.
|
||||
/// </summary>
|
||||
MediaSources,
|
||||
|
||||
/// <summary>
|
||||
/// The original title.
|
||||
/// </summary>
|
||||
OriginalTitle,
|
||||
/// <summary>
|
||||
/// The original title.
|
||||
/// </summary>
|
||||
OriginalTitle,
|
||||
|
||||
/// <summary>
|
||||
/// The item overview.
|
||||
/// </summary>
|
||||
Overview,
|
||||
/// <summary>
|
||||
/// The item overview.
|
||||
/// </summary>
|
||||
Overview,
|
||||
|
||||
/// <summary>
|
||||
/// The id of the item's parent.
|
||||
/// </summary>
|
||||
ParentId,
|
||||
/// <summary>
|
||||
/// The id of the item's parent.
|
||||
/// </summary>
|
||||
ParentId,
|
||||
|
||||
/// <summary>
|
||||
/// The physical path of the item.
|
||||
/// </summary>
|
||||
Path,
|
||||
/// <summary>
|
||||
/// The physical path of the item.
|
||||
/// </summary>
|
||||
Path,
|
||||
|
||||
/// <summary>
|
||||
/// The list of people for the item.
|
||||
/// </summary>
|
||||
People,
|
||||
/// <summary>
|
||||
/// The list of people for the item.
|
||||
/// </summary>
|
||||
People,
|
||||
|
||||
/// <summary>
|
||||
/// Value indicating whether playback access is granted.
|
||||
/// </summary>
|
||||
PlayAccess,
|
||||
/// <summary>
|
||||
/// Value indicating whether playback access is granted.
|
||||
/// </summary>
|
||||
PlayAccess,
|
||||
|
||||
/// <summary>
|
||||
/// The production locations.
|
||||
/// </summary>
|
||||
ProductionLocations,
|
||||
/// <summary>
|
||||
/// The production locations.
|
||||
/// </summary>
|
||||
ProductionLocations,
|
||||
|
||||
/// <summary>
|
||||
/// The ids from IMDb, TMDb, etc.
|
||||
/// </summary>
|
||||
ProviderIds,
|
||||
/// <summary>
|
||||
/// The ids from IMDb, TMDb, etc.
|
||||
/// </summary>
|
||||
ProviderIds,
|
||||
|
||||
/// <summary>
|
||||
/// The aspect ratio of the primary image.
|
||||
/// </summary>
|
||||
PrimaryImageAspectRatio,
|
||||
/// <summary>
|
||||
/// The aspect ratio of the primary image.
|
||||
/// </summary>
|
||||
PrimaryImageAspectRatio,
|
||||
|
||||
/// <summary>
|
||||
/// The recursive item count.
|
||||
/// </summary>
|
||||
RecursiveItemCount,
|
||||
/// <summary>
|
||||
/// The recursive item count.
|
||||
/// </summary>
|
||||
RecursiveItemCount,
|
||||
|
||||
/// <summary>
|
||||
/// The settings.
|
||||
/// </summary>
|
||||
Settings,
|
||||
/// <summary>
|
||||
/// The settings.
|
||||
/// </summary>
|
||||
Settings,
|
||||
|
||||
/// <summary>
|
||||
/// The series studio.
|
||||
/// </summary>
|
||||
SeriesStudio,
|
||||
/// <summary>
|
||||
/// The series studio.
|
||||
/// </summary>
|
||||
SeriesStudio,
|
||||
|
||||
/// <summary>
|
||||
/// The sort name of the item.
|
||||
/// </summary>
|
||||
SortName,
|
||||
/// <summary>
|
||||
/// The sort name of the item.
|
||||
/// </summary>
|
||||
SortName,
|
||||
|
||||
/// <summary>
|
||||
/// The special episode numbers.
|
||||
/// </summary>
|
||||
SpecialEpisodeNumbers,
|
||||
/// <summary>
|
||||
/// The special episode numbers.
|
||||
/// </summary>
|
||||
SpecialEpisodeNumbers,
|
||||
|
||||
/// <summary>
|
||||
/// The studios of the item.
|
||||
/// </summary>
|
||||
Studios,
|
||||
/// <summary>
|
||||
/// The studios of the item.
|
||||
/// </summary>
|
||||
Studios,
|
||||
|
||||
/// <summary>
|
||||
/// The taglines of the item.
|
||||
/// </summary>
|
||||
Taglines,
|
||||
/// <summary>
|
||||
/// The taglines of the item.
|
||||
/// </summary>
|
||||
Taglines,
|
||||
|
||||
/// <summary>
|
||||
/// The tags.
|
||||
/// </summary>
|
||||
Tags,
|
||||
/// <summary>
|
||||
/// The tags.
|
||||
/// </summary>
|
||||
Tags,
|
||||
|
||||
/// <summary>
|
||||
/// The trailer url of the item.
|
||||
/// </summary>
|
||||
RemoteTrailers,
|
||||
/// <summary>
|
||||
/// The trailer url of the item.
|
||||
/// </summary>
|
||||
RemoteTrailers,
|
||||
|
||||
/// <summary>
|
||||
/// The media streams.
|
||||
/// </summary>
|
||||
MediaStreams,
|
||||
/// <summary>
|
||||
/// The media streams.
|
||||
/// </summary>
|
||||
MediaStreams,
|
||||
|
||||
/// <summary>
|
||||
/// The season user data.
|
||||
/// </summary>
|
||||
SeasonUserData,
|
||||
/// <summary>
|
||||
/// The season user data.
|
||||
/// </summary>
|
||||
SeasonUserData,
|
||||
|
||||
/// <summary>
|
||||
/// The last time metadata was refreshed.
|
||||
/// </summary>
|
||||
DateLastRefreshed,
|
||||
/// <summary>
|
||||
/// The last time metadata was refreshed.
|
||||
/// </summary>
|
||||
DateLastRefreshed,
|
||||
|
||||
/// <summary>
|
||||
/// The last time metadata was saved.
|
||||
/// </summary>
|
||||
DateLastSaved,
|
||||
/// <summary>
|
||||
/// The last time metadata was saved.
|
||||
/// </summary>
|
||||
DateLastSaved,
|
||||
|
||||
/// <summary>
|
||||
/// The refresh state.
|
||||
/// </summary>
|
||||
RefreshState,
|
||||
/// <summary>
|
||||
/// The refresh state.
|
||||
/// </summary>
|
||||
RefreshState,
|
||||
|
||||
/// <summary>
|
||||
/// The channel image.
|
||||
/// </summary>
|
||||
ChannelImage,
|
||||
/// <summary>
|
||||
/// The channel image.
|
||||
/// </summary>
|
||||
ChannelImage,
|
||||
|
||||
/// <summary>
|
||||
/// Value indicating whether media source display is enabled.
|
||||
/// </summary>
|
||||
EnableMediaSourceDisplay,
|
||||
/// <summary>
|
||||
/// Value indicating whether media source display is enabled.
|
||||
/// </summary>
|
||||
EnableMediaSourceDisplay,
|
||||
|
||||
/// <summary>
|
||||
/// The width.
|
||||
/// </summary>
|
||||
Width,
|
||||
/// <summary>
|
||||
/// The width.
|
||||
/// </summary>
|
||||
Width,
|
||||
|
||||
/// <summary>
|
||||
/// The height.
|
||||
/// </summary>
|
||||
Height,
|
||||
/// <summary>
|
||||
/// The height.
|
||||
/// </summary>
|
||||
Height,
|
||||
|
||||
/// <summary>
|
||||
/// The external Ids.
|
||||
/// </summary>
|
||||
ExtraIds,
|
||||
/// <summary>
|
||||
/// The external Ids.
|
||||
/// </summary>
|
||||
ExtraIds,
|
||||
|
||||
/// <summary>
|
||||
/// The local trailer count.
|
||||
/// </summary>
|
||||
LocalTrailerCount,
|
||||
/// <summary>
|
||||
/// The local trailer count.
|
||||
/// </summary>
|
||||
LocalTrailerCount,
|
||||
|
||||
/// <summary>
|
||||
/// Value indicating whether the item is HD.
|
||||
/// </summary>
|
||||
IsHD,
|
||||
/// <summary>
|
||||
/// Value indicating whether the item is HD.
|
||||
/// </summary>
|
||||
IsHD,
|
||||
|
||||
/// <summary>
|
||||
/// The special feature count.
|
||||
/// </summary>
|
||||
SpecialFeatureCount
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// The special feature count.
|
||||
/// </summary>
|
||||
SpecialFeatureCount
|
||||
}
|
||||
|
||||
@@ -2,56 +2,54 @@
|
||||
// Copyright (c) PlaceholderCompany. All rights reserved.
|
||||
// </copyright>
|
||||
|
||||
namespace MediaBrowser.Model.Querying
|
||||
{
|
||||
/// <summary>
|
||||
/// Enum ItemFilter.
|
||||
/// </summary>
|
||||
public enum ItemFilter
|
||||
{
|
||||
/// <summary>
|
||||
/// The item is a folder.
|
||||
/// </summary>
|
||||
IsFolder = 1,
|
||||
namespace MediaBrowser.Model.Querying;
|
||||
/// <summary>
|
||||
/// Enum ItemFilter.
|
||||
/// </summary>
|
||||
public enum ItemFilter
|
||||
{
|
||||
/// <summary>
|
||||
/// The item is a folder.
|
||||
/// </summary>
|
||||
IsFolder = 1,
|
||||
|
||||
/// <summary>
|
||||
/// The item is not folder.
|
||||
/// </summary>
|
||||
IsNotFolder = 2,
|
||||
/// <summary>
|
||||
/// The item is not folder.
|
||||
/// </summary>
|
||||
IsNotFolder = 2,
|
||||
|
||||
/// <summary>
|
||||
/// The item is unplayed.
|
||||
/// </summary>
|
||||
IsUnplayed = 3,
|
||||
/// <summary>
|
||||
/// The item is unplayed.
|
||||
/// </summary>
|
||||
IsUnplayed = 3,
|
||||
|
||||
/// <summary>
|
||||
/// The item is played.
|
||||
/// </summary>
|
||||
IsPlayed = 4,
|
||||
/// <summary>
|
||||
/// The item is played.
|
||||
/// </summary>
|
||||
IsPlayed = 4,
|
||||
|
||||
/// <summary>
|
||||
/// The item is a favorite.
|
||||
/// </summary>
|
||||
IsFavorite = 5,
|
||||
/// <summary>
|
||||
/// The item is a favorite.
|
||||
/// </summary>
|
||||
IsFavorite = 5,
|
||||
|
||||
/// <summary>
|
||||
/// The item is resumable.
|
||||
/// </summary>
|
||||
IsResumable = 7,
|
||||
/// <summary>
|
||||
/// The item is resumable.
|
||||
/// </summary>
|
||||
IsResumable = 7,
|
||||
|
||||
/// <summary>
|
||||
/// The likes.
|
||||
/// </summary>
|
||||
Likes = 8,
|
||||
/// <summary>
|
||||
/// The likes.
|
||||
/// </summary>
|
||||
Likes = 8,
|
||||
|
||||
/// <summary>
|
||||
/// The dislikes.
|
||||
/// </summary>
|
||||
Dislikes = 9,
|
||||
/// <summary>
|
||||
/// The dislikes.
|
||||
/// </summary>
|
||||
Dislikes = 9,
|
||||
|
||||
/// <summary>
|
||||
/// The is favorite or likes.
|
||||
/// </summary>
|
||||
IsFavoriteOrLikes = 10
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// The is favorite or likes.
|
||||
/// </summary>
|
||||
IsFavoriteOrLikes = 10,
|
||||
}
|
||||
|
||||
@@ -5,85 +5,86 @@
|
||||
#nullable disable
|
||||
#pragma warning disable CS1591
|
||||
|
||||
using System;
|
||||
using global::System;
|
||||
using Jellyfin.Data.Enums;
|
||||
using Jellyfin.Database.Implementations.Entities;
|
||||
using MediaBrowser.Model.Entities;
|
||||
|
||||
namespace MediaBrowser.Model.Querying
|
||||
{
|
||||
public class LatestItemsQuery
|
||||
{
|
||||
public LatestItemsQuery()
|
||||
{
|
||||
EnableImageTypes = Array.Empty<ImageType>();
|
||||
}
|
||||
namespace MediaBrowser.Model.Querying;
|
||||
public class LatestItemsQuery
|
||||
{
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="LatestItemsQuery"/> class.
|
||||
/// </summary>
|
||||
public LatestItemsQuery()
|
||||
{
|
||||
EnableImageTypes = Array.Empty<ImageType>();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the user to localize search results for.
|
||||
/// </summary>
|
||||
/// <value>The user id.</value>
|
||||
public User User { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the user to localize search results for.
|
||||
/// </summary>
|
||||
/// <value>The user id.</value>
|
||||
public User User { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the parent id.
|
||||
/// Specify this to localize the search to a specific item or folder. Omit to use the root.
|
||||
/// </summary>
|
||||
/// <value>The parent id.</value>
|
||||
public Guid ParentId { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the parent id.
|
||||
/// Specify this to localize the search to a specific item or folder. Omit to use the root.
|
||||
/// </summary>
|
||||
/// <value>The parent id.</value>
|
||||
public Guid ParentId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the start index. Used for paging.
|
||||
/// </summary>
|
||||
/// <value>The start index.</value>
|
||||
public int? StartIndex { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the start index. Used for paging.
|
||||
/// </summary>
|
||||
/// <value>The start index.</value>
|
||||
public int? StartIndex { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the maximum number of items to return.
|
||||
/// </summary>
|
||||
/// <value>The limit.</value>
|
||||
public int? Limit { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the maximum number of items to return.
|
||||
/// </summary>
|
||||
/// <value>The limit.</value>
|
||||
public int? Limit { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the fields to return within the items, in addition to basic information.
|
||||
/// </summary>
|
||||
/// <value>The fields.</value>
|
||||
public ItemFields[] Fields { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the fields to return within the items, in addition to basic information.
|
||||
/// </summary>
|
||||
/// <value>The fields.</value>
|
||||
public ItemFields[] Fields { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the include item types.
|
||||
/// </summary>
|
||||
/// <value>The include item types.</value>
|
||||
public BaseItemKind[] IncludeItemTypes { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the include item types.
|
||||
/// </summary>
|
||||
/// <value>The include item types.</value>
|
||||
public BaseItemKind[] IncludeItemTypes { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether this instance is played.
|
||||
/// </summary>
|
||||
/// <value><c>null</c> if [is played] contains no value, <c>true</c> if [is played]; otherwise, <c>false</c>.</value>
|
||||
public bool? IsPlayed { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether this instance is played.
|
||||
/// </summary>
|
||||
/// <value><c>null</c> if [is played] contains no value, <c>true</c> if [is played]; otherwise, <c>false</c>.</value>
|
||||
public bool? IsPlayed { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether [group items].
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if [group items]; otherwise, <c>false</c>.</value>
|
||||
public bool GroupItems { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether [group items].
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if [group items]; otherwise, <c>false</c>.</value>
|
||||
public bool GroupItems { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether [enable images].
|
||||
/// </summary>
|
||||
/// <value><c>null</c> if [enable images] contains no value, <c>true</c> if [enable images]; otherwise, <c>false</c>.</value>
|
||||
public bool? EnableImages { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether [enable images].
|
||||
/// </summary>
|
||||
/// <value><c>null</c> if [enable images] contains no value, <c>true</c> if [enable images]; otherwise, <c>false</c>.</value>
|
||||
public bool? EnableImages { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the image type limit.
|
||||
/// </summary>
|
||||
/// <value>The image type limit.</value>
|
||||
public int? ImageTypeLimit { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the image type limit.
|
||||
/// </summary>
|
||||
/// <value>The image type limit.</value>
|
||||
public int? ImageTypeLimit { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the enable image types.
|
||||
/// </summary>
|
||||
/// <value>The enable image types.</value>
|
||||
public ImageType[] EnableImageTypes { get; set; }
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// Gets or sets the enable image types.
|
||||
/// </summary>
|
||||
/// <value>The enable image types.</value>
|
||||
public ImageType[] EnableImageTypes { get; set; }
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#pragma warning disable CS1591
|
||||
|
||||
using System;
|
||||
using global::System;
|
||||
using Jellyfin.Database.Implementations.Entities;
|
||||
using MediaBrowser.Model.Entities;
|
||||
|
||||
@@ -12,6 +12,9 @@ namespace MediaBrowser.Model.Querying;
|
||||
|
||||
public class NextUpQuery
|
||||
{
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="NextUpQuery"/> class.
|
||||
/// </summary>
|
||||
public NextUpQuery()
|
||||
{
|
||||
EnableImageTypes = Array.Empty<ImageType>();
|
||||
|
||||
@@ -5,21 +5,22 @@
|
||||
#nullable disable
|
||||
#pragma warning disable CS1591
|
||||
|
||||
using System;
|
||||
using global::System;
|
||||
using MediaBrowser.Model.Dto;
|
||||
|
||||
namespace MediaBrowser.Model.Querying
|
||||
{
|
||||
public class QueryFilters
|
||||
{
|
||||
public QueryFilters()
|
||||
{
|
||||
Tags = Array.Empty<string>();
|
||||
Genres = Array.Empty<NameGuidPair>();
|
||||
}
|
||||
namespace MediaBrowser.Model.Querying;
|
||||
public class QueryFilters
|
||||
{
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="QueryFilters"/> class.
|
||||
/// </summary>
|
||||
public QueryFilters()
|
||||
{
|
||||
Tags = Array.Empty<string>();
|
||||
Genres = Array.Empty<NameGuidPair>();
|
||||
}
|
||||
|
||||
public NameGuidPair[] Genres { get; set; }
|
||||
public NameGuidPair[] Genres { get; set; }
|
||||
|
||||
public string[] Tags { get; set; }
|
||||
}
|
||||
}
|
||||
public string[] Tags { get; set; }
|
||||
}
|
||||
|
||||
@@ -5,26 +5,27 @@
|
||||
#nullable disable
|
||||
#pragma warning disable CS1591
|
||||
|
||||
using System;
|
||||
using global::System;
|
||||
|
||||
namespace MediaBrowser.Model.Querying
|
||||
{
|
||||
public class QueryFiltersLegacy
|
||||
{
|
||||
public QueryFiltersLegacy()
|
||||
{
|
||||
Genres = Array.Empty<string>();
|
||||
Tags = Array.Empty<string>();
|
||||
OfficialRatings = Array.Empty<string>();
|
||||
Years = Array.Empty<int>();
|
||||
}
|
||||
namespace MediaBrowser.Model.Querying;
|
||||
public class QueryFiltersLegacy
|
||||
{
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="QueryFiltersLegacy"/> class.
|
||||
/// </summary>
|
||||
public QueryFiltersLegacy()
|
||||
{
|
||||
Genres = Array.Empty<string>();
|
||||
Tags = Array.Empty<string>();
|
||||
OfficialRatings = Array.Empty<string>();
|
||||
Years = Array.Empty<int>();
|
||||
}
|
||||
|
||||
public string[] Genres { get; set; }
|
||||
public string[] Genres { get; set; }
|
||||
|
||||
public string[] Tags { get; set; }
|
||||
public string[] Tags { get; set; }
|
||||
|
||||
public string[] OfficialRatings { get; set; }
|
||||
public string[] OfficialRatings { get; set; }
|
||||
|
||||
public int[] Years { get; set; }
|
||||
}
|
||||
}
|
||||
public int[] Years { get; set; }
|
||||
}
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
// Copyright (c) PlaceholderCompany. All rights reserved.
|
||||
// </copyright>
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace MediaBrowser.Model.Querying;
|
||||
|
||||
using global::System;
|
||||
using global::System.Collections.Generic;
|
||||
|
||||
/// <summary>
|
||||
/// Query result container.
|
||||
/// </summary>
|
||||
|
||||
@@ -2,20 +2,18 @@
|
||||
// Copyright (c) PlaceholderCompany. All rights reserved.
|
||||
// </copyright>
|
||||
|
||||
using System;
|
||||
using MediaBrowser.Model.Dto;
|
||||
namespace MediaBrowser.Model.Querying;
|
||||
using global::System;
|
||||
using MediaBrowser.Model.Dto;
|
||||
|
||||
namespace MediaBrowser.Model.Querying
|
||||
{
|
||||
/// <summary>
|
||||
/// Class ThemeMediaResult.
|
||||
/// </summary>
|
||||
public class ThemeMediaResult : QueryResult<BaseItemDto>
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the owner id.
|
||||
/// </summary>
|
||||
/// <value>The owner id.</value>
|
||||
public Guid OwnerId { get; set; }
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// Class ThemeMediaResult.
|
||||
/// </summary>
|
||||
public class ThemeMediaResult : QueryResult<BaseItemDto>
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the owner id.
|
||||
/// </summary>
|
||||
/// <value>The owner id.</value>
|
||||
public Guid OwnerId { get; set; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user