Jellyfin Forum
Cannot add item to custom collection - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: General Questions (https://forum.jellyfin.org/f-general-questions)
+--- Thread: Cannot add item to custom collection (/t-cannot-add-item-to-custom-collection)

Pages: 1 2


Cannot add item to custom collection - fritzmg - 2024-12-30

I wanted to add to videos to a custom collection. So for the first item I chose "Add to collection" in the item's context menu in the web interface, there I left the default "New..." and entered the name of the collection.

After having created that I went into "Add to collection" for the second video - however in the drop down I cannot choose the previously created collection. I also made sure to clear the browser cache and refresh the page, but still I am unable to select the created collection (or any collection for that matter).

Is there something else I have to do in order to be able to add several items to a collection manually?

Jellyfin Server version is 10.10.3


RE: Cannot add item to custom collection - TheDreadPirate - 2024-12-30

Can you open a browser console and look for any messages when you try to add the second item to an existing collection?


RE: Cannot add item to custom collection - fritzmg - 2024-12-30

There are at least no errors.

   

From the Logs, Info and Debug output I didn't see anything relevant, at least at first glance.


RE: Cannot add item to custom collection - TheDreadPirate - 2024-12-31

Have you restarted your Jellyfin server recently? Some users with strange issues were able to resolve the issue by simply restarting Jellyfin.


RE: Cannot add item to custom collection - TheDreadPirate - 2025-01-01

What OS? If Linux, which distro? Are you using docker? If so, which image? The official or linuxserver image?


RE: Cannot add item to custom collection - fritzmg - 2025-01-03

(2024-12-31, 07:03 PM)TheDreadPirate Wrote: Have you restarted your Jellyfin server recently?  Some users with strange issues were able to resolve the issue by simply restarting Jellyfin.

I have just restarted the container, but the behavior has not changed.


(2025-01-01, 07:05 PM)TheDreadPirate Wrote: What OS?  If Linux, which distro?  Are you using docker?  If so, which image?  The official or linuxserver image?

The Jellyfin server runs as a docker Container on a Synology DS220+. It is the official jellyfin/jellyfin image (the latest, i.e. 10.10.3 at the moment).


RE: Cannot add item to custom collection - fritzmg - 2025-01-03

Here is the Docker Compose YAML for the Docker container, in case it matters:

Code:
services:
  jellyfin:
    image: jellyfin/jellyfin
    container_name: jellyfin
    restart: unless-stopped
    user: 1026:100
    group_add:
      - '101'
      - '937'
    network_mode: 'host'
    volumes:
      - /volume1/docker/jellyfin/config:/config
      - /volume1/docker/jellyfin/cache:/cache
      - /volume1/movies:/media/movies
      - /volume1/shows:/media/shows
    devices:
      - /dev/dri/renderD128:/dev/dri/renderD128
    environment:
      - JELLYFIN_PublishedServerUrl=https://jellyfin.example.com

So should be pretty straight forward - expect the user and group ID and devices for hardware transcoding using Intel QuickSync.


RE: Cannot add item to custom collection - TheDreadPirate - 2025-01-03

Let's try recreating the container.

Code:
docker compose down jellyfin
docker system prune -a
docker compose up -d jellyfin



RE: Cannot add item to custom collection - fritzmg - 2025-01-04

I have now executed what I think are the equivalent actions in Synology's Container Manager, i.e. Stop, Clean, Build, Start.

But still the only option that is available in the <select> when I choose "Add to collection" is "New…".

The GET request for the "Add to collection" popup, i.e. https://jellyfin.example.com/Users/…/Items?Recursive=true&IncludeItemTypes=BoxSet&SortBy=SortName&EnableTotalRecordCount=false returns the following JSON:

Code:
{"Items":[],"TotalRecordCount":0,"StartIndex":0}

However, in /config/data/collections I can see that there are several [boxset] collections (one of which is the manually created one).


RE: Cannot add item to custom collection - fritzmg - 2025-01-04

I created a local development setup for the Jellyfin Server (and Web component) and copied the data from my actual Jellyfin server, in the hope of being able to reproduce the issue locally and may be debug what's going on. Unfortunately, locally everything works as expected. When choosing "Add to collection", all the collections are listed in the <select> 🤔