mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Remove nonexistent ItemField AudioInfo
Fixes ``` System.FormatException: AudioInfo is not a valid value for ItemFields. ---> System.ArgumentException: Requested value 'AudioInfo' was not found. at System.Enum.TryParseByName[TStorage](RuntimeType enumType, ReadOnlySpan`1 value, Boolean ignoreCase, Boolean throwOnFailure, TStorage& result) at System.Enum.TryParseByValueOrName[TUnderlying,TStorage](RuntimeType enumType, ReadOnlySpan`1 value, Boolean ignoreCase, Boolean throwOnFailure, TUnderlying& result) at System.Enum.TryParse(Type enumType, ReadOnlySpan`1 value, Boolean ignoreCase, Boolean throwOnFailure, Object& result) at System.ComponentModel.EnumConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value) --- End of inner exception stack trace --- at System.ComponentModel.EnumConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value) at Jellyfin.Api.ModelBinders.CommaDelimitedArrayModelBinder.GetParsedResult(IReadOnlyList`1 values, Type elementType, TypeConverter converter) in /home/bond/dev/jellyfin/Jellyfin.Api/ModelBinders/CommaDelimitedArrayModelBinder.cs:line 67 ```
This commit is contained in:
parent
811fef991a
commit
c414f22e6f
3 changed files with 4 additions and 5 deletions
|
@ -86,7 +86,7 @@ function loadRecentlyPlayed(page, parentId) {
|
||||||
IncludeItemTypes: 'Audio',
|
IncludeItemTypes: 'Audio',
|
||||||
Limit: itemsPerRow(),
|
Limit: itemsPerRow(),
|
||||||
Recursive: true,
|
Recursive: true,
|
||||||
Fields: 'PrimaryImageAspectRatio,AudioInfo',
|
Fields: 'PrimaryImageAspectRatio',
|
||||||
Filters: 'IsPlayed',
|
Filters: 'IsPlayed',
|
||||||
ParentId: parentId,
|
ParentId: parentId,
|
||||||
ImageTypeLimit: 1,
|
ImageTypeLimit: 1,
|
||||||
|
@ -128,7 +128,7 @@ function loadFrequentlyPlayed(page, parentId) {
|
||||||
IncludeItemTypes: 'Audio',
|
IncludeItemTypes: 'Audio',
|
||||||
Limit: itemsPerRow(),
|
Limit: itemsPerRow(),
|
||||||
Recursive: true,
|
Recursive: true,
|
||||||
Fields: 'PrimaryImageAspectRatio,AudioInfo',
|
Fields: 'PrimaryImageAspectRatio',
|
||||||
Filters: 'IsPlayed',
|
Filters: 'IsPlayed',
|
||||||
ParentId: parentId,
|
ParentId: parentId,
|
||||||
ImageTypeLimit: 1,
|
ImageTypeLimit: 1,
|
||||||
|
@ -399,4 +399,3 @@ export default function (view, params) {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@ export default function (view, params, tabContent) {
|
||||||
SortOrder: 'Ascending',
|
SortOrder: 'Ascending',
|
||||||
IncludeItemTypes: 'Audio',
|
IncludeItemTypes: 'Audio',
|
||||||
Recursive: true,
|
Recursive: true,
|
||||||
Fields: 'AudioInfo,ParentId',
|
Fields: 'ParentId',
|
||||||
StartIndex: 0,
|
StartIndex: 0,
|
||||||
ImageTypeLimit: 1,
|
ImageTypeLimit: 1,
|
||||||
EnableImageTypes: 'Primary'
|
EnableImageTypes: 'Primary'
|
||||||
|
|
|
@ -343,7 +343,7 @@ function getQuery(options, item) {
|
||||||
SortOrder: 'Ascending',
|
SortOrder: 'Ascending',
|
||||||
IncludeItemTypes: '',
|
IncludeItemTypes: '',
|
||||||
Recursive: true,
|
Recursive: true,
|
||||||
Fields: 'AudioInfo,ParentId,PrimaryImageAspectRatio',
|
Fields: 'ParentId,PrimaryImageAspectRatio',
|
||||||
Limit: 100,
|
Limit: 100,
|
||||||
StartIndex: 0,
|
StartIndex: 0,
|
||||||
CollapseBoxSetItems: false
|
CollapseBoxSetItems: false
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue