danieladov / jellyfin-plugin-mergeversions

This plugin scans all your movies and groups every repeated movie in one version
MIT License
210 stars 14 forks source link

Movies are merged but generates duplicates in Movies and Collections list #13

Open Ribero opened 3 years ago

Ribero commented 3 years ago

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
danieladov commented 3 years ago

GroupMoviesIntoCollections

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

Ribero commented 3 years ago

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

danieladov commented 3 years ago

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

danieladov commented 3 years ago

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

danieladov commented 3 years ago

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

Ribero commented 3 years ago

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

Ribero commented 3 years ago

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
Sim0nW0lf commented 2 years ago

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.

titooo7 commented 1 year ago

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

codevski commented 10 months ago

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?

Panda260 commented 2 months ago

Hey i have the same Error is there a great solution to it alls what i red is not perfekt and also does not work for me. is it still a error from the Plugin or from the above mentioned Jellyfin issue?