1
0
Fork 0
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:
Bond_009 2024-04-23 11:19:56 +02:00
parent 811fef991a
commit c414f22e6f
3 changed files with 4 additions and 5 deletions

View file

@ -343,7 +343,7 @@ function getQuery(options, item) {
SortOrder: 'Ascending',
IncludeItemTypes: '',
Recursive: true,
Fields: 'AudioInfo,ParentId,PrimaryImageAspectRatio',
Fields: 'ParentId,PrimaryImageAspectRatio',
Limit: 100,
StartIndex: 0,
CollapseBoxSetItems: false