jellyfin icon indicating copy to clipboard operation
jellyfin copied to clipboard

Single TV show in multiple locations shows duplicate in TV shows page

Open brianjmurrell opened this issue 7 years ago • 27 comments

Describe the bug If I have multiple directories in a library and in those directories I have different episodes of the same TV show, the TV show overview screen will show duplicates of that same show.

To Reproduce

  1. Add multiple directories to a library
  2. In each of those directories, create a directory for a given show you have episodes of
  3. Distribute the episodes to each the show directories in the library
  4. Go to the TV show overview screen

Expected behavior I should see just one show icon which I can click on and will see all of the episodes from the various library directories.

System (please complete the following information):

  • OS: Fedora 29
  • Browser: Chrome
  • Jellyfin Version: 10.1.0

brianjmurrell avatar Feb 15 '19 18:02 brianjmurrell

Same issue here on all browsers and mobile app

  • OS: Ubuntu 18.04.2
  • Jellyfin Version: 10.3.3

This situation can happen if you have for example :

  • 1 folder for English version
  • 1 folder for original language version

This issue is not present on Emby (tested with Emby 4.1.1.0 & 4.2.0.5 beta) : when detecting 2 files for the same episode, Emby shows only one episode, but creates a drop-down list showing the different available versions of the episode. Since this issue is present since months, I'm wondering if it would not be better for me to go back to Emby ?

Major consequences of this bug : Let's consider I'm currently watching an "original language" version episode.

  • once each episode is finished : when clicking on "next episode", jellyfin plays the same episode ! (but the English version)
  • continue watching : does not show the correct episode (same issue as above)

rrado avatar May 20 '19 07:05 rrado

One additional information This feature has been implemented in Emby 3.6.0.51 version (02 October 2018) : https://emby.media/community/index.php?/topic/63528-36051-multi-version-episodes/

I don't know if this part of the code was still shared between Emby and Jellyfin ?

rrado avatar May 20 '19 09:05 rrado

@rrado - No, Jellyfin was based on Emby 3.5.2. Anything after that was closed off.

anthonylavado avatar May 28 '19 05:05 anthonylavado

Issues go stale after 60d of inactivity. Mark the issue as fresh by adding a comment or commit. Stale issues close after an additional 7d of inactivity. If this issue is safe to close now please do so. If you have any questions you can reach us on Matrix or Social Media.

stale[bot] avatar Jul 29 '19 20:07 stale[bot]

Still an issue.

brianjmurrell avatar Jul 30 '19 08:07 brianjmurrell

Still issue.

parkdalton avatar Sep 10 '19 23:09 parkdalton

Can anyone give me an exact directory breakdown to try and replicate this?

anthonylavado avatar Sep 11 '19 01:09 anthonylavado

I was going to but I don't seem to have this problem any more.

brianjmurrell avatar Sep 11 '19 11:09 brianjmurrell

@anthonylavado I'm still having the issue in the latest Jellyfin. Looks like this.

"\tv\scooby doo where are you!\season 01\S01E01" Then I have four different versions to the same episode in that folder and each come up as a different item.

Edit: this is a slightly different issue than the topic but the same problem essentially.

bnichs5 avatar Sep 28 '19 05:09 bnichs5

Echoing @bnichs5 's comment above.

I have:

"/tv/some show name/Season 3/some show name (2005) s01e01 some episode name/some show name (2005) s01e01 some episode name - 1080p.mp4" "/tv/some show name/Season 3/some show name (2005) s01e01 some episode name/some show name (2005) s01e01 some episode name - 720p.mp4" "/tv/some show name/Season 3/some show name (2005) s01e01 some episode name/some show name (2005) s01e01 some episode name - 480p.mp4" "/tv/some show name/Season 3/some show name (2005) s01e01 some episode name/some show name (2005) s01e01 some episode name - 360p.mp4"

But each of these come up as a separate entry in the show list.

juicetin avatar Nov 08 '19 12:11 juicetin

Jellyfin uses brackets to check for multi-version files. Something like Filename [Version] should work I think.

dkanada avatar Nov 08 '19 12:11 dkanada

Thanks for the tip @dkanada.

I gave that a go:

"/tv/some show name/Season 3/some show name (2005) s01e01 some episode name/some show name (2005) s01e01 some episode name [1080p].mp4" "/tv/some show name/Season 3/some show name (2005) s01e01 some episode name/some show name (2005) s01e01 some episode name [720p].mp4" "/tv/some show name/Season 3/some show name (2005) s01e01 some episode name/some show name (2005) s01e01 some episode name [480p].mp4" "/tv/some show name/Season 3/some show name (2005) s01e01 some episode name/some show name (2005) s01e01 some episode name [360p].mp4"

But unfortunately they still get picked up as separate episodes.

Would you happen to have this working and have some example full paths to the working files? I wonder if there's something in the full paths above that are messing with Jellyfin's version detection.

juicetin avatar Nov 11 '19 00:11 juicetin

Same issue for me for 1080p versions vs 720p in same season folder.

giejay avatar Jan 07 '20 18:01 giejay

I feel this should be a feature request, as I don't think JF ever supported that (thus it cannot be classified as "bug").

JustAMan avatar Jan 14 '20 14:01 JustAMan

IMHO, bugs are bugs. Whether they were introduced since the Emby fork or inherited from Emby is orthogonal.

Displaying duplicate shows is a bug (again, IMHO) no matter how you slice it.

brianjmurrell avatar Jan 15 '20 12:01 brianjmurrell

Same issue here with different seasons in different folders. I ran out of space in one HDD so I had to split a show, first folder has season 1 and 2, second folder has the rest of them:

/data/series/The Flash (2014)/01x01 - City of Heroes.mkv ...

/data/series_tmp/The Flash (2014)/03x01 - Flashpoint.mkv ...

Everything shows correctly, except I have two entries in the main page, each one with the corresponding seasons showing inside, mirroring the disposition in the filesystem.

Jellyfin info (showing on dashboard):

Version: 10.4.3 Operating System: Linux Architecture: X64

I'm using the linuxserver/jellyfin:latest docker image in a QNAP nas.

jcvara avatar Feb 12 '20 20:02 jcvara

Same issue here with the multiple versions of episodes. "Series_Name - S01E01 - H265.mp4" and "Series_Name - S01E01 - VP9.webm" show up like two different episodes in JellyFin.

jdinkel avatar Mar 28 '20 07:03 jdinkel

@jdinkel I would posit that what you describe is quite a bit different than what is being described in this ticket and that solving your problem should not be part of solving this ticket.

This ticket deals with completely non-overlapping duplication that can be de-duplicated without any loss or choice having to be made. Your's is clearly a case of overlapping duplication for which a different solution is needed.

I would suggest opening a new ticket for your issue.

brianjmurrell avatar Mar 28 '20 13:03 brianjmurrell

Unsure about having files in multiple folders (which is what this issue was about according to the author), but for multiple versions of media inside the same folder, look at https://github.com/jellyfin/jellyfin/issues/1996

holow29 avatar Sep 07 '20 19:09 holow29

i have the exact same problem

folder structure /media/tv/show name/season 03/show name - SXEX - title.mkv /media/tv_archive/show name/season 01/show name - SXEX - title.mkv /media/tv_archive/show name/season 02/show name - SXEX - title.mkv

will be presented as separate entities in the listing. one for S3 and another one for S1-2

nevermind, the setting was under advanced and i somehow missed it. if someone wondering it's under

admin > libraries > manage library > show advanced settings > Automatically merge series that are spread across multiple folders.

it was off by default.

arabcoders avatar Sep 30 '20 05:09 arabcoders

i have the exact same problem

folder structure /media/tv/show name/season 03/show name - SXEX - title.mkv /media/tv_archive/show name/season 01/show name - SXEX - title.mkv /media/tv_archive/show name/season 02/show name - SXEX - title.mkv

will be presented as separate entities in the listing. one for S3 and another one for S1-2

nevermind, the setting was under advanced and i somehow missed it. if someone wondering it's under

admin > libraries > manage library > show advanced settings > Automatically merge series that are spread across multiple folders.

it was off by default.

This solved my issue. Thanks ArabCoders. I'm surprised this option isn't enabled by default

dscott1 avatar Oct 25 '20 16:10 dscott1

admin > libraries > manage library > show advanced settings > Automatically merge series that are spread across multiple folders.

I do already have that set.

brianjmurrell avatar Oct 26 '20 04:10 brianjmurrell

No such option is available when library content is selected as "mixed content".

Which is sad.

sarunas-zilinskas avatar Nov 09 '20 18:11 sarunas-zilinskas

i hope im right here I have a similar problem, i had a tvshow in one folder (than i reorganized my whole tvshow folder structure) and now i have every episode of these show (happend only at one show) in jellyfin 2 times with different folder locations. The old location (not exist anymore) and the new location. clearly it cant play half of the episodes because the old location dont exist anymore but it dont remove these episodes. its really anoying

Xyz00777 avatar Dec 01 '20 10:12 Xyz00777

i hope im right here I have a similar problem, i had a tvshow in one folder (than i reorganized my whole tvshow folder structure) and now i have every episode of these show (happend only at one show) in jellyfin 2 times with different folder locations. The old location (not exist anymore) and the new location. clearly it cant play half of the episodes because the old location dont exist anymore but it dont remove these episodes. its really anoying

Juat re-scan the library. It does not have anything to do with this issue.

sarunas-zilinskas avatar Dec 02 '20 08:12 sarunas-zilinskas

I believe this issue is still present.

akashkj avatar Jul 29 '22 14:07 akashkj

Just got Jellyfin ( After getting fed up of Plex finally) and this is still an issue. I have even checked the "Automatically merge series that are spread across multiple folders." option, but the problem remains no matter how much I try to scan and rescan the library and refresh the metadata.

vpsj avatar Aug 05 '22 23:08 vpsj

This is evidently still going on. See link for image: https://imgur.com/mNORciA.jpg

18 of 19 seasons are in one location, the most recent season is in another. Like vpsj, I've selected "merge series" and its still happening.

HornheaDD avatar Jan 20 '23 23:01 HornheaDD

Happening to me too, I had enabled the ‘Automatically merge series that are spread across multiple folders’ since the beginning. Can you guys please check if the issue is happening only when the folders are in 2 diferent volumes? in my case I am using Linux and have 2 season in Hard disk 1 and the 3rd season in Hard Disk 2

Karlosll91 avatar Aug 12 '23 17:08 Karlosll91

Also adding a comment hoping this gets fixed soon :).

racemaniac avatar Nov 27 '23 07:11 racemaniac