Skip to content
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

New movies with same title as old movies do not sync #480

Open
TheMetalCenter opened this issue Oct 31, 2019 · 19 comments
Open

New movies with same title as old movies do not sync #480

TheMetalCenter opened this issue Oct 31, 2019 · 19 comments

Comments

@TheMetalCenter
Copy link

I have noticed that some new movies added to my library do not get picked up by the trakt sync. The problem seems restricted to new movies with the same title as other movies already in the library. For example, Dumbo, Aladdin, Casino Royale, The Mummy, and so on. This wasn't an issue with the original trakt/library linking, only for new movies added after the initial sync.

These movies do have nfo files in the folder with them that have all the correct ID information, and Kodi will add them to the library correctly upon updating.

@razzeee
Copy link
Collaborator

razzeee commented Oct 31, 2019 via email

@TheMetalCenter
Copy link
Author

Sure! This was the newly added movie: https://pastebin.com/DyLN6yjk
Already had this in my library: https://pastebin.com/7taHMxXN

These nfos were generated by TinyMediaMangager

@razzeee
Copy link
Collaborator

razzeee commented Nov 1, 2019

I'm not sure when your problem show. Are you saying it only affects the initial sync or everything after that? Anyway the code is the same, not sure what the server does, but would be surprising if it goes wrong.

Would be good if you can get a logfile.

@TheMetalCenter
Copy link
Author

The initial sync worked fine when I installed the trakt app to Kodi. The issue only occurs when I add new movies to the library. Of these, movies with the same title as old ones are ignored during the sync with trakt, so I have been manually adding them to trakt collection instead. I will try to get a log file next time I encounter the issue.

@psonnosp
Copy link

I have the same problem but with series.
All movies and other series sync but not Shameless, where there's an original UK version with the same name. It has worked with out problems before but when I started to watch the new season a month ago nothing was synced and I just now realized that the whole show has been removed from my collection on trakt.
I checked to see if there was something wrong with the tvshow.nfo but it looks exactly the same as a working one as far as I can see.
Log from Kodi, first watching Shamless and then Agents of S.H.I.E.L.D. and the last one sync but not Shameless.
tvshow.nfo for Shamless

@razzeee
Copy link
Collaborator

razzeee commented Dec 26, 2019 via email

@psonnosp
Copy link

psonnosp commented Dec 26, 2019 via email

@razzeee
Copy link
Collaborator

razzeee commented Dec 27, 2019

According to mediaelch it should create an entry for uniqueid, which I can't see in the nfo file you linked. See: https://mediaelch.github.io/mediaelch-blog/posts/mediaelch-v2.6.2/

@psonnosp
Copy link

But as I said they all look the same, none of the NFOs I've created with Mediaelch has that tag so that's a bug I'll report to them.
It still doesn't explain why this show is the only one not working though.

@razzeee
Copy link
Collaborator

razzeee commented Dec 28, 2019

Well depending on the your settings we try to match by id first, which probably won't work in your case. But we fall back to matching by title. I would guess that that works for all your show, but shameless probably either has a year added to the title on trakt or something else does not line up.

@psonnosp
Copy link

I have other shows with titles that doesn't match with the title on Trakt but still sync and has a NFO looking like this one so that can't be it either.
But never mind, just thought I should mention that something wasn't working.

@psonnosp
Copy link

I have a new issue but this time with two movies just as @siteuser42

I had The Bling Ring from 2013 in my library and synced with the Trakt collection and a year later I added the 2011 one but just now noticed that it had never been added to Trakt.

Maybe it's something wrong with the NFO's this time too but they look the same and they both have the uniqueid field.

The Bling Ring 2013.txt
The Bling Ring 2011.txt

@Zaxoukos
Copy link

Hello, I have the same issue as the OP, all movies sync on initially but subsequent syncs don't pick up movies with same title as other movies already in the library.

A workaround is to remove the movies with same title from Trakt collection and resync, then the missing ones are picked.

@razzeee any chance to look into this one mate please?

Thanks

@TheMetalCenter
Copy link
Author

TheMetalCenter commented May 29, 2024 via email

@Zaxoukos
Copy link

Even though the workaround works, it's a manual process and easy get entries missed. Would be great if this worked and the whole process was automated, this is such a wonderful tool.

Just wondering if this is an issue that impacts lots of users.

Hopefully @razzeee will have a look when available and help us sort this.

@razzeee
Copy link
Collaborator

razzeee commented May 29, 2024

I did quiet some testing and this seems to be fixed by #632

razzeee added a commit that referenced this issue May 29, 2024
razzeee added a commit that referenced this issue May 29, 2024
@Zaxoukos
Copy link

@razzeee thanks for looking into this. I just tested it and still doesn't work for me ie new movies with same title get ignored and don't sync.

I am using the stock version 3.6.1 of Trakt add-on directly from the official Kodi repo.

Do I need to install an updated version of the add-on for this to work?

@razzeee
Copy link
Collaborator

razzeee commented May 30, 2024

Yes, you will need a newer version

@Zaxoukos
Copy link

I have tested it on latest version 3.7.0 and it works!
A big thanks to @TheMetalCenter for raising the issue and of course to @razzeee for sorting it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants