JF OOTB Collections get duplicated if TMDB Box Sets option is clicked #5803

Closed
opened 2026-02-07 02:23:42 +03:00 by OVERLORD · 6 comments
Owner

Originally created by @spcano01 on GitHub (May 18, 2024).

Please describe your bug

OOTB works perfectly if you choose to add movies into collection under manage library. This requires TMDB plugin (I believe).

Recently, I went to that plugin settings and saw it offered a box to "Strip Keyword from title". Effectively making "300 Collection" into "300". Love it! But...it added (mostly) all new collections and duplicated the assigned movies, on some it just duplicated all movies under a single collection. I thought I had messed up, so I deleted that library and rescanned all libraries.

Still same issue. For now, I unchecked that box and will wait to see if we can incorporate that option more cleanly.

Thanks all!

Reproduction Steps

  1. Check option under libraries to add movies to collections.
  2. Go to TMDB Box Sets plugin and check "Strip Keyword from title".
  3. Rescan libraries
  4. Also happens if you start from scratch ad have it build collections automatically with checkbox chosen.

Jellyfin Version

10.9.0

if other:

No response

Environment

- OS: Linux docker
- Linux Kernel: 
- Virtualization:
- Clients:
- Browser:
- FFmpeg Version:
- Playback Method:
- Hardware Acceleration:
- GPU Model:
- Plugins:
- Reverse Proxy:
- Base URL:
- Networking:
- Storage:

Jellyfin logs

Will edit with logs when I return.

FFmpeg logs

No response

Please attach any browser or client logs here

No response

Please attach any screenshots here

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
Originally created by @spcano01 on GitHub (May 18, 2024). ### Please describe your bug OOTB works perfectly if you choose to add movies into collection under manage library. This requires TMDB plugin (I believe). Recently, I went to that plugin settings and saw it offered a box to "Strip Keyword from title". Effectively making "300 Collection" into "300". Love it! But...it added (mostly) all new collections and duplicated the assigned movies, on some it just duplicated all movies under a single collection. I thought I had messed up, so I deleted that library and rescanned all libraries. Still same issue. For now, I unchecked that box and will wait to see if we can incorporate that option more cleanly. Thanks all! ### Reproduction Steps 1. Check option under libraries to add movies to collections. 2. Go to TMDB Box Sets plugin and check "Strip Keyword from title". 3. Rescan libraries 4. Also happens if you start from scratch ad have it build collections automatically with checkbox chosen. ### Jellyfin Version 10.9.0 ### if other: _No response_ ### Environment ```markdown - OS: Linux docker - Linux Kernel: - Virtualization: - Clients: - Browser: - FFmpeg Version: - Playback Method: - Hardware Acceleration: - GPU Model: - Plugins: - Reverse Proxy: - Base URL: - Networking: - Storage: ``` ### Jellyfin logs ```shell Will edit with logs when I return. ``` ### FFmpeg logs _No response_ ### Please attach any browser or client logs here _No response_ ### Please attach any screenshots here _No response_ ### Code of Conduct - [X] I agree to follow this project's Code of Conduct
OVERLORD added the bugstale labels 2026-02-07 02:23:42 +03:00
Author
Owner

@jellyfin-bot commented on GitHub (May 18, 2024):

Hi, it seems like your issue report has the following item(s) that need to be addressed:

  • You have not filled in the environment completely.

This is an automated message, currently under testing. Please file an issue here if you encounter any problems.

@jellyfin-bot commented on GitHub (May 18, 2024): Hi, it seems like your issue report has the following item(s) that need to be addressed: - You have not filled in the environment completely. This is an automated message, currently under testing. Please file an issue [here](https://github.com/jellyfin/jellyfin-triage-scripts/issues) if you encounter any problems.
Author
Owner

@Mihara commented on GitHub (Jun 2, 2024):

Notably, this did not happen to me before 10.9.4, but suddenly started happening upon upgrade. Same basic setup: a movies library, "strip keyword from title" checkbox checked.

I'm not entirely clear when this happens yet, (lots of things going on) but a ghost collection gets created, which contains the same movies as the collection with the keyword stripped, is named with the keyword intact, and has no images. If I empty it and destroy the collection, it gets recreated at some later point.

And a followup observation:

If I completely disable the "TMDB Box Sets" plugin - the one that creates the keywordless sets -- "X Collection" sets keep popping up.

...One more followup observation: There's a checkbox in "Manage Library" which says "Automatically add to collection / When at least 2 movies have the same collection name, they will be automatically added to the collection." which I suspect is responsible for creating the keyworded collections with no images.

I've checked it off, and will get back to say if this helps or not, but it might well be duplicated functionality which probably shouldn't be in the core at all.

@Mihara commented on GitHub (Jun 2, 2024): Notably, this did not happen to me before 10.9.4, but suddenly started happening upon upgrade. Same basic setup: a movies library, "strip keyword from title" checkbox checked. I'm not entirely clear *when* this happens yet, (lots of things going on) but a ghost collection gets created, which contains the same movies as the collection with the keyword stripped, is named with the keyword intact, and has no images. If I empty it and destroy the collection, it gets recreated at some later point. And a followup observation: If I completely disable the "TMDB Box Sets" plugin - the one that creates the keywordless sets -- "X Collection" sets keep popping up. ...One more followup observation: There's a checkbox in "Manage Library" which says "Automatically add to collection / When at least 2 movies have the same collection name, they will be automatically added to the collection." which I suspect is responsible for creating the keyworded collections with no images. I've checked it off, and will get back to say if this helps or not, but it might well be duplicated functionality which probably shouldn't be in the core at all.
Author
Owner

@Mihara commented on GitHub (Jun 3, 2024):

Yes, ticking the "Automatically add to collection" option off in "Manage Library" seems to have resolved the problem, the duplicate "X Collection" sets stopped popping up.

We definitely have a feature conflict here.

@Mihara commented on GitHub (Jun 3, 2024): Yes, ticking the "Automatically add to collection" option off in "Manage Library" seems to have resolved the problem, the duplicate "X Collection" sets stopped popping up. We definitely have a feature conflict here.
Author
Owner

@spcano01 commented on GitHub (Jun 5, 2024):

Also, when duplicate sets are not created - the single set still has duplicate videos. So if you have 2 movies with both HD & 4K in a single collection - you will show 4 movies in that collection. 2 being the exact same, but usually different box art.

@spcano01 commented on GitHub (Jun 5, 2024): Also, when duplicate sets are not created - the single set still has duplicate videos. So if you have 2 movies with both HD & 4K in a single collection - you will show 4 movies in that collection. 2 being the exact same, but usually different box art.
Author
Owner

@jellyfin-bot commented on GitHub (Oct 3, 2024):

This issue has gone 120 days without an update and will be closed within 21 days if there is no new activity. To prevent this issue from being closed, please confirm the issue has not already been fixed by providing updated examples or logs.

If you have any questions you can use one of several ways to contact us.

@jellyfin-bot commented on GitHub (Oct 3, 2024): This issue has gone 120 days without an update and will be closed within 21 days if there is no new activity. To prevent this issue from being closed, please confirm the issue has not already been fixed by providing updated examples or logs. If you have any questions you can use one of several ways to [contact us](https://jellyfin.org/contact).
Author
Owner

@jellyfin-bot commented on GitHub (Oct 24, 2024):

This issue was closed due to inactivity.

@jellyfin-bot commented on GitHub (Oct 24, 2024): This issue was closed due to inactivity.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#5803