trakt / script.trakt

Trakt.tv movie and TV show scrobbler for Kodi
GNU General Public License v2.0
322 stars 149 forks source link

Issues with trakt now putting watched movies into database #504

Open ThatSlimGuy opened 4 years ago

ThatSlimGuy commented 4 years ago

Been having an issue where trakt will simply not put a movie or tv show as watched into trakt unless the file is watched to the very last second of the file. Even with it being set to rate the track after 75% of the file has been watched, the rating will not pop up, and will say as watched in Kodi, but not add as watched in Trakt. I have to force sync the library for them to then sync to trakt.

Is happening on my Android version and also happening on the side loaded Apple Tv version.

Does this mean it will be an issue with my trakt account or is something messed within the addons ?

razzeee commented 4 years ago

Which version are you running? Any logfile?

ThatSlimGuy commented 4 years ago

Which version are you running? Any logfile?

Currently running the latest update on AndroidTV being 18.7 for Kodi Trakt seems to be the latest at 3.2.5

But as i said above the same error is on older Krypton version which is the only option available for AppleTV atm. So it makes me feel my Trakt is the issue ?

razzeee commented 4 years ago

Can't really say. You should look at your logfile after having it fail.

ThatSlimGuy commented 4 years ago

The issue is so strange. If i skip through a file, and then let the last 1 minute play, i stop it, the prompt comes up, i can rate, but there is a huge delay until the confirmation comes up it has been successful.

But if i let a 20 minute episode play, ill stop at the last 30 seconds, and the rating never ever pops up. But, if i let the file play until the very end of the file, it will pop.

ThatSlimGuy commented 4 years ago

endlog.txt

Does any of this look wrong ?

razzeee commented 4 years ago

No, looks normal to me.

ThatSlimGuy commented 4 years ago

That file was the one that popped up fine at the end but i skipped half the file. Im currently letting an episode run now and will up that log in about 15mins. Is there any signs in that log to show why the confirmation of rating takes like 20-25 seconds ?

razzeee commented 4 years ago

That's probably due to trakt being slow. As far as I can tell.

https://trakt.docs.apiary.io/reference/scrobble/stop/stop-or-finish-watching-in-a-media-center

ThatSlimGuy commented 4 years ago

Ok give me about 10mins or so, i will see what the log does with an episode playing start to finish

ThatSlimGuy commented 4 years ago

enderro.txt Yep, did it again. Never pops up after episode. Marks episode as watched, never pops the ratings or marks as watched in trakt

ThatSlimGuy commented 4 years ago

trakt.txt is this something ?

razzeee commented 4 years ago

Yeah, but I'm not sure where that originates from.

ThatSlimGuy commented 4 years ago

This should help

ThatSlimGuy commented 4 years ago

Tried so many things and can't seem to get around it. Trying to avoid a full reinstall of everything. You have any ideas on what I could do?

razzeee commented 4 years ago

I would either let the trakt guys check your account or maybe open an issue on https://github.com/fuzeman/trakt.py/ as that's where that error originates.

ThatSlimGuy commented 4 years ago

Seems there is a lot of issues as well with RAR files again also with the new kodi update recently, i ended up just trying a full reinstall cause it was hard with the limited time i have to work on trying to fix it, and also find a consistent conversation where i could get feedback about my issue. Hoping a new install will fix it all.

ThatSlimGuy commented 4 years ago

Could you help explain what the issue you saw was or just a bit more Info about it so I can try and find a solution. It's driving me insane cause there is no real was to talk to others about helping solve the issue

razzeee commented 4 years ago

@rectifyer

His user is getting a "connection reset by peer"

rectifyer commented 4 years ago

Hmm, not exactly sure what would cause that. Could be heavy load on the API servers. @ThatSlimGuy are you running a VPN or anything similar that you can try routing around to see if that changes anything? Does your data load ok on the Trakt website?

ThatSlimGuy commented 4 years ago

