jellyfin-plugin-mergeversions icon indicating copy to clipboard operation
jellyfin-plugin-mergeversions copied to clipboard

Movies are merged but generates duplicates in Movies and Collections list

Open Ribero opened this issue 3 years ago • 10 comments

Jellyfin : Version 10.7.0 RC3 Merge : Version 10.7.0.2

After merge launched manually I get duplicates in the Film (Movies) and Collections category. No way to remove the duplicate:

movie_dup1 movie_dup2

Ribero avatar Feb 27 '21 12:02 Ribero

GroupMoviesIntoCollections

Do you have this option enabled? If you indeed have it, try disabling it.

danieladov avatar Feb 27 '21 13:02 danieladov

Yes it's activated. If Disabled no more duplicates but then also no more collections in movie list... which is not something I want.

Ribero avatar Feb 27 '21 14:02 Ribero

It's the only solution while they fixed it, I will try to find a workaround

danieladov avatar Feb 27 '21 14:02 danieladov

For reference, this is the issue https://github.com/jellyfin/jellyfin/issues/3361

danieladov avatar Feb 27 '21 14:02 danieladov

Hi, this should be fixed in the last version of jellyfin, did you try it?

danieladov avatar Mar 29 '21 13:03 danieladov

Yes, working as expected with 10.7.1 on macOS. Thanks.

Ribero avatar Apr 04 '21 08:04 Ribero

I talked too fast. Unfortunately, if a movie is part of a collection it appears two times in the collection a a movie with 2 version in it. If you remove the duplicate in the collection, then it appears as a standalone movie (with the badge indicating that there is 2 versions) in the main movie list just alongside the collection it is part of.

Before using Merge plugin, in the main Movie list: Capture d’écran 2021-04-04 à 13 04 10 Details of the collection showing a duplicate: Capture d’écran 2021-04-04 à 13 04 27 After merging movies & collections (main movie list): Capture d’écran 2021-04-04 à 13 05 12 Details of the collection after merge: Capture d’écran 2021-04-04 à 13 05 21 After manually removing duplicate from collection (main movie list): Capture d’écran 2021-04-04 à 13 05 52

Ribero avatar Apr 04 '21 11:04 Ribero

To get multiple versions of movies and series working without having douplicates I had to do the following. Prerequesits are met like right TMDB/TVDB ids (NOTE: This is a workaround)

1. Movies

Store different versions of movies in SEPERATE directories, create seperate libraries and they will be connected as versions. Also they will be only once in every library with all versions in it so you can just hide all movie libraries exept one for all users (needs to be done for all users)

The Collections Plugin will also work perfectly this way because after hiding the other version library for all users doubled movies will not be shown in collections!

2. Series

To get series working I had to put them into the same folder. I did that by just fusing two source folders together with "mergerfs" and "fusermount". Paths need to be the same and filenames need to differ all the time so that no conflicts occur. But thats trivial, you can't name different versions the same... Finally mounting all fused series as library in jellyfin and all versions are found ONCE.

Sim0nW0lf avatar Jul 27 '22 22:07 Sim0nW0lf

I'm facing the same issue than OP. The workaround from Simon wouldn't be enough for me because although I have the movies in 5 different folders I can't create one Library for each..

I'm hoping the devs find a way toy fix it

titooo7 avatar Oct 13 '23 21:10 titooo7

c# not my strongest language but is it not possible check collection array and say use the Name and convert like a Set? That way it will / should only have 1 entry of the same === title in a collection?

codevski avatar Dec 26 '23 04:12 codevski