• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting SOLVED: Collections show as empty, "Requested value 'SongCount' was not found."

     
    • 0 Vote(s) - 0 Average

    SOLVED: Collections show as empty, "Requested value 'SongCount' was not found."

    Collections show as empty, getting an error about "SongCount" in the log
    NaturalBornCamper
    Offline

    Junior Member

    Posts: 9
    Threads: 3
    Joined: 2023 Sep
    Reputation: 0
    Country:Canada
    #1
    2024-01-12, 04:52 AM (This post was last modified: 2024-01-12, 11:53 PM by NaturalBornCamper. Edited 1 time in total.)
    Hello all,

    I have a very strange issue, after migrating to a new server on Windows, my server shows none of my custom collections. The screen loads for fraction of a second, then shows nothing. When I checked in the log (debug-level logging), I'm getting a strange error every time I open "Collections":

    Code:
    [2024-01-11 23:33:36.114 -05:00] [DBG] Error converting value.
    System.FormatException: SongCount is not a valid value for ItemFields.
    ---> System.ArgumentException: Requested value 'SongCount' was not found.
      at System.Enum.TryParseByName(RuntimeType enumType, ReadOnlySpan`1 value, Boolean ignoreCase, Boolean throwOnFailure, UInt64& result)
      at System.Enum.TryParseInt32Enum(RuntimeType enumType, ReadOnlySpan`1 value, Int32 minInclusive, Int32 maxInclusive, Boolean ignoreCase, Boolean throwOnFailure, TypeCode type, Int32& result)
      at System.Enum.TryParse(Type enumType, ReadOnlySpan`1 value, Boolean ignoreCase, Boolean throwOnFailure, Object& result)
      at System.Enum.TryParse(Type enumType, String 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)

    What's even weirder is that I can even use the context menu of movies and click "Add to collection" then create a new one, then that collection shows up in library.db and in ProgramData\Jellyfin\Server\data\collections. All my previous collections are also in the database and in the same folder. Checked the paths and everything is ok.

    When adding media to a collection however, none of my collections show up.. including the new one I just created as a test

    So it looks like there is an issue somewhere when trying to list the existing collections. The "SongCount" error doesn't show up in the log when the window "Add to Collection" shows up if I try to add media to a collection (which I thought it would, since it's also trying to load the existing collections.

    I don't know where to look anymore. I searched inside ALL the files and the whole database the word "collections" in case I would find a clue. By the way all the rest of the migration worked well, all movies, tv shows, subtitles, plugins, users, passwords, authorization keys, avatar images, metadata work perfectly, playback is working, etc etc.

    Thanks guys!
    -NBC
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Collections show as empty, "Requested value 'SongCount' was not found." - by NaturalBornCamper - 2024-01-12, 04:52 AM
    RE: Collections show as empty, "Requested value 'SongCount' was not found." - by TheDreadPirate - 2024-01-12, 05:32 AM
    RE: Collections show as empty, "Requested value 'SongCount' was not found." - by NaturalBornCamper - 2024-01-12, 11:49 PM
    RE: Collections show as empty, "Requested value 'SongCount' was not found." - by niels - 2024-01-12, 06:32 AM

    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode