[PR #4535] [CLOSED] Added SeriesInfo to ItemFields enum #10144

Closed
opened 2026-02-07 06:14:51 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/4535
Author: @BaronGreenback
Created: 11/21/2020
Status: Closed

Base: masterHead: NewItemField


📝 Commits (1)

📊 Changes

1 file changed (+2 additions, -1 deletions)

View changed files

📝 MediaBrowser.Model/Querying/ItemFields.cs (+2 -1)

📄 Description

Blocked as obsolete. Will submit pr post 10.7RC to remove from web. Details in this PR - which is why it's not closed.

Added SeriesInfo to the itemField.cs enum.

Don't know what this does, if anything, apart from getting rid of the exception!

Was causing the following.

[2020-11-21 15:46:13.634 +00:00] [WRN] [18] Jellyfin.Api.ModelBinders.CommaDelimitedArrayModelBinder: Error converting value.
System.FormatException: SeriesInfo is not a valid value for ItemFields.
 ---> System.ArgumentException: Requested value 'SeriesInfo' was not found.
   at System.Enum.TryParseByName(RuntimeType enumType, String originalValueString, ReadOnlySpan`1 value, Boolean ignoreCase, Boolean throwOnFailure, UInt64& result)
   at System.Enum.TryParseInt32Enum(RuntimeType enumType, String originalValueString, ReadOnlySpan`1 value, Int32 minInclusive, Int32 maxInclusive, Boolean ignoreCase, Boolean throwOnFailure, TypeCode type, Int32& result)
   at System.Enum.TryParse(Type enumType, String value, Boolean ignoreCase, Boolean throwOnFailure, Object& result)
   at System.Enum.Parse(Type enumType, String value, Boolean ignoreCase)
   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 System.ComponentModel.TypeConverter.ConvertFromString(String text)
   at Jellyfin.Api.ModelBinders.CommaDelimitedArrayModelBinder.GetParsedResult(IReadOnlyList`1 values, Type elementType, TypeConverter converter) in C:\Code\jellyfin\Jellyfin.Api\ModelBinders\CommaDelimitedArrayModelBinder.cs:line 67

and exists in 4 places in the web.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/jellyfin/jellyfin/pull/4535 **Author:** [@BaronGreenback](https://github.com/BaronGreenback) **Created:** 11/21/2020 **Status:** ❌ Closed **Base:** `master` ← **Head:** `NewItemField` --- ### 📝 Commits (1) - [`bcccfbd`](https://github.com/jellyfin/jellyfin/commit/bcccfbdd690a80d11895df178878e67fc46acb20) Update ItemFields.cs ### 📊 Changes **1 file changed** (+2 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `MediaBrowser.Model/Querying/ItemFields.cs` (+2 -1) </details> ### 📄 Description **Blocked as obsolete. Will submit pr post 10.7RC to remove from web. Details in this PR - which is why it's not closed.** Added SeriesInfo to the itemField.cs enum. Don't know what this does, if anything, apart from getting rid of the exception! Was causing the following. ``` [2020-11-21 15:46:13.634 +00:00] [WRN] [18] Jellyfin.Api.ModelBinders.CommaDelimitedArrayModelBinder: Error converting value. System.FormatException: SeriesInfo is not a valid value for ItemFields. ---> System.ArgumentException: Requested value 'SeriesInfo' was not found. at System.Enum.TryParseByName(RuntimeType enumType, String originalValueString, ReadOnlySpan`1 value, Boolean ignoreCase, Boolean throwOnFailure, UInt64& result) at System.Enum.TryParseInt32Enum(RuntimeType enumType, String originalValueString, ReadOnlySpan`1 value, Int32 minInclusive, Int32 maxInclusive, Boolean ignoreCase, Boolean throwOnFailure, TypeCode type, Int32& result) at System.Enum.TryParse(Type enumType, String value, Boolean ignoreCase, Boolean throwOnFailure, Object& result) at System.Enum.Parse(Type enumType, String value, Boolean ignoreCase) 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 System.ComponentModel.TypeConverter.ConvertFromString(String text) at Jellyfin.Api.ModelBinders.CommaDelimitedArrayModelBinder.GetParsedResult(IReadOnlyList`1 values, Type elementType, TypeConverter converter) in C:\Code\jellyfin\Jellyfin.Api\ModelBinders\CommaDelimitedArrayModelBinder.cs:line 67 ``` and exists in 4 places in the web. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-07 06:14:51 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#10144