Not running a vpn at all and don't have any issues with website at all. Loads fine on any device I have. Strange thing is I can let a file run until the very very end and 10 times outta 10, it will work fine no issues at all.

ThatSlimGuy commented 4 years ago

This is something super strange as well, i went out of my way to install kodi onto a new tablet, and put one episode of family guy on there, installed trakt addon, and linked my account. Played the show and with about 20 seconds to go, stopped the show, and yet again, no rating popup comes up, marks show as watched in Kodi, nothing on trakt, but it kept the file as still on 97% through on trakt as live scrobble.... Thats super odd right @rectifyer ?

onlytanmoy commented 4 years ago

The Trakt rating pop-up that comes after watching the movie/show no more comes up now :( I am using Shield TV Pro 2019 with Arctic Horizon Kodi skin. I reckon the Trakt program add-on is not working correctly. The scrobbling is handled via the video add-on being used to watch the movie/show say Seren, Shadow...so after I am done watching 85% of the content, its getting registered in Trakt history, no problem there. However the rating pop-up (handled via the Trakt addon) is not showing up at the end. I also tried one more addon developed by Razzeee, its called Context menus - Trakt- Contextmenu; also not working. I know most people find it silly to rate a movie/show, however I enjoy it, so will be great to have this fixed.

razzeee commented 4 years ago

I just tested Leia on windows and got a ratings dialog for both movie and show. While stopping each one before it reached the end.

On Sat, Jul 4, 2020, 10:22 onlytanmoy notifications@github.com wrote:

The Trakt rating pop-up that comes after watching the movie/show no more comes up now :( I am using Shield TV Pro 2019 with Arctic Horizon Kodi skin. I reckon the Trakt program add-on is not working correctly. The scrobbling is handled via the video add-on being used to watch the movie/show say Seren, Shadow...so after I am done watching 85% of the content, its getting registered in Trakt history, no problem there. However the rating pop-up (handled via the Trakt addon) is not showing up at the end. I also tried one more addon developed by Razzeee, its called Context menus - Trakt- Contextmenu; also not working. I know most people find it silly to rate a movie/show, however I enjoy it, so will be great to have this fixed.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/trakt/script.trakt/issues/504#issuecomment-653738067, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABNLEZBRWGPMJH22MUPEDSLRZ3REJANCNFSM4OKSBUXQ .

ThatSlimGuy commented 4 years ago

Can you test Android ?

onlytanmoy commented 4 years ago

@Razzeee I am not using Kodi on Windows but on Android device Shield. Can you pls check the behaviour on Android?

razzeee commented 4 years ago

I'm already on matrix on my shield and watching till the end works fine, will try to stop prematurely

onlytanmoy commented 4 years ago

I'm already on matrix on my shield and watching till the end works fine, will try to stop prematurely

I am using Kodi 18.7 Leia on my shield 🙂

razzeee commented 4 years ago

Matrix seems fine to me in that regard. There are some other things that I need to look at for matrix.

ThatSlimGuy commented 4 years ago

You saw the logs so I'm not exactly sure what the issue could be. I've tried literally everything I can think of to be able to get around the issue but it always happens

razzeee commented 4 years ago

Your also not using any DNS right?

ThatSlimGuy commented 4 years ago

100% not using DNS at all. Never had any issue viewing website on the same network on a PC or anything.

onlytanmoy commented 4 years ago

Your also not using any DNS right?

Correct, not using any DNS or VPN.

ThatSlimGuy commented 4 years ago

Your also not using any DNS right?

Can confirm still an issue. Was watching mainly tv shows but watched a movie today. Came to the end with 3 minutes to go, says on trakt website via scrobble the show is 96% in, I have the setting set to confirm rating after 90% press stop on show, sets movie as watched in Kodi, on trakt website it stays on the scrobble as if I'm still watching the movie, never comes up with rating, never allows the adding as watched to trakt at all.

Is there any chance that having the smb settings set to smbv3 or possibly having ipv6 enabled on my modem that could be causing these issues ?

razzeee commented 4 years ago

well, if we're comparing setups yes. but it shouldn't matter in reality, as smb isn't involved at all in scrobbling and ipv6 is handled by the requests lib and I would be very surprised if we found an error there.

ThatSlimGuy commented 4 years ago

well, if we're comparing setups yes. but it shouldn't matter in reality, as smb isn't involved at all in scrobbling and ipv6 is handled by the requests lib and I would be very surprised if we found an error there.

You're also on windows as well right now Android ?

razzeee commented 4 years ago

My mainsetup is android tv.

onlytanmoy commented 4 years ago

My mainsetup is android tv.

And the rating pop up shows fine there? I know it worked for me in 18.6, something probably broke in 18.7 Leia 😐

ThatSlimGuy commented 4 years ago

My mainsetup is android tv.

And the rating pop up shows fine there? I know it worked for me in 18.6, something probably broke in 18.7 Leia

The strange thing is though you have your items marking are watched on trakt still tho right ? Is that only after a library refresh? Like when you finish watching something, does anything popup saying it's now been marked as watched on trakt ?

onlytanmoy commented 4 years ago

No, I don't get any pop up saying item marked as watched in Trakt. However all my items do get registered in Trakt as watched. The only issue I am facing is the missing rating pop up dialog.

ThatSlimGuy commented 4 years ago

Have you ever checked trakt as soon as you finishing watching something to see if it shows up instantly ?

onlytanmoy commented 4 years ago

Have you ever checked trakt as soon as you finishing watching something to see if it shows up instantly ?

Yep, it shows up instantly in my Trakt history. I mostly use Seren to play movies/shows. What about you?

razzeee commented 4 years ago

Yes, rating popup shows fine for me. But I'm only using local content. So that might in fact be your problem.

onlytanmoy commented 4 years ago

Yes, rating popup shows fine for me. But I'm only using local content. So that might in fact be your problem.

Hmm..I see..can you please try playing some online content via any video add-on in Kodi and see if the rating pop up appears then?

ThatSlimGuy commented 4 years ago

Mmmm I only use local content as well. Extremely frustrating. Watched 7-8 episodes today from various shows, also 2 movies, no ratings popup ever. I can only have my items show up as watched on twitch when doing a refresh of library which then does a trakt sync after

onlytanmoy commented 4 years ago

Oh ok, me on the other hand not using any local content 🙂

ThatSlimGuy commented 4 years ago

Guessing not much movement on this issue ?

onlytanmoy commented 4 years ago

@ThatSlimGuy @Razzeee The Trakt rating pop up started appearing mysteriously now but only for TV episodes, which is great â˜ēī¸ Still no luck for movies though ☚ī¸ I checked in Mibox and Shield, same behaviour witnessed in both the devices.

ThatSlimGuy commented 4 years ago

@ThatSlimGuy @Razzeee The Trakt rating pop up started appearing mysteriously now but only for TV episodes, which is great â˜ēī¸ Still no luck for movies though ☚ī¸ I checked in Mibox and Shield, same behaviour witnessed in both the devices.

Ive been using my setup with the older versions and such installed ever since, trakt still never ever marks anything as watched, can only get it to sync by running it manually or doing a library update. Is annoying, but is only way to get it to work. Doing it with updated version will either not allow movies to be synced or added, or just won't work at all. So surprised no one else is facing these issues. Don't know where it all went bad.

onlytanmoy commented 4 years ago

I tested in Kodi 18.6. Pop-up came for TV episode but absent for movies. So Kodi 18.7 is not the problem. @Razzeee is there any way I can downgrade the current Trakt version of 3.2.5?

razzeee commented 4 years ago

@onlytanmoy you should be able to downgrade from the addon screen, when you hit the update button. But I think you need to have had an old version installed at one point for that to work. Otherwise you need to download a version from here for example.