Content duplicated in playlist #7925

Open
opened 2025-12-22 06:31:29 +01:00 by backuprepo · 1 comment
Owner

Originally created by @ipascv on GitHub (Dec 17, 2025).

Description of the bug

Content duplicates in playlist after adding new items from a different library and change playlist image updating missing metadata.

Reproduction steps

  1. Add TV_Show_A from LIBRARY A to a new playlist. The show is listed correctly in the playlist.
  2. Add Movie_A, Movie_B, Movie_C from LIBRARY_B. Everything looks ok but the playlist image mosaic that shows 4 times the TV_Show_A picture.
  3. To correct the image behaviour, the principal playlist picture is deleted and then is issued a rebuild using Update Metadata -> Search missing Metadata. Now the picture mosaic is ok (TV show + 3 movies).
  4. Reopen the playlist and all the playlist entries now are duplicated in the same order.

What is the current bug behavior?

It seems to be a problem with rebuilding/searching metadata when (¿sql?) querying from 2 different libraries without appropiate grouping.

Removing one of the duplicated items from the playlist remove all occurrences of that item.

What is the expected correct behavior?

After updating the metadata, the playlist content elements shouldn't be duplicated.

Also removing one of the duplicated items should remove only that occurrence of the item.

Jellyfin Server version

10.11.5

Specify commit id

No response

Specify unstable release number

No response

Specify version number

No response

Specify the build version

10.11.5

Environment

- OS: Ubuntu 22.04 (LXC)
- Linux Kernel: 6.8.12-17-pve
- Virtualization: Proxmox 8.4.14 (Jellyfin LXC)
- Clients: Windows 11
- Browser: Firefox
- FFmpeg Version:
- Playback Method:
- Hardware Acceleration:
- CPU Model:
- GPU Model:
- Plugins:
- Reverse Proxy:
- Base URL:
- Networking:
- Jellyfin Data Storage & Filesystem:
- Media Storage & Filesystem:
- External Integrations:

Jellyfin logs

[2025-12-17 16:42:22.930 +01:00] [WRN] The WebRootPath was not found: "/var/lib/jellyfin/wwwroot". Static files may be unavailable.
[2025-12-17 16:52:26.534 +01:00] [WRN] The query uses a row limiting operator ('Skip'/'Take') without an 'OrderBy' operator. This may lead to unpredictable results. If the 'Distinct' operator is used after 'OrderBy', then make sure to use the 'OrderBy' operator after 'Distinct' as the ordering would otherwise get erased.

FFmpeg logs


Client / Browser logs

No response

Relevant screenshots or videos

No response

Additional information

No response

Originally created by @ipascv on GitHub (Dec 17, 2025). ### Description of the bug Content duplicates in playlist after adding new items from a different library and change playlist image updating missing metadata. ### Reproduction steps 1. Add TV_Show_A from LIBRARY A to a new playlist. The show is listed correctly in the playlist. 2. Add Movie_A, Movie_B, Movie_C from LIBRARY_B. Everything looks ok but the playlist image mosaic that shows 4 times the TV_Show_A picture. 3. To correct the image behaviour, the principal playlist picture is deleted and then is issued a rebuild using Update Metadata -> Search missing Metadata. Now the picture mosaic is ok (TV show + 3 movies). 4. Reopen the playlist and all the playlist entries now are duplicated in the same order. ### What is the current _bug_ behavior? It seems to be a problem with rebuilding/searching metadata when (¿sql?) querying from 2 different libraries without appropiate grouping. Removing one of the duplicated items from the playlist remove all occurrences of that item. ### What is the expected _correct_ behavior? After updating the metadata, the playlist content elements shouldn't be duplicated. Also removing one of the duplicated items should remove only that occurrence of the item. ### Jellyfin Server version 10.11.5 ### Specify commit id _No response_ ### Specify unstable release number _No response_ ### Specify version number _No response_ ### Specify the build version 10.11.5 ### Environment ```markdown - OS: Ubuntu 22.04 (LXC) - Linux Kernel: 6.8.12-17-pve - Virtualization: Proxmox 8.4.14 (Jellyfin LXC) - Clients: Windows 11 - Browser: Firefox - FFmpeg Version: - Playback Method: - Hardware Acceleration: - CPU Model: - GPU Model: - Plugins: - Reverse Proxy: - Base URL: - Networking: - Jellyfin Data Storage & Filesystem: - Media Storage & Filesystem: - External Integrations: ``` ### Jellyfin logs ```shell [2025-12-17 16:42:22.930 +01:00] [WRN] The WebRootPath was not found: "/var/lib/jellyfin/wwwroot". Static files may be unavailable. [2025-12-17 16:52:26.534 +01:00] [WRN] The query uses a row limiting operator ('Skip'/'Take') without an 'OrderBy' operator. This may lead to unpredictable results. If the 'Distinct' operator is used after 'OrderBy', then make sure to use the 'OrderBy' operator after 'Distinct' as the ordering would otherwise get erased. ``` ### FFmpeg logs ```shell ``` ### Client / Browser logs _No response_ ### Relevant screenshots or videos _No response_ ### Additional information _No response_
backuprepo added the
bug
label 2025-12-22 06:31:29 +01:00
Author
Owner

@Collin-Swish commented on GitHub (Dec 19, 2025):

If no one else is working on this I'd like to take a look.

@Collin-Swish commented on GitHub (Dec 19, 2025): If no one else is working on this I'd like to take a look.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: starred/jellyfin#7925
No description provided.