NO collectionType in Users API for ALL Libraries #6423

Closed
opened 2026-02-07 03:37:13 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @fa1rid on GitHub (Nov 4, 2024).

I'm trying to access the API using this:

http://IP:8096/Users/1F85B409957E4B2FB012C66E5D277324/items/

The response for ALL Libraries doesn't have collectionType

Here is a snippet of the response:

{
  "Items": [
    {
      "Name": "Movies",
      "ServerId": "....",
      "Id": "....",
      "ChannelId": null,
      "IsFolder": true,
      "Type": "CollectionFolder",
      "UserData": {
        "PlaybackPositionTicks": 0,
        "PlayCount": 0,
        "IsFavorite": false,
        "Played": false,
        "Key": "....",
        "ItemId": "00000000000000000000000000000000"
      },
      "ImageTags": {
        "Primary": "552dd224b6f2539adc4a6900110daade"
      },
      "BackdropImageTags": [],
      "ImageBlurHashes": {
        "Primary": {
          "552dd224b6f2539adc4a6900110daade": "WF6[U8xvZ$s9Sho}x]ofaJjFbbkW4TM{kDRks:V@DiRjkqX8niV@"
        }
      },
      "LocationType": "FileSystem",
      "MediaType": "Unknown"
    }
  ]
}

All libraries show correct type in the dashboard, e.g.:

Image

Any idea what's going on?
Using v10.10.1 on Windows.

Originally created by @fa1rid on GitHub (Nov 4, 2024). I'm trying to access the API using this: `http://IP:8096/Users/1F85B409957E4B2FB012C66E5D277324/items/` The response for ALL Libraries doesn't have `collectionType` Here is a snippet of the response: ``` { "Items": [ { "Name": "Movies", "ServerId": "....", "Id": "....", "ChannelId": null, "IsFolder": true, "Type": "CollectionFolder", "UserData": { "PlaybackPositionTicks": 0, "PlayCount": 0, "IsFavorite": false, "Played": false, "Key": "....", "ItemId": "00000000000000000000000000000000" }, "ImageTags": { "Primary": "552dd224b6f2539adc4a6900110daade" }, "BackdropImageTags": [], "ImageBlurHashes": { "Primary": { "552dd224b6f2539adc4a6900110daade": "WF6[U8xvZ$s9Sho}x]ofaJjFbbkW4TM{kDRks:V@DiRjkqX8niV@" } }, "LocationType": "FileSystem", "MediaType": "Unknown" } ] } ``` All libraries show correct type in the dashboard, e.g.: ![Image](https://github.com/user-attachments/assets/86cacb65-94b0-4fd9-a09c-475ab5589d2a) Any idea what's going on? Using v10.10.1 on Windows.
Author
Owner

@nielsvanvelzen commented on GitHub (Nov 4, 2024):

A library can't have a media type

@nielsvanvelzen commented on GitHub (Nov 4, 2024): A library can't have a media type
Author
Owner

@fa1rid commented on GitHub (Nov 4, 2024):

Sorry I meant there is no collectionType in the response. I edited the post now. Please check.

Only playlist showing that:

        {
            "Name": "Playlists",
            "ServerId": "....",
            "Id": "....",
            "ChannelId": null,
            "IsFolder": true,
            "Type": "ManualPlaylistsFolder",
            "UserData": {
                "PlaybackPositionTicks": 0,
                "PlayCount": 0,
                "IsFavorite": false,
                "Played": false,
                "Key": "....",
                "ItemId": "00000000000000000000000000000000"
            },
            "CollectionType": "playlists",
            "ImageTags": {},
            "BackdropImageTags": [],
            "ImageBlurHashes": {},
            "LocationType": "FileSystem",
            "MediaType": "Unknown"
        }
@fa1rid commented on GitHub (Nov 4, 2024): Sorry I meant there is no `collectionType` in the response. I edited the post now. Please check. Only playlist showing that: ``` { "Name": "Playlists", "ServerId": "....", "Id": "....", "ChannelId": null, "IsFolder": true, "Type": "ManualPlaylistsFolder", "UserData": { "PlaybackPositionTicks": 0, "PlayCount": 0, "IsFavorite": false, "Played": false, "Key": "....", "ItemId": "00000000000000000000000000000000" }, "CollectionType": "playlists", "ImageTags": {}, "BackdropImageTags": [], "ImageBlurHashes": {}, "LocationType": "FileSystem", "MediaType": "Unknown" } ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#6423