-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not merging tv shows/movies half of the time #19
Comments
Does it have a tmdb Id? |
I was referring to the movie, click the 3 dots and select "edit metadata", there's a field called "TheMovieDb Movie Id". Both movies should have the same |
Just found another one now. I just checked and they do have the same TheMovieDb Movie id. They also have the same IMDb Id. |
This is also happening to me, I'll try to find a solution |
Any update on this? Is it possible to use something else like IMDB TVmaze if tmdb doesn't work? |
I've been working on it, I will release the new version in a day or two. |
Hi, I've just released the new version, let me know if it fixed your problem. |
The plugins depend on TMdb so if there is no id it won't be merged at all. Are the rest of the series being merged? |
I'm having this same issue lately. Do you have recommended library settings to get it working properly? I can't see anything that would prevent TMDb fields from populating, but basically nothing is being merged lately. |
Yeah, the issue never went away. Both for shows and movies. I still think if there is no TMDb number it should fallback to IMDB or TVmaze |
Having the same issue. Both movies have the same IMDb Id and the same TheMovieDb Movie Id. |
I installed this plugin a few days ago and initially it worked really well, but now I have this issue as well. I re-organized some parts of my library and added some new versions of some movies and now a lot of them aren't being merged. I've checked and they do have matching id's Edit to add: I've found a work-around is to completely remove and then re-add the affected movies, they then merged correctly. |
Could you all post the file names and structure of the movies that are not being merged? |
/mnt/disk1/movies/4K/Skyfall - 4K.mkv |
I've just tried that structure and it is merging both movies correctly, make sure both have the same TMDB ID. You can also try to split all (from the plugin menu) and merge them again |
~~I don't think I need to open a new ticket for this, but I will say that I'm slightly confused about the ideal naming scheme here. Of course Jellyfin handles movies just fine, and generally mine are named with the format [Movie Name] (Year) - 2160p.ext for a 4K file, or with 1080p in place of 2160p for a non 4K file. What is the intended naming scheme for TV shows using this plugin, as that really isn't clear to me - even from reading various issues here.~~ Turns out I was looking at a season that didn't have both versions. Well played me. What version plays by default if there's 1080p and 2160p? Assuming it's the 1080p since its name comes first? Is there anyway to force a default version via the normal Jellyfin naming conventions? |
Naming scheme is listed here https://jellyfin.org/docs/general/server/media/shows As for me, I'm using just "E01 S01 - HD.mkv" for it, and it worked just fine. Adding the show title will also work. By default the episodes are not merged into one entry and listed all. The plug merges them into one item (if no merged group exists already; needed to split and re-merge them here). What version is played by default, depends on the client and connection to the server and this independent from this plugin. Basically jellyfin should choose the best quality version the client and (internet-) connection can support. So despite your naming scheme this could be the 2160p version when you are watching on an UHD-Display using a UHD capable player. I can not test this with UHD, as I don't have a TV for it right now, but it works the same with 1080p and 480p. Usually I get the 1080p but on lower bandwidth on the go it chooses the 480p by default. There is not option to default to a version that I'm aware of. Limiting the (remote-) bandwidth is the only option I know of. |
I'm having the same issue also. Two episodes of the same show are displayed as different shows. They have the same IMDb ID and same TheMovieDb Movie Id. |
I just experienced the same issue and decided to investigate a bit. This plugin uses the jellyfin-plugin-mergeversions/Jellyfin.Plugin.MergeVersions/MergeVersionsManager.cs Line 224 in b8d2cf5
Furthermore, all duplicates in an item group have the same Now in my case there were a few episodes that had a Anyway, if you think that might be the case for you too, here's how to fix it: SELECT SeriesName, SeasonName, Name
FROM TypedBaseItems
WHERE PrimaryVersionId NOT IN (
SELECT PresentationUniqueKey
FROM TypedBaseItems
GROUP BY PresentationUniqueKey
HAVING COUNT(*) > 1
); The subquery selects all UPDATE TypedBaseItems
SET PrimaryVersionId = NULL
WHERE guid IN (
SELECT guid
FROM TypedBaseItems
WHERE PrimaryVersionId NOT IN (
SELECT PresentationUniqueKey
FROM TypedBaseItems
GROUP BY PresentationUniqueKey
HAVING COUNT(*) > 1
)
); After running the query, exit the |
So I managed to open my library and the first query, but unfortunately for me, I received no output.
@jkhsjdhjs are you sure you did write those queries correctly? @anyone_else it it work for you? |
If the first query doesn't show anything for you, then the plugin not merging your shows/movies is caused by something else. |
I noticed that for the past month or so a lot of things aren't getting merged. It seems to be random, some things are and some things aren't. I also try forcing it by going in the add-on setting and clicking on merge all moves/tv shows but still nothing.
The text was updated successfully, but these errors were encountered